Skip to content

Commit 8b1cc3b

Browse files
authored
Merge pull request #204 from OpenVoxProject/fix_windows
Fix windows builds
2 parents dc21f78 + 8670736 commit 8b1cc3b

13 files changed

Lines changed: 11 additions & 16 deletions

openbolt.gemspec

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ Gem::Specification.new do |spec|
5353
spec.add_dependency "jwt", "~> 2.2"
5454
spec.add_dependency "logging", "~> 2.2"
5555
spec.add_dependency "minitar", ">= 0.6", "< 2.0"
56-
spec.add_dependency "net-ftp", ">= 0.3", "< 0.4"
5756
spec.add_dependency "net-scp", ">= 1.2", "< 5.0"
5857
spec.add_dependency "net-ssh", ">= 4.0", "< 8.0"
5958
spec.add_dependency "net-ssh-krb", "~> 0.5"
@@ -63,13 +62,9 @@ Gem::Specification.new do |spec|
6362
spec.add_dependency "puppet-resource_api", ">= 1.8.1"
6463
spec.add_dependency "r10k", ">= 3.10", "< 6"
6564
spec.add_dependency "ruby_smb", "~> 1.0"
66-
spec.add_dependency "syslog", "~> 0.1"
6765
spec.add_dependency "terminal-table", "~> 4.0"
6866
spec.add_dependency "winrm", "~> 2.0"
6967
spec.add_dependency "winrm-fs", "~> 1.3"
70-
if Gem.win_platform?
71-
spec.add_dependency "win32ole", ">= 1.9"
72-
end
7368

7469
spec.add_development_dependency "bundler", ">= 1.14"
7570
spec.add_development_dependency "octokit", ">= 4.0", "< 9"

packaging/configs/projects/openbolt.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
ManualLink: "https://puppet.com/docs/bolt/",
4545
})
4646
proj.setting(:LicenseRTF, "wix/license/LICENSE.rtf")
47-
proj.setting(:install_root, File.join("C:", proj.base_dir, proj.pl_company_id, proj.product_id))
47+
proj.setting(:install_root, File.join("C:", proj.base_dir, proj.pl_company_id, proj.pl_product_id))
4848
proj.setting(:link_bindir, File.join(proj.install_root, "bin"))
4949

5050
File.join(proj.datadir.sub(%r{^.*:/}, ''), 'PowerShell', 'Modules')

packaging/resources/windows/wix/powershell.wxs.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version='1.0' encoding='windows-1252'?>
22
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
3-
<!-- Puppet Bolt Powershell Module -->
3+
<!-- OpenBolt Powershell Module -->
44
<Fragment>
55
<ComponentGroup Id="PowerShellModuleComponentGroup">
66
<Component

packaging/resources/windows/wix/properties.wxs.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<!-- This text is placed as a literal string in the GUI -->
2727
<Property
2828
Id="WIXUI_EXITDIALOGOPTIONALTEXT"
29-
Value="Puppet Bolt has been installed." />
29+
Value="OpenBolt has been installed." />
3030

3131
<!--
3232
Remembered Property Pattern
@@ -37,7 +37,7 @@
3737
<RegistrySearch
3838
Id="RecallInstallDir"
3939
Root="HKLM"
40-
Key="SOFTWARE\<%= settings[:pl_company_name] %>\<%= settings[:product_id] %>"
40+
Key="SOFTWARE\<%= settings[:pl_company_name] %>\<%= settings[:pl_product_id] %>"
4141
Name="RememberedInstallDir"
4242
Type="raw"
4343
Win64="yes" />

packaging/resources/windows/wix/registryEntries.wxs.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version='1.0' encoding='windows-1252'?>
22
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
33
<!--
4-
Puppet Bolt Specific Registry Entries
4+
OpenBolt Specific Registry Entries
55
This overrides the generic file in the vanagon directory
66
-->
77
<Fragment>
@@ -13,7 +13,7 @@
1313

1414
<RegistryKey
1515
Root="HKLM"
16-
Key="SOFTWARE\<%= settings[:pl_company_name] %>\<%= settings[:product_id] %>">
16+
Key="SOFTWARE\<%= settings[:pl_company_name] %>\<%= settings[:pl_product_id] %>">
1717
<!-- This is the default (aka 'unnamed') key value of this path -->
1818
<RegistryValue
1919
Type="integer"
@@ -36,7 +36,7 @@
3636

3737
<RegistryKey
3838
Root="HKLM"
39-
Key="SOFTWARE\<%= settings[:pl_company_name] %>\<%= settings[:product_id] %>"
39+
Key="SOFTWARE\<%= settings[:pl_company_name] %>\<%= settings[:pl_product_id] %>"
4040
ForceCreateOnInstall="yes" >
4141

4242
<RegistryValue

packaging/resources/windows/wix/shortcuts.wxs.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
On="uninstall"/>
3939
<RegistryValue
4040
Root="HKCU"
41-
Key="SOFTWARE\<%= settings[:pl_company_name] %>\<%= settings[:product_id] %>\Documentation"
41+
Key="SOFTWARE\<%= settings[:pl_company_name] %>\<%= settings[:pl_product_id] %>\Documentation"
4242
Name="installed"
4343
Value="1"
4444
Type="integer"

packaging/resources/windows/wix/ui/PuppetBoltInstallDirDlg.wxs renamed to packaging/resources/windows/wix/ui/OpenBoltInstallDirDlg.wxs

File renamed without changes.

packaging/resources/windows/wix/ui/PuppetBoltLicenseAgreementDlg.wxs.erb renamed to packaging/resources/windows/wix/ui/OpenBoltLicenseAgreementDlg.wxs.erb

File renamed without changes.

packaging/resources/windows/wix/ui/PuppetBoltWarningDlg.wxs renamed to packaging/resources/windows/wix/ui/OpenBoltWarningDlg.wxs

File renamed without changes.

packaging/resources/windows/wix/ui/PuppetBoltWelcomeDlg.wxs renamed to packaging/resources/windows/wix/ui/OpenBoltWelcomeDlg.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</Dialog>
4242

4343
<InstallUISequence>
44-
<Show Dialog="PuppetBoltWelcomeDlg" Before="ProgressDlg" Overridable="yes">NOT Installed OR PATCH</Show>
44+
<Show Dialog="OpenBoltWelcomeDlg" Before="ProgressDlg" Overridable="yes">NOT Installed OR PATCH</Show>
4545
</InstallUISequence>
4646
</UI>
4747
</Fragment>

0 commit comments

Comments
 (0)