[Puppet Users] Using extlookup to set hostname

2012-12-28 Thread Rafi
I am using a masterless puppet 3.0 setup with EC2. Using extlookup, I intend to set a more meaningful hostname than the usual ip* and dom* names assigned by Amazon. My source csv file is setup as: publicdns,name ec2-184-73.compute-1.amazonaws.com,server-1 ec2-23-20.compute-2.amazonaws.com,serve

[Puppet Users] Accessing hiera_hash values in puppet templates

2013-08-09 Thread Rafi
I am setting up a nagios hosts definition file using ec2 data with puppet 3.2. The hiera JSON file generated looks like this: { "instances": { "prod-api-01": { "private_ip": "10.1.1.1", "public_ip": "23.1.1.1", }, "prod-api-02": { "

[Puppet Users] /usr/bin/apt-key: 8: /usr/bin/apt-key: mktemp: not found

2013-08-15 Thread Rafi
When installing stackdriver on an ubuntu 12.04 machine, I get the following error: change from notrun to 0 failed: /usr/bin/apt-key: 8: /usr/bin/apt-key: mktemp: not found Based on the instructions here on their website,