diff options
author | James Turnbull <james@lovedthanlost.net> | 2010-05-14 11:11:05 +1000 |
---|---|---|
committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
commit | 584961a82ffbe64c04cb4a7c152f90164274ddb2 (patch) | |
tree | b2954251182b2e4fd3397560aaeab44676cd5328 | |
parent | a15a70c7cda9962e56b16ed7129bf6772f1df038 (diff) | |
download | puppet-584961a82ffbe64c04cb4a7c152f90164274ddb2.tar.gz puppet-584961a82ffbe64c04cb4a7c152f90164274ddb2.tar.xz puppet-584961a82ffbe64c04cb4a7c152f90164274ddb2.zip |
Fixed #3721 - Removed -u option from crontab on HP-UX
-rwxr-xr-x | lib/puppet/util/filetype.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/util/filetype.rb b/lib/puppet/util/filetype.rb index 8e8b8dd5c..3249810b5 100755 --- a/lib/puppet/util/filetype.rb +++ b/lib/puppet/util/filetype.rb @@ -198,7 +198,7 @@ class Puppet::Util::FileType # does not think I should be allowed to set the @path to my own user name def cmdbase cmd = nil - if @uid == Puppet::Util::SUIDManager.uid + if @uid == Puppet::Util::SUIDManager.uid || Facter.value(:operatingsystem) == "HP-UX" return "crontab" else return "crontab -u #{@path}" |