Re: [Puppet Users] err: Signing certificate error

213 views
Skip to first unread message

Clarence Beeks

unread,
Sep 30, 2012, 4:05:34 PM9/30/12
to puppet...@googlegroups.com
On Sun, Sep 30, 2012 at 1:02 PM, Ignasi López <ignasi...@mmip.es> wrote:
Hi all,

When i try to boot an ec2 instance using:

puppet node_aws bootstrap --server myserverOnAWS.com --image ami-61ad0108 --keyname test-malcom --login ubuntu --type m1.small --keyfile test-malcom.pem -g puppets --verbose --debug --puppetagent-certname test


I can't prove it but I think you're forgetting to "sudo" puppet

run the command again with sudo?  or do it as root


Ignasi López

unread,
Sep 30, 2012, 5:16:56 PM9/30/12
to puppet...@googlegroups.com
I can't run the command with sudo:

sudo puppet help node_aws
err: no such file to load -- puppet/face/node/install
err: Try 'puppet help help help' for usage

It's permission problem???

Thanks!

Ignasi López

unread,
Sep 30, 2012, 5:22:05 PM9/30/12
to puppet...@googlegroups.com
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

Clarence Beeks

unread,
Sep 30, 2012, 6:37:42 PM9/30/12
to puppet...@googlegroups.com
On Sun, Sep 30, 2012 at 2:22 PM, Ignasi López <ignasi...@mmip.es> 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?

Ignasi López

unread,
Oct 1, 2012, 2:00:48 AM10/1/12
to puppet...@googlegroups.com
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...

jblaine

unread,
Dec 13, 2012, 11:57:53 AM12/13/12
to puppet...@googlegroups.com
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 ...
Reply all
Reply to author
Forward
0 new messages