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
3. creating the fog file 
https://docs.puppetlabs.com/pe/latest/cloudprovisioner_configuring.htm 
<https://docs.puppetlabs.com/pe/latest/cloudprovisioner_configuring.html>l
4. gem install guid
5. apt-get install ruby-fog  (didn't need gem install fog)


On Monday, February 2, 2015 at 12:59:48 PM UTC, Helen Paterson wrote:
>
> 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)
>
>
> On Thursday, January 22, 2015 at 11:16:46 PM UTC, Matthaus Litteken wrote:
>>
>> 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. 
>>
>> On Thu, Jan 22, 2015 at 5:20 AM, Helen Paterson 
>> <[email protected]> wrote: 
>> > 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 
>> > 
>> > -- 
>> > 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 [email protected]. 
>> > 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%! 
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/bedbc733-3ff5-4262-9794-320743f3fabb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to