This one's better.

Ugly that this code still exists, but...

+1

On May 13, 2010, at 10:17 PM, James Turnbull wrote:

> 
> Signed-off-by: James Turnbull <[email protected]>
> ---
> 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 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}"
> -- 
> 1.6.6.1
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Developers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/puppet-dev?hl=en.
> 


-- 
We are here on Earth to do good to others. What the others are here
for, I don't know.     -- W. H. Auden

---------------------------------------------------------------------
Luke Kanies  -|-   http://puppetlabs.com   -|-   +1(615)594-8199

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to