Richard Crowley wrote:
> On Thu, Jul 29, 2010 at 3:23 PM, Greg Graf <greg.g...@rackspace.com> wrote:
>> Hello,
>>
>> We're running 2.6 on Ubuntu 10.04 and here's what I'm seeing (simplified 
>> test):
>>
>> class cdtest {
>>  exec {'cdtest': command => 'cd' }
>> }
>>
>> # puppet agent --test
>> info: Caching catalog for servername
>> info: Applying configuration version '1280441519'
>> err: /Stage[main]/Cdtest/Exec[cdtest]/returns: change from notrun to 0 
>> failed: Could not find command 'cd'
>> notice: Finished catalog run in 0.65 seconds
>> #
>>
>> Any ideas on why this is failing? I am running into this with rvm as well 
>> (since it is a function and not a binary).
> 
> I saw the same thing happen with a few for-loops and had to wrap them
> up in /bin/sh -c '...' for 2.6.  Now that I look for it, I can't find
> anything about this behavior change in the release notes for 2.6.  Was
> it coincidental that it ever worked?
> 

See:

http://projects.puppetlabs.com/issues/4288
http://projects.puppetlabs.com/issues/4299

For some history and comments on this.  We'd welcome some input into
what you think should be safe and expected behaviour here.

Cheers

James Turnbull

-- 
Puppet Labs - http://www.puppetlabs.com
C: 503-734-8571

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to