Skip to content

Commit

Permalink
Merge pull request #352 from mhaskel/pe_next_fixes
Browse files Browse the repository at this point in the history
Use AIO ruby if available
  • Loading branch information
bmjen committed Jul 16, 2015
2 parents c47e72c + c129edf commit d336ea0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,12 @@
if $::kernel == 'windows' {
$command_path = "${::env_windows_installdir}/bin:${::path}"
} else {
$command_path = "/opt/puppet/bin:${::path}"
$command_path = "/opt/puppetlabs/puppet/bin:/opt/puppet/bin:${::path}"
}
} else {
} elsif $::kernel == 'windows' {
$command_path = $::path
} else {
$command_path = "/opt/puppetlabs/puppet/bin:${::path}"
}

# if puppet is running as root, this exec should also run as root to allow
Expand Down

0 comments on commit d336ea0

Please sign in to comment.