Hi,
I am trying to bootstrap a new agent from my master node as below.
puppet node_aws bootstrap \
--region us-east-1 \
--image ami-cc5af9a5 \
--login root \
--keyfile /root/.ssh/private.pem \
--install-script=puppet-enterprise \
--installer-payload=/usr/local/puppet/puppet-2.7.0.tar.gz \
--inst
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 w
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 Mon
On Sun, Sep 30, 2012 at 2:22 PM, Ignasi López 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
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*
On Sunday, September 30, 2012 11:16:56 PM UTC+2, Ignasi López wrote:
>
> I can't run the command with sudo:
>
> sudo puppet help node_aws
>
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!
On Sunday, September 30, 2012 10:06:26 PM UTC+2, Clarence Beeks wrote:
>
> On Sun, Sep 30, 2012 at 1:0
On Sun, Sep 30, 2012 at 1:02 PM, Ignasi López 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 --deb
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 get this error:
*notice: Sign