[Puppet Users] theforeman & puppetlabs

2013-08-15 Thread AlanC
Does puppetlabs have modules to help provision for Amazon Ec2 instances within VPC / outside VPC? Any recommendations ? I would like to launch an instance based on an AMI image. This instance should have multiple IP addresses attached to it. I would like to do this using theforeman. Also,

[Puppet Users] Fwd: [pe-users] trouble installing open source puppet client

2013-08-15 Thread Stuart Cracraft
Redirected - need help. Please review and give me your collective thoughts. Encountering headwinds when trying to install Open Source Puppet *client*. The Puppet master and its client work fine and I don't see a lot of differences to dig into. If you need more information than what I give in t

Re: [Puppet Users] Possible for each user to have their own testing environment?

2013-08-15 Thread John Warburton
On 16 August 2013 00:14, Sandra Schlichting wrote: > Hello all =) > > What I would like is a way so multiple people can make changes to all > files in /etc/puppet/, but only after they have tested their changes then > they "git push" so /etc/puppet is updated. The git repo is in /etc/puppet. > Whe

Re: [Puppet Users] Re: Installing Puppet 3 client on a Raspberry Pi

2013-08-15 Thread Brian Lalor
What about installing via a gem? -- Brian Lalor bla...@bravo5.org On Aug 15, 2013, at 5:51 PM, Ellison Marks wrote: > There's nothing prebuilt in the official repo for the arm processor in the > raspi, I'd guess. You're probably going to have to build from source, unless > someone else has al

[Puppet Users] Re: Installing Puppet 3 client on a Raspberry Pi

2013-08-15 Thread Ellison Marks
There's nothing prebuilt in the official repo for the arm processor in the raspi, I'd guess. You're probably going to have to build from source, unless someone else has already made a package. On Thursday, August 15, 2013 8:36:47 AM UTC-7, Alastair Montgomery wrote: > > I'm trying to install the

[Puppet Users] Re: Announce: Puppet 2.7.23 Available [ Security Release ]

2013-08-15 Thread Phips
OpenCSW packages available for test at http://buildfarm.opencsw.org/experimental.html#markp Once somebody tells me they're good I'll push them to the main catalog. On Thursday, 15 August 2013 17:10:43 UTC+1, Matthaus Litteken wrote: > > Puppet 2.7.23 is now available. 2.7.23 addresses two securi

[Puppet Users] Re: Announce: Puppet 3.2.4 Available [ Security Release ]

2013-08-15 Thread Phips
OpenCSW packages available for test at http://buildfarm.opencsw.org/experimental.html#markp Once somebody tells me they're good I'll push them to the main catalog. On Thursday, 15 August 2013 17:10:50 UTC+1, Matthaus Litteken wrote: > > Puppet 3.2.4 is now available. 3.2.4 addresses two security

[Puppet Users] Re: Puppet: chaining and conditionals

2013-08-15 Thread Ellison Marks
perhaps something like this? node nodename1, nodename2, nodename3, nodename4 { class { "class1": } if $fqdn == "nodename2" { Class["class1"] -> class { "class2": } -> class{ "class3" } } else { Class["class1"] -> class { "class3": } } Class["class3"] -> class

[Puppet Users] Re: firewall chains?

2013-08-15 Thread Thomas
I think I was able to define what is needed with the following. However, log_level is not appearing in /etc/sysconfig/iptables. I'm using Puppet 3.2.2-1 on RHEL 6.4 Here's my manifest code in case anybody is interested. firewallchain { 'LOGGING:filter:IPv4': ensure => pr

[Puppet Users] firewall chains?

2013-08-15 Thread Thomas
I'm having trouble figuring out how to get the puppetlabs firewall module to place the following into /etc/sysconfig/iptables: -N LOGGING -A LOGGING -m limit --limit 2/min -j LOG --log-level 4 --log-prefix "IPTables Dropped Packet:" -A LOGGING -j DROP -A INPUT -j LOGGING This is the first time

Re: [Puppet Users] Puppet: chaining and conditionals

2013-08-15 Thread Peter Bukowinski
If you don't mind a hacky workaround, you can accomplish this with the help of an empty class: node nodename1, nodename2, nodename3, nodename4 { if $fqdn == "nodename2" { $class2 = "class2" } else { $class2 = "null_class" } class { "class1": } -> class { "$clas

Re: [Puppet Users] Puppet: chaining and conditionals

2013-08-15 Thread Sergey Arlashin
Thank you for your reply. This looks nice only if I have 4 classes. That was just an example. In reality I have a huge number of classes assigned to this group of nodes. So I want to avoid (if it is possible of course) declaring classes twice. On Aug 15, 2013, at 9:27 PM, Arthur Furlan w

Re: [Puppet Users] Puppet: chaining and conditionals

2013-08-15 Thread Arthur Furlan
Have you tried putting all the classes in the conditional? node nodename1, nodename2, nodename3, nodename4 { if $fqdn == "nodename2" { class { "class1": } -> class { "class2": } -> class { "class3": } -> class { "class4": } } else { class { "class1": } ->

Re: [Puppet Users] Puppet: chaining and conditionals

2013-08-15 Thread Dan White
Here's one way: node nodename1, nodename3, nodename4 { class { "class1": } -> class { "class3": } -> class { "class4": } } node nodename2 { class { "class1": } -> class { "class2": } -> class { "class3": } -> class { "class4": } } “Sometimes I think the surest sign that in

Re: [Puppet Users] Possible for each user to have their own testing environment?

2013-08-15 Thread Brian Mathis
Environments is definitely the way to handle this. Typically you would set up environments under /etc/puppet/environments/sandra and have all your code in there. Is the issue that you prefer that developers do not have code in /etc/puppet/environments? If you look at the puppet.conf in the link

[Puppet Users] Puppet: chaining and conditionals

2013-08-15 Thread Sergey Arlashin
Hi! I'm using the following way to define the order and assign classes to nodes: node nodename1, nodename2, nodename3, nodename4 { class { "class1": } -> class { "class2": } -> class { "class3": } -> class { "class4": } } I'm fully delighted with it. But at the moment I need class

[Puppet Users] Announce: Puppet 3.2.4 Available [ Security Release ]

2013-08-15 Thread Matthaus Owens
Puppet 3.2.4 is now available. 3.2.4 addresses two security vulnerabilties discovered in the 3.x series of Puppet. These vulnerabilities have been assigned Mitre CVE numbers CVE-2013-4956 and CVE-2013-4761. All users of Puppet 3.2.3 and earlier are strongly encouraged to upgrade to 3.2.4. For mor

[Puppet Users] Announce: Puppet Enterprise 2.8.3 Available [ Security Release ]

2013-08-15 Thread Matthaus Owens
Dear Puppet Enterprise Users, Puppet Enterprise 2.8.3 is now available. This is a security release of Puppet Enterprise. All users of Puppet Enterprise are strongly encouraged to upgrade when possible to Puppet Enterprise 2.8.3. Puppet Enterprise 2.8.3 includes fixes to address CVE-2013-4073, CV

[Puppet Users] Announce: Puppet 2.7.23 Available [ Security Release ]

2013-08-15 Thread Matthaus Owens
Puppet 2.7.23 is now available. 2.7.23 addresses two security vulnerabilties discovered in the 2.7.x series of Puppet. These vulnerabilities have been assigned Mitre CVE numbers CVE-2013-4956 and CVE-2013-4761. All users of Puppet 2.7.22 and earlier who cannot upgrade to the current version of Pup

[Puppet Users] Announce: Puppet Enterprise 3.0.1 Available [ Security Release ]

2013-08-15 Thread Matthaus Owens
Dear Puppet Enterprise Users, Puppet Enterprise 3.0.1 is now available. Puppet Enterprise version 3.0.1 is a security and maintenance release. All users of Puppet Enterprise are strongly encouraged to upgrade when possible to Puppet Enterprise 3.0.1. Specifically, the 3.0.1 release includes the

[Puppet Users] Installing Puppet 3 client on a Raspberry Pi

2013-08-15 Thread Alastair Montgomery
I'm trying to install the latest Puppet client on my Raspberry PI but I am getting the following errors; wget http://apt.puppetlabs.com/puppetlabs-release-wheezy.deb sudo dpkg -i puppetlabs-release-wheezy.deb sudo apt-get update W: Failed to fetch http://apt.puppetlabs.com/dists/wheezy/Release U

[Puppet Users] Rspec, Puppet Custom Functions and Mocking..

2013-08-15 Thread Matt W
Hey, I could use some advice here. We've had a puppet module out for a while (https://github.com/Nextdoor/puppet_thycotic) that provides us a way to retrieve private keys, passwords, etc from Thycotic's SecretServerOnline.com service. This module was written in a hurry almost 2 years ago and ha

[Puppet Users] Re: Collector not realizing own exported resources when filtering on tags

2013-08-15 Thread Chuck Bredestege
You were right about the require overrides, I moved those into the exported sources instead (looks cleaner that way anyway) and adding 2 collector lines, one for "everyone else" and one "for myself" worked as you suggested, thanks. On Wednesday, August 14, 2013 1:07:50 PM UTC-4, jcbollinger wro

[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,

Re: [Puppet Users] Re: Problem with variable scope in Defined Types

2013-08-15 Thread jcbollinger
On Wednesday, August 14, 2013 6:39:05 PM UTC-5, Ygor wrote: [...] > One thing I found about the ssh_authorized_key type is that is does not > work with : > resource { ‘ssh_authorized_key’: purge => true, } > so I have to explicitly un-manage the keys > > Yes, purging via the Resources meta-res

[Puppet Users] Possible for each user to have their own testing environment?

2013-08-15 Thread Sandra Schlichting
Hello all =) What I would like is a way so multiple people can make changes to all files in /etc/puppet/, but only after they have tested their changes then they "git push" so /etc/puppet is updated. The git repo is in /etc/puppet. When I read about environments [1] I get the impression that is

[Puppet Users] Re: Replace file based on content

2013-08-15 Thread jcbollinger
On Wednesday, August 14, 2013 8:23:47 AM UTC-5, redalert@gmail.com wrote: > > Hi, > > I wanted to know if there is an easy way to replace a file in puppet > (using the file directive) but only when a certain string exists. > > My use case: > I have a package that installs a config file, I w