Re: [Puppet Users] puppetlabs-firewall and removing a parameter

2015-08-10 Thread Matthias Saou
Hi, So... no answers... bug report filed! :-) https://tickets.puppetlabs.com/browse/MODULES-2376 Matthias On Mon, 3 Aug 2015 13:26:07 +0200 Matthias Saou matth...@saou.eu wrote: Hi, I had this applied to my nodes : firewall { ${prenumber}7 portknock let connections through

[Puppet Users] puppetlabs-firewall and removing a parameter

2015-08-03 Thread Matthias Saou
manually remove all iptables rules first, then the new rule gets created without any --seconds 3 as expected. How can I tell puppet to actually remove that parameter from existing rules instead of stop caring about the value? Matthias -- Matthias Saou

[Puppet Users] Initial Puppet 4.0.0 Migration Experience

2015-05-20 Thread Matthias Saou
. This is a RHEL7 system with the default LANG=en_US.UTF-8... Not going so well so far, I was really hoping for less differences between 3.7 with the future parser and 4.0. I will post followups if anyone is interested. Matthias -- Matthias Saou

Re: [Puppet Users] Re: Initial Puppet 4.0.0 Migration Experience

2015-05-20 Thread Matthias Saou
On Wed, 20 May 2015 03:57:50 -0700 (PDT) Nick Howes nickho...@gmail.com wrote: On Wednesday, 20 May 2015 11:52:06 UTC+1, Matthias Saou wrote: I will post followups if anyone is interested. Count me interested - I'm in the same pre-leap state (3.7 with all the future features

Re: [Puppet Users] Unrecognised escape sequence '\[' in file

2014-08-27 Thread Matthias Saou
On Wed, 27 Aug 2014 05:31:39 -0700 (PDT) Brian Wilkins bwilk...@gmail.com wrote: I am having to escape a regular expression in my match and puppet complains on the puppetmaster of an Unrecognised escape sequence. How do I fix this so the logs don't get cluttered with this message? I am using

Re: [Puppet Users] Puppet Template for controlling puppet nodes puppet.conf file help

2014-08-08 Thread Matthias Saou
Thanks for your help. -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu

Re: [Puppet Users] Puppet/yum fails to install old packages

2014-08-08 Thread Matthias Saou
is, is there a way to work around this so that puppet doesn't error out on the first run? Thanks, mjr -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP

Re: [Puppet Users] CF3 to PE 3.3 - Hiera Question

2014-08-08 Thread Matthias Saou
the “web_regex” and you reside in the DC2_QA_NET then do X, Y and Z. Thanks in advance for your time and assistance. Tom -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu

Re: [Puppet Users] can't restart auditd

2014-07-29 Thread Matthias Saou
-- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu ██ ██ GPG: 4096R/E755CC63

Re: [Puppet Users] feeding files/templates to modules

2014-05-16 Thread Matthias Saou
. HTH, Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu

Re: [Puppet Users] Announce: Puppet 3.6.0 Released!

2014-05-16 Thread Matthias Saou
/puppet/latest/reference/release_notes.html#feature-purging-unmanaged-ssh-authorized-keys Thank you so so so so so much! Definitely my most wanted feature since... forever :-) Off to try that now... Matthias -- Matthias Saou

Re: [Puppet Users] Array becomes string in template

2014-04-24 Thread Matthias Saou
when I call the each function on it in the template? Because unless I'm mistaken, you're converting your array to a string with .join(', '). Just remove that, and the .each should be correctly applied to the array. Matthias -- Matthias Saou

Re: [Puppet Users] A file managed by puppet that is left alone if customized

2014-04-24 Thread Matthias Saou
want to do that... I could actually use that behaviour for the initial ~/.gitconfig files I create for system users, for example. Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu

Re: [Puppet Users] Joining two commands in exec

2014-04-14 Thread Matthias Saou
will no longer run when using unless. Run : /usr/bin/hadoop fs -mkdir /user/foo; echo $? You'll need to see 0 when the HDFS directory didn't exist in order for the '' to then execute to 2nd command. HTH, Matthias -- Matthias Saou

Re: [Puppet Users] Possible issue with nagios_* commands

2014-02-25 Thread Matthias Saou
/nagios_servicegroup.cfg', '/etc/nagios/nagios_timeperiod.cfg', ]: ensure = present, owner = 'root', group = 'nagios', mode = '0640', before = Service['nagios'], } Matthias -- Matthias Saou

Re: [Puppet Users] Nagios default files being overwritten

2014-02-11 Thread Matthias Saou
those lines!) Though I did move all of the resources to their default files and stopped using the objects/templates.cfg file. HTH, Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu

Re: [Puppet Users] RHEL 7 Repository up on yum.puppetlabs.com

2014-02-11 Thread Matthias Saou
appreciated! Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu

Re: [Puppet Users] RHEL 7 Repository up on yum.puppetlabs.com

2014-02-11 Thread Matthias Saou
operatingsystem = RedHat operatingsystemmajrelease = 7 operatingsystemrelease = 7.0 osfamily = RedHat rubyversion = 2.0.0 Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu

Re: [Puppet Users] Choo choo here comes the FOSDEM train

2014-01-30 Thread Matthias Saou
want food, please register :). See you soon! -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu

[Puppet Users] A different way of managing POSIX ACLs : fooacl

2013-12-17 Thread Matthias Saou
by the module (remove users easily and reliably). * Automatic setting of both normal and default ACLs to the same values (shortens declarations, increases code readability). -- Feedback welcome! Matthias -- Matthias Saou

Re: [Puppet Users] Multiple server roles using hiera and facts

2013-12-02 Thread Matthias Saou
exist or don't exist. HTH, Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu

[Puppet Users] Is anyone using puppetlabs-firewall with IPv6?

2013-10-04 Thread Matthias Saou
or trivial workaround I'm missing? Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu

Re: [Puppet Users] Announce: Facter 1.7.2 Available

2013-07-17 Thread Matthias Saou
-- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu ██ ██ GPG: 4096R

Re: [Puppet Users] puppetlabs-ntp 1.0.0-rc1

2013-07-10 Thread Matthias Saou
to $panic? * For real RHEL, the ntp server hostnames used will be centos instead of the original rhel ones. I'm not sure this is worth trying to fix, though. Great work on cleaning up the module! Matthias -- Matthias Saou

Re: [Puppet Users] puppetlabs-ntp 1.0.0-rc1

2013-07-10 Thread Matthias Saou
['::ntp::install'] - Class['::ntp::config'] ~ Class['::ntp::service'] - Anchor['ntp::end'] Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth

Re: [Puppet Users] The handy Grail of Modules Standards

2013-06-18 Thread Matthias Saou
johndoe/common). But don't get me wrong, I like where this is headed, and will participate as much as I can. Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail

Re: [Puppet Users] The handy Grail of Modules Standards

2013-06-17 Thread Matthias Saou
-- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu ██ ██ GPG: 4096R/E755CC63

Re: [Puppet Users] any elegant way to iterate/map over data types?

2013-06-11 Thread Matthias Saou
, key = $akey, type= 'ssh-rsa', user= $user, require = User[$user], } } If there are more elegant solutions, I'd love to hear about them :-) Matthias -- Matthias Saou

Re: [Puppet Users] Run a File resource only if another file is missing

2013-06-03 Thread Matthias Saou
! Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu

Re: [Puppet Users] Run a File resource only if another file is missing

2013-05-31 Thread Matthias Saou
There are other ways. None are nice and clean, but a custom fact just for this seems overkill. Here's a quick example of how I've implemented creating a default ~/.gitconfig for users if it doesn't exist, but not modify it if it's already there or has been modified. $gitconfig_user_name =

Re: [Puppet Users] Run a File resource only if another file is missing

2013-05-31 Thread Matthias Saou
. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin Hobbes) - Original Message - From: Matthias Saou matth...@saou.eu To: puppet-users@googlegroups.com Sent: Friday, May 31, 2013 4

[Puppet Users] Puppet 3.2.1 default log level change?

2013-05-27 Thread Matthias Saou
of notice? Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu

Re: [Puppet Users] Error: Could not find dependency Yumrepo[puppetlabs-products] for Package[puppet]

2013-05-27 Thread Matthias Saou
-products] lines. Otherwise, you will need to add that resource to be declared. Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu

Re: [Puppet Users] Re: Module for tuned-adm

2013-05-18 Thread Matthias Saou
shameless plug You could also have a look at this other module : https://forge.puppetlabs.com/thias/tuned /shameless plug I just had a look at Romain's, and a provider just for this is overkill. As much as I hate exec, it's fine here since the profile name is exactly contained in a single

Re: [Puppet Users] problems ensuring that a service is absent

2013-04-25 Thread Matthias Saou
== 'present' or similar. If that's not enough, it should be considered a packaging bug. Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu

Re: [Puppet Users] Re: Best practice to always fully qualify classes with :: ?

2013-04-22 Thread Matthias Saou
reply. Your explanation matches the behaviour I've seen. Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu

Re: [Puppet Users] Puppet defined types and defaults parameters

2013-04-21 Thread Matthias Saou
Hi, You shouldn't be trying with a variable. Here's what you should probably be doing instead : /etc/puppet/modules/sensor/manifests/listner.pp define sensor::listner ( $config = 'this is the generic default' ) { notify { $config : } } /etc/puppet/manifests/site.pp Sensor::Listener { config

Re: [Puppet Users] Re: Puppet 3.1, Hiera and a class parameter called service

2013-04-18 Thread Matthias Saou
that pattern sloppy bools. It will work around the bug for now, and continue to work once the bug is fixed and you start using real booleans in your yaml again. On Wednesday, April 17, 2013 10:09:30 AM UTC-7, Matthias Saou wrote: Hi, I'm trying to clean up some manifests by moving class

[Puppet Users] Best practice to always fully qualify classes with :: ?

2013-04-18 Thread Matthias Saou
[1] http://docs.puppetlabs.com/puppet/2.7/reference/lang_classes.html [2] http://docs.puppetlabs.com/puppet/2.7/reference/lang_scope.html -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu

[Puppet Users] Puppet 3.1, Hiera and a class parameter called service

2013-04-17 Thread Matthias Saou
to have this problem. It seems that I've been bitten once more by mostly-working-but-reserved-somewhere variable names. Does anyone know Hiera internals enough to confirm this? Do I have any options other than renaming the parameter? Matthias -- Matthias Saou

Re: [Puppet Users] Nagios server howto for beginner ?

2012-10-15 Thread Matthias Saou
documentation besides the type reference ? Should I dig in thias/nagios ? Thanks in advance, Francois -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP

Re: [Puppet Users] Re: sshkey type purge

2012-07-24 Thread Matthias Saou
-- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu ██ ██ GPG: 4096R

Re: [Puppet Users] puppet-lint crashes and burns

2012-07-11 Thread Matthias Saou
or greater installed. -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██ Mail/XMPP: matth...@saou.eu

Re: [Puppet Users] puppet-lint crashes and burns

2012-07-11 Thread Matthias Saou
, as an update will never get you to the next major release :-) EL5 is indeed quite old, EL6 has already been available for nearly 2 years and ships with ruby 1.8.7 : It's definitely what you want to be deploying on any new systems. Cheers, Matthias -- Matthias Saou

Re: [Puppet Users] Re: exec's onlyif parameter fails for a bash one-liner

2012-04-26 Thread Matthias Saou
On Wed, 25 Apr 2012 10:29:23 -0700 (PDT) Shantanu knowshant...@gmail.com wrote: On Apr 25, 11:46 am, Craig Dunn cr...@craigdunn.org wrote: On 25/04/2012 17:01, Shantanu wrote: I would like to 'exec' an installation script 'onlyif' an installation directory is empty. I tried using

Re: [Puppet Users] Hash iteration order in a template not consistent

2012-04-03 Thread Matthias Saou
On Thu, 29 Mar 2012 10:06:01 +0200 Martijn Grendelman mart...@iphion.nl wrote: [...] ruby hashes are not stored in predictable order so this will happen, the proposed solution should work. But as always the best is just to test it and see how it goes, it wont bite :) %

Re: [Puppet Users] Cross-module (package) dependencies

2012-01-25 Thread Matthias Saou
On Wed, 25 Jan 2012 09:59:10 -0500 Nan Liu n...@puppetlabs.com wrote: [...] i.e. Say there were two unrelated modules which said slightly different but *compatible* things: Module a:  file { /foo/bar:   ensure = 'present',   owner = 'root',   content = blah blah,  }

Re: [Puppet Users] Cross-module (package) dependencies

2012-01-24 Thread Matthias Saou
On Tue, 24 Jan 2012 10:32:31 +0100 Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Perhaps there needs to be some kind of Forge common module that by policy can only ever declare virtual resources (packages are a prominent example). This only takes care of the Forge case. The problem of

Re: [Puppet Users] Re: how to create directory recursively (if parents not present)?

2011-08-21 Thread Matthias Saou
Sans r.santanu@gmail.com wrote: Thanks Matthias! I noticed the semicolon typo. What does ${::hostname}-cert.pem implicate (as opposed to ${hostname}- cert.pem)? It just makes explicit that it's a variable from the global scope (as it's a fact) and not from the current local scope. Check

Re: [Puppet Users] Dynamic lookup of $var

2011-08-18 Thread Matthias Saou
Aaron Grewell wrote : Agreed, facts are the one thing that really should be global IMHO. I'd settle for anything short. If %= ::factname % could have worked, it would have been fine by me. What's the official best practice going to be for facts inside templates with puppet 2.7+? lookupvar all

Re: [Puppet Users] how to create directory recursively (if parents not present)?

2011-08-18 Thread Matthias Saou
Sans wrote : As said in the subject line, is there a nice way of creating directory tree if parent is not already there, like using mkdir -p? This will do exactly what you want : $cert_dir = 'globus/cert' exec { 'mkdir_cert_dir': path= [ '/bin', '/usr/bin' ],

Re: [Puppet Users] how to create directory recursively (if parents not present)?

2011-08-18 Thread Matthias Saou
Matthias Saou wrote : file { /opt/${cert_dir}/${::hostname}-cert.pem: mode= '0444', owner = 'root', group = 'root', source = puppet:///modules/p_nodes/${::hostname}-cert.pem; require = Exec['mkdir_cert_dir'], } I just noticed that I copy/pasted your

Re: [Puppet Users] Help with retrieving a user's environment variable

2011-08-09 Thread Matthias Saou
Corey Osman wrote : I need to get the environment variable ORACLE_SID from the OS. I know this can be done with the following: $blah = env(PATH) However, the ORACLE_SID variable is only set under the oracle user account. So I would need a way to login as the oracle account first to

Re: [Puppet Users] Facter 1.6.0 and CentOS 6.0

2011-08-01 Thread Matthias Saou
Peter Meier wrote : Is this a known issue? Is there any work-around? It's really breaking my CentOS 6 servers' ability to find their REPOs. :-) You need to have the lsb_release command installed for the lsb* results to appear. Fedora/Redhat have it in the redhat-lsb package, so

Re: [Puppet Users] Definition parameter defaulting to the definition's own $title?

2011-07-20 Thread Matthias Saou
Matthias Saou wrote : try $name, that should do it, came in somewhere mid 2.6.x series Yup, that was it! Section $name can now be used to set default values in defined resource types in the release notes : https://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes Maybe I'm

[Puppet Users] Definition parameter defaulting to the definition's own $title?

2011-07-15 Thread Matthias Saou
Hi, Maybe I'm going nuts, but I could have sworn reading about a trick or new feature which allowed to have a definition parameter get a default value of the definition's own $title (instead of having the hack around the limitation with selectors and intermediate variables later on). Basically

Re: [Puppet Users] Definition parameter defaulting to the definition's own $title?

2011-07-15 Thread Matthias Saou
R.I.Pienaar wrote : Maybe I'm going nuts, but I could have sworn reading about a trick or new feature which allowed to have a definition parameter get a default value of the definition's own $title (instead of having the hack around the limitation with selectors and intermediate variables

Re: [Puppet Users] using memorysize fact in manifests

2011-06-30 Thread Matthias Saou
Andreas Kuntzagk andreas.kuntz...@mdc-berlin.de wrote: I want some config depending on memorysize. What I tried was if ($memorysize = 256 * 1024*1024) { ... } But this fails because $memorysize is a string (and contains a G) and can't be compared to an int. Are all facts

[Puppet Users] Memory usage for reports

2011-06-20 Thread Matthias Saou
Hi, I very recently upgraded from puppet 0.25.4 to 2.6.8 (both master and all nodes), and I'm now facing serious memory usage issues. On the master, I just added more RAM because I had the resources available (from 2GB to 4GB). But on some nodes with 256MB of RAM, I now see some load peaks and

[Puppet Users] Setting defaults on scoped definitions : Each Word Needs To Be Capitalized

2011-06-14 Thread Matthias Saou
Hi, The documentation section gives a good example for the exec type : http://docs.puppetlabs.com/guides/language_guide.html#resource-defaults But for scoped definitions, I had to figure out that each word needs to be capitalized, not just the first word : Mymod::mydef { 'foo': } gives Syntax

Re: [Puppet Users] Re: Setting defaults on scoped definitions : Each Word Needs To Be Capitalized

2011-06-14 Thread Matthias Saou
On Tue, Jun 14, 2011 at 6:45 PM, Nick Fagerlund nick.fagerl...@puppetlabs.com wrote: On Jun 14, 8:26 am, Matthias Saou th...@spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net wrote: Could the documentation section about capitalization be updated to include a scoped example

Re: [Puppet Users] Global scope variables and erb templates in puppet 2.7

2011-06-13 Thread Matthias Saou
Hi, Then I'm guessing the only other solution, which also works with 0.25 and any higher version would be : $local_scope_fqdn = $::fqdn Then : %= local_scope_fqdn % In order to use a local scope variable from within templates. It's really too bad to not be able to use scoped variables from

[Puppet Users] Global scope variables and erb templates in puppet 2.7

2011-06-12 Thread Matthias Saou
Hi, I'm starting to play with the latest puppet 2.7.0rc4, one of my goals being to try and update all of my puppet related files to be compatible with it, with no warnings at all. I've read in detail this page : http://docs.puppetlabs.com/guides/scope_and_puppet.html There is no mention of

Re: [Puppet Users] Global scope variables and erb templates in puppet 2.7

2011-06-12 Thread Matthias Saou
...@puppetlabs.com wrote: Try: inline_template('%= scope.lookupvar(::fqdn) %') ken. On Sun, Jun 12, 2011 at 3:20 PM, Matthias Saou th...@spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net wrote: Hi, I'm starting to play with the latest puppet 2.7.0rc4, one of my goals being

Re: [Puppet Users] Going to publish custom modules : Request for comments

2011-05-15 Thread Matthias Saou
Dan Bode d...@puppetlabs.com wrote: [...] Comments about what I'm doing right and what I'm doing wrong would be very welcome. I really want to know that everything's optimal before investing time in publishing more modules, to not have to later waste time going over all modules again.

Re: [Puppet Users] RHEL5 and RHEL6 wiith Puppet

2011-02-23 Thread Matthias Saou
Steve Shipway wrote : 1. The syslod has changed to rsyslog [...] 2. The snmpd has changed the location of its var file [...] 3. The use of UDEV for all devices [...] Has anyone else spotted any other changes requiring alteration to the Puppet manifests and modules? There are probably

Re: [Puppet Users] Appending to Variables in a global context

2010-12-19 Thread Matthias Saou
Spenser Gilliland spenser...@gmail.com wrote: Yeap, I'm seeing that it doesn't exist yet either. I'm thinking maybe I can use exported resources or maybe just an exec that increments a counter on the host. Either way it's not very pretty. My use case is as follows: In Debian, Redmine

[Puppet Users] Puppetd stops when the puppermaster doesn't answer

2009-11-02 Thread Matthias Saou
Hi, Since upgrading from 0.24 to 0.25, I've seen repeatedly puppetd clients just stop when they're unable to reach the puppetmaster for a while. With the normal logging level, they just seem to stop without writing anything in their log. I've seen this with 0.25.1rc1, rc2 and final, which are

[Puppet Users] Re: Puppetd stops when the puppermaster doesn't answer

2009-11-02 Thread Matthias Saou
Peter Meier wrote : Is this a known problem with 0.25 clients? Has anyone seem these problems too? There have been some fixes for it in 0.25.1 [1] but I'm still encountering such issues as well. Especially as I'm connecting some clients over the internet, so I might encounter high

Puppetmaster service removing puppetmasterd executable (was: Re: [Puppet Users] ANNOUNCE: Puppet 0.25.1 released!)

2009-10-27 Thread Matthias Saou
James Turnbull wrote : Puppet 0.25.1 - code name zoot - is now available. The 0.25.1 release is a maintenance release in the 0.25.x branch. I'm seeing something really weird with this release. I wasn't seeing it with either rc1 or rc2. When I update my rpm packages on the master (RHEL 5.4),

Re: Puppetmaster service removing puppetmasterd executable (was: Re: [Puppet Users] ANNOUNCE: Puppet 0.25.1 released!)

2009-10-27 Thread Matthias Saou
Todd Zullinger wrote : Matthias Saou wrote: When I update my rpm packages on the master (RHEL 5.4), when the service puppetmaster stop command is run, the /usr/sbin/puppetmasterd file is removed. Ouch! Ouch indeed. This is my fault. :( I've just done an strace run of service

[Puppet Users] Warnings with regsubst()

2009-10-27 Thread Matthias Saou
Hi, I've got the following working fine with puppet 0.25.1, which was previously impossible with 0.24 (yepee!) : define dirs ( $dirs = [] ) { # Parent directory for the ones below file { /nfs/skel/${title}: ensure = directory } # Make sure the File namevar is unique

[Puppet Users] Re: Warnings with regsubst()

2009-10-27 Thread Matthias Saou
Brice Figureau wrote : On Tue, 2009-10-27 at 17:25 +0100, Matthias Saou wrote: I've got the following working fine with puppet 0.25.1, which was previously impossible with 0.24 (yepee!) : define dirs ( $dirs = [] ) { # Parent directory for the ones below file

[Puppet Users] Re: Service bug?

2009-10-15 Thread Matthias Saou
Douglas Garstang doug.garst...@gmail.com wrote: [...] It seems to me like there might be a bug here. Puppet appears to think the syslog-ng and syslog service are the same thing and stops syslog-ng instead of syslog. If I change the name of the syslog service, like this... service {

[Puppet Users] Re: new to puppet. how to add condition in a class?

2009-10-12 Thread Matthias Saou
william Famy william.f...@gmail.com wrote: I prefer runing class on my client if thereis a file exemple if the file /etc/mypuppet/condition is present execute the condition class. If you want to do this, you'll likely have to create a simple facter fact for your clients so that the

[Puppet Users] Re: Monitoring the puppetmaster

2009-10-12 Thread Matthias Saou
Pete Emerson pemer...@gmail.com wrote: We've got over 150 hosts hitting the one puppetmaster, and based on what I've seen via searching it seems like we're hitting into scalability issues with Webrick, and the recommendation is to switch to Mongrel or Passenger. Looks to me like Passenger is

[Puppet Users] Re: [Puppet-dev] ANNOUNCE Puppet 0.25.1rc1 available

2009-10-05 Thread Matthias Saou
Todd Zullinger wrote : James Turnbull wrote: Puppet 0.25.1 Release Candidate 1 is now available for testing. Packages for Fedora 10/11/rawhide and EL 4/5 are available at: http://tmz.fedorapeople.org/repo/puppet/ Please report any packaging or repository bugs to me and not to the

[Puppet Users] Re: Facter and arrays? Or puppet and converting strings to arrays?

2009-08-27 Thread Matthias Saou
Paul Nasrat wrote : My problem here is that facter doesn't seem to be able to return anything other than strings. Is that the case? Because it would be really easier for me to have it return an array of the members : Correct currently facter is essentially a flat key value map. This is