[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

test branch puppet-dev at googlegroups.com
Wed Jul 14 10:33:34 UTC 2010


The following commit has been merged in the upstream branch:
commit 584961a82ffbe64c04cb4a7c152f90164274ddb2
Author: James Turnbull <james at lovedthanlost.net>
Date:   Fri May 14 11:11:05 2010 +1000

    Fixed #3721 - Removed -u option from crontab on HP-UX

diff --git a/lib/puppet/util/filetype.rb b/lib/puppet/util/filetype.rb
index 8e8b8dd..3249810 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}"

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list