Your problem is that you are not propogating the RUBYLIB environment 
variable (for the cloud provisioner) when you run sudo as you are.

Use: sudo RUBYLIB=$RUBYLIB puppet node_aws ...

On Monday, October 1, 2012 2:00:48 AM UTC-4, Ignasi López wrote:
>
> 2.7.19 
> It's weird but, i can use puppet without sudo, in fact, the initial 
> problem appears without sudo. If i try run puppet as a root in order to 
> sign, list o revoke certificates there aren't any problem. But if i try run 
> puppet to launch an instance with root, i get the last error...
>
>
> On Monday, October 1, 2012 12:37:50 AM UTC+2, Clarence Beeks wrote:
>>
>> On Sun, Sep 30, 2012 at 2:22 PM, Ignasi López <[email protected]> wrote:
>>
>>> in fact i can't use puppet as a root:
>>>
>>> *sudo puppet help*
>>> *err: no such file to load -- puppet/face/node/install*
>>> *err: Try 'puppet help help help' for usage*
>>>
>>>
>> First step is seeing if puppet will run for you.  Puppet runs as root or 
>> you need to sudo and run it.
>>
>> What version of puppet are you running?
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/lSPlgiA7U4gJ.
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-users?hl=en.

Reply via email to