Re: [Puppet Users] Re: Multiple runs needed to update configs?

2012-02-26 Thread Mike Knell
On Mon, Feb 27, 2012 at 1:51 AM, paulS wrote: > Hi Markus, > > I'm pretty new, too, I struggled with the same error just today. > Here's how I resolved it. > > The error message 'Could not find class' sometimes occurs when puppet > doesn't like the contents of the class. The difference for me is

[Puppet Users] Re: Multiple runs needed to update configs?

2012-02-26 Thread paulS
Hi Markus, I'm pretty new, too, I struggled with the same error just today. Here's how I resolved it. The error message 'Could not find class' sometimes occurs when puppet doesn't like the contents of the class. Start with the simplest possible class, and see if puppet finds it. Something like:

Re: [Puppet Users] Managing community modules.

2012-02-26 Thread William Van Hevelingen
Hi Jon, On 02/26/2012 10:17 AM, Jonathan Proulx wrote: > Hi All, > > I'm building out my first puppet install and obviously want to > leverage modules from the forge. Since I'm using git as the VCS for > my puppet configs and most community modules are hosted on github it > seems the obvious thin

Re: [Puppet Users] Re: Change user password only on systems where they exist

2012-02-26 Thread Romeo Theriault
On Sun, Feb 26, 2012 at 05:05, bel wrote: > You might want to change the regex used in the grep line to: > > '^${user}:' # Adding the colon > > This would prevent false-positives when, for e.g., you are looking for > user "joe" in a system where it doesn't exist but "joep" does. Thanks! Good poin

Re: [Puppet Users] Managing community modules.

2012-02-26 Thread Brian Troutwine
On Sun, Feb 26, 2012 at 2:18 PM, Jonathan Proulx wrote: > On Sun, Feb 26, 2012 at 1:54 PM, Brian Troutwine wrote: >> I'm a big fan of using read-only submodules, usually to the upstream >> project but sometimes to my own fork. The use of submodules makes >> getting changes in from upstream trivia

Re: [Puppet Users] Managing community modules.

2012-02-26 Thread Jonathan Proulx
On Sun, Feb 26, 2012 at 1:54 PM, Brian Troutwine wrote: > I'm a big fan of using read-only submodules, usually to the upstream > project but sometimes to my own fork. The use of submodules makes > getting changes in from upstream trivial I agree that github is where it's at. On of the things I l

[Puppet Users] Re: Autoloading issue when adding type to existing module

2012-02-26 Thread olizilla
And of course the vital statistics of the opponent are: operatingsystem=> Debian operatingsystemrelease => 6.0.3 puppetversion => 2.6.2 rubyversion=> 1.8.7 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view thi

[Puppet Users] Autoloading issue when adding type to existing module

2012-02-26 Thread olizilla
I have run into a brick wall with puppet autoloading, using the standalone puppet set up via the puppet command. Basically, when I add a new defined type to an existing module, trying to use it elsewhere fails with the old: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid

Re: [Puppet Users] Managing community modules.

2012-02-26 Thread Brian Troutwine
I'm a big fan of using read-only submodules, usually to the upstream project but sometimes to my own fork. The use of submodules makes getting changes in from upstream trivial. The commands you need to know are: git submodule add git submodule sync git submodule update --init --recursi

[Puppet Users] Managing community modules.

2012-02-26 Thread Jonathan Proulx
Hi All, I'm building out my first puppet install and obviously want to leverage modules from the forge. Since I'm using git as the VCS for my puppet configs and most community modules are hosted on github it seems the obvious thing to do is to use either git submodules or subtree merging, but I h

[Puppet Users] Casting Fixnum to String (Hiera/YAML)

2012-02-26 Thread Lars Francke
Hi, I'm trying to write a SSH module to learn Hiera. The module is including a Firewall config from the Puppetlabs Firewall module. I've made the port configurable using a variable "ssh_server_port". $port = hiera('ssh_server_port') firewall { "100 SSHD": proto => 'tcp', act

[Puppet Users] Re: Change user password only on systems where they exist

2012-02-26 Thread bel
You might want to change the regex used in the grep line to: '^${user}:' # Adding the colon This would prevent false-positives when, for e.g., you are looking for user "joe" in a system where it doesn't exist but "joep" does. On Feb 25, 5:19 pm, Romeo Theriault wrote: > On Wed, Feb 22, 2012 at

Re: [Puppet Users] Announce: Puppet 2.7.11 Available [security/maintenance update]

2012-02-26 Thread Stefan Heijmans
Matthaus, thanks for the new rpm's. Small question; what is the difference between these versions; .noarch.rpm .el5.noarch.rpm As the .noarch.rpm are not updated, they are still on 2.7.11-1.noarch.rpm. -- You received this message because you are subscribed to the Google Groups "Puppet Users"