summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlib/puppet/util/filetype.rb2
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}"