We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c47e72c commit c129edfCopy full SHA for c129edf
manifests/init.pp
@@ -209,10 +209,12 @@
209
if $::kernel == 'windows' {
210
$command_path = "${::env_windows_installdir}/bin:${::path}"
211
} else {
212
- $command_path = "/opt/puppet/bin:${::path}"
+ $command_path = "/opt/puppetlabs/puppet/bin:/opt/puppet/bin:${::path}"
213
}
214
- } else {
+ } elsif $::kernel == 'windows' {
215
$command_path = $::path
216
+ } else {
217
+ $command_path = "/opt/puppetlabs/puppet/bin:${::path}"
218
219
220
# if puppet is running as root, this exec should also run as root to allow
0 commit comments