Slackbot
12/20/2023, 2:26 PMcsharpsteen
12/20/2023, 2:32 PMbastelfreak
12/20/2023, 2:33 PMcsharpsteen
12/20/2023, 2:35 PMpuppet-agent
package on Windows though.bastelfreak
12/20/2023, 2:36 PMbastelfreak
12/20/2023, 2:36 PMWX318
12/20/2023, 2:37 PMC:\Users\chengkai.liang>puppet --version
6.17.0
bastelfreak
12/20/2023, 2:38 PMWX318
12/20/2023, 2:38 PMbastelfreak
12/20/2023, 2:38 PMbastelfreak
12/20/2023, 2:38 PMWX318
12/20/2023, 2:39 PMbastelfreak
12/20/2023, 2:39 PMWX318
12/20/2023, 2:39 PMbastelfreak
12/20/2023, 2:40 PMWX318
12/20/2023, 2:40 PMbastelfreak
12/20/2023, 2:42 PMWX318
12/20/2023, 3:29 PMbastelfreak
12/20/2023, 3:41 PMcsharpsteen
12/20/2023, 3:46 PMpuppet-agent
installers are not re-targetable. They will expect to use use /opt/puppetlabs
or %SystemDrive%\Program Files
.WX318
12/20/2023, 3:47 PMWX318
12/20/2023, 3:48 PMcsharpsteen
12/20/2023, 3:48 PMpuppet-agent
installers are not re-targetable.WX318
12/20/2023, 3:49 PMcsharpsteen
12/20/2023, 3:51 PMINSTALLDIR
MSI property that can be used on Windows:
https://www.puppet.com/docs/pe/2023.5/installing_windows_agents#msi_properties
But. Install location is something that I highly recommend not customizing even if there is an option to do so as it always exacts more cost in unexpected broken behavior than it provides in benefit. The inability of the current installation to find libfacter
during Bolt execution absolutely could be a result of using a non-standard install location.WX318
12/20/2023, 3:53 PMWX318
12/20/2023, 3:53 PMWX318
12/20/2023, 4:35 PMString]$install_options = 'REINSTALLMODE="amus"',
can be use to direct install location. By the way, what does amus
means. what would this be when target is windows node?csharpsteen
12/20/2023, 4:41 PMREINSTALLMODE
has no effect on install location. The only difference in the mode string is the a
flag which re-installs all files in the package vs. the MSI default of o
which only re-installs files that are missing or at an older version.WX318
12/20/2023, 4:48 PM