~$ sudo puppet node_aws list
Error: undefined method `reject' for #<Symbol:0x00000001c1df0e>Error: Try 'puppet help node_aws list' for usage
:default::aws_access_key_id:MYKEY:aws_secret_access_key:MYSECRETKEY
Hello,I am attempting to manage EC2 instances using Puppet's node_aws but everytime I run~$ sudo puppet node_aws listI get the following responseError: undefined method `reject' for #<Symbol:0x00000001c1df0e>Error: Try 'puppet help node_aws list' for usageI have installed Puppet Enterprise Master 3.3.1 on an AWS EC2 Ubuntu 12.04 x64 instance in the ap-southeast-2 region (following the instructions in the first video here to produce an installation answer file)I have also installed Ruby 2.0.0p353, Gem version: 2.1.11 and run the Cloud Provisioner install as outlined here.
I also configured my ~/.fog file:default::aws_access_key_id:MYKEY:aws_secret_access_key:MYSECRETKEYI successfully ran sudo puppet agent -t on the server to have its agent check and appear in the console.Any help would be greatly appreciated.Col
--
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/f5ef9764-a003-433f-b037-79d1d82442cb%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
wget https://s3.amazonaws.com/pe-builds/released/3.1.1/puppet-enterprise-3.1.1-ubuntu-12.04-amd64.tar.gz
tar -xzf puppet-enterprise-3.1.1-ubuntu-12.04-amd64.tar.gz
cd puppet-enterprise-3.1.1-ubuntu-12.04-amd64/
Add fog file
vim ~/.fog
:default:
:aws_access_key_id:mykey
:aws_secret_access_key:mysecretkey
Add swap space for AWS micro instance
sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
sudo /sbin/mkswap /var/swap.1
sudo /sbin/swapon /var/swap.1
Add AWS internal hostname to hosts file
sudo vim /etc/hosts
127.0.0.1 ip-172-31-15-16
sudo shutdown -r now
sudo puppet agent -t
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Error 400 on SERVER: Could not retrieve facts for ec2-54-206-53-139.ap-southeast-2.compute.amazonaws.com: Failed to find facts from PuppetDB at ec2-54-206-53-139.ap-southeast-2.compute.amazonaws.com:8081: Connection refused - connect(2)
sudo puppet node_aws list
Error: undefined method `reject' for #<Symbol:0x00000001c1e70e>
Error: Try 'puppet help node_aws list' for usage