puppet cloud provisioner - without enterprise -Error: Unknown Puppet subcommand 'node_aws'

379 views
Skip to first unread message

Helen Paterson

unread,
Jan 22, 2015, 8:20:11 AM1/22/15
to puppet...@googlegroups.com

Hi,

 

 

Has anyone had any luck getting the puppet cloud provisioner without the Puppet enterprise ( open source)  ?

 

 

1. installed puppet module install puppetlabs-cloud_provisioner   (from the forge)

2. sudo apt-get install ruby1.9.3 rubygems1.9.1

   sudo ln -sf /usr/bin/ruby1.9.3 /usr/bin/ruby

    ( as on on ubuntu 10 and ruby 1.8)

3.  gem install guid

4. gem install fog



with the error 

     ERROR: Error installing fog:
                     mime-types requires Ruby version >= 1.9.2. 

 

   (even though the ruby version is no 1.9.3)

 

5. touch ~/.fog

 

The error I get all along is

     Error: Unknown Puppet subcommand 'node_vmware'

     Error: Unknown Puppet subcommand 'node_aws'


Regards 


Helen

Matthaus Owens

unread,
Jan 22, 2015, 6:16:46 PM1/22/15
to Puppet Users
Helen,

What does `head -n1 /usr/bin/gem` show? Gem may be running
/usr/bin/ruby1.8 under the hood, which would explain the ruby version
error you're seeing.
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/06dc8a2a-9585-425a-88e3-4a6c8f65e988%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Matthaus Owens
Puppet Labs

Join us at PuppetConf 2015, October 5-9 in Portland, OR -
http://2015.puppetconf.com.
Register early to save 40%!

Helen Paterson

unread,
Feb 2, 2015, 7:59:48 AM2/2/15
to puppet...@googlegroups.com
Hi,

I upgrade to ubuntu 14 to resolve the ruby error and then managed to install fog , but i still cannot connect to AWS

Error: Could not autoload puppet/face/node_aws/create: cannot load such file -- fog
Error: Could not parse application options: Could not autoload puppet/face/node_aws/create: cannot load such file -- fog


gem versions 


bigdecimal (1.2.4)
builder (3.2.2)
excon (0.44.0)
fog-core (1.28.0)
fog-json (1.0.0)
formatador (0.2.5)
guid (0.1.1)
hash-deep-merge (0.1.1)
io-console (0.4.2)
json (1.8.1)
mime-types (2.4.3)
mini_portile (0.6.2)
minitest (4.7.5)
multi_json (1.10.1)
net-scp (1.2.1)
net-ssh (2.9.3.beta1)
psych (2.0.5)
rack (1.5.2)
rake (10.1.0)
rdoc (4.1.0)
ruby-shadow (2.3.4)
test-unit (2.1.2.0)

Helen Paterson

unread,
Feb 2, 2015, 11:01:01 AM2/2/15
to puppet...@googlegroups.com
I manage to get the puppet cloud provisioner working for AWS by:

1. Using ubuntu 14
2. Down loading the module from the forge https://forge.puppetlabs.com/puppetlabs/cloud_provisioner
4. gem install guid
5. apt-get install ruby-fog  (didn't need gem install fog)
Reply all
Reply to author
Forward
0 new messages