[Puppet Users] Re: backup files whith bad arborescence

2011-06-06 Thread florian
On 3 juin, 17:26, Patrick kc7...@gmail.com wrote: Out of curiosity, why do you care? i think it damage to keep this arborescence with many intermediate file. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email

[Puppet Users] Puppet Augeas

2011-06-06 Thread Kris Buytaert
I`m struggling with getting puppet to do do an agueas run correctly. When I make the modifications using augtool on the cli Everything works like expected . augtool --noload augtool set /augeas/load/Xml/incl[last()+1] /etc/sipxpbx/freeswitch/conf/sip_profiles/sipX_profile.xml augtool load

[Puppet Users] puppet dashboard error 500 when trying to view a report detail

2011-06-06 Thread vincent
Hello, I have got an error 500 when I try to view a report in the dashboard Here is the log : ERROR: compiling _run_haml_app47views47reports47_resource_statuses46html46haml_locals_object_report_resource_statuses RAISED Input/output error Function body: def

[Puppet Users] Re: Module variables missing during some puppet runs

2011-06-06 Thread jcbollinger
On Jun 3, 11:58 am, treydock treyd...@gmail.com wrote: I am getting the following error on about every other manual run of puppet... (hostnames removed) err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template zabbix/userparameter_mysql_conf.erb:

[Puppet Users] Re: Should puppet manage its own client configs?

2011-06-06 Thread PBWebGuy
Felix, Would you mind sharing how you implemented the process to restart Puppet after an update? Thanks, John On May 24, 6:34 am, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 05/24/2011 12:29 PM, Jonathan Gazeley wrote: If youmanageto deploy an utterly broken config,puppetwon't be

Re: [Puppet Users] Puppet Augeas

2011-06-06 Thread Dominic Cleal
On 06/06/11 10:01, Kris Buytaert wrote: To actual errors change from need_to_run to 0 failed: Save failed with return code false when trying to experiment with a syntax like below. ... augeas{sipxprofile : lens= Xml, incl=

[Puppet Users] logging output at err level, success as just a notice?

2011-06-06 Thread Jennings, Jared L CTR USAF AFMC 46 SK/CCI
I'm trying to run pwck with Puppet 2.6.4. pwck checks the passwd file and makes sure that, for example, each user's home directory exists. (And other stuff.) When everything is OK, it doesn't say anything. So if it says something, I want to know it, and I want it to stand out from other exec

Re: [Puppet Users] Pushing changes to nodes

2011-06-06 Thread Matthew Marlowe
Hi Pavel, We implemented something similar to what you are asking on our own servers using commonly available tools: * pssh - cluster ssh tools * cron/etc on puppetmaster + puppetrun - our sysadmins or the puppetmaster itself determines when puppet configuration runs should be performed. *

Re: [Puppet Users] Weird paramterized issue

2011-06-06 Thread Ken Barber
Ronen, Have you tried grepping through all your content to make sure your not using 'include nodejs' elsewhere - or some other usage of it where you are not specifying user. You might be seeing non-deterministic class loading order which may be why your symptoms are intermittent. ken. On Sat,

Re: [Puppet Users] logging output at err level, success as just a notice?

2011-06-06 Thread Jacob Helwig
On Mon, 06 Jun 2011 09:37:48 -0500, Jennings, Jared L CTR USAF AFMC 46 SK/CCI wrote: I'm trying to run pwck with Puppet 2.6.4. pwck checks the passwd file and makes sure that, for example, each user's home directory exists. (And other stuff.) When everything is OK, it doesn't say anything.

[Puppet Users] use a custom fact value in a manifest

2011-06-06 Thread Etienne F
Hi everybody, i'm a lucky Puppet user for a few weeks and i'm currently blocked for a simple thing. I try to use facter custom values deployed with pluginsync feature in one manifest. Unfortunately, values aren't available when manifest is executed. I tried to use pre/main stage in order to

[Puppet Users] Re: use a custom fact value in a manifest

2011-06-06 Thread Etienne F
Ok forget my message, pluginsync=true works perfectly, problem was between chair and keyboard ... Etienne On 6 juin, 18:11, Etienne F etienne.f...@gmail.com wrote: Hi everybody, i'm a lucky Puppet user  for a few weeks and i'm currently blocked for a simple thing. I try to use facter

[Puppet Users] Unable to use types from modules

2011-06-06 Thread Davíð Steinn Geirsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm having some problems using modules which define their own types and providers. It seems the puppet client does not recognise them, even though they are set up according to the structure suggested in

[Puppet Users] No matching value for selector param '1' with case and ? statements

2011-06-06 Thread PBWebGuy
I have been getting an error message No matching value for selector param '1' when ever I use the following code in a class. What is strange is if I run the code directly with puppet -v filename where the code is in the filename or I stick the code in the nodes.pp file it works perfectly. When

Re: [Puppet Users] Unable to use types from modules

2011-06-06 Thread Michael Knox
David, Are you using environments? If so, you're probably hitting bug #4409 ( https://projects.puppetlabs.com/issues/4409 ) If not, have you restarted your puppet master? Cheers 2011/6/7 Davíð Steinn Geirsson da...@basis.is -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm

Re: [Puppet Users] Weird paramterized issue

2011-06-06 Thread Ronen Narkis
Amazing! Iv somehow missed that :) There was another include that missed my eyes (never include within an init.pp above a class) Thank you! Ronen On Sat, Jun 4, 2011 at 11:16 PM, Ken Barber k...@puppetlabs.com wrote: Ronen, Have you tried grepping through all your content to make sure

Re: [Puppet Users] Re: backup files whith bad arborescence

2011-06-06 Thread Patrick
On Jun 6, 2011, at 12:27 AM, florian wrote: On 3 juin, 17:26, Patrick kc7...@gmail.com wrote: Out of curiosity, why do you care? i think it damage to keep this arborescence with many intermediate file. Do you mean you think it is bad to keep the file structure like this? If so, I

[Puppet Users] Re: backup files whith bad arborescence

2011-06-06 Thread Patrick
The easiest way I can think of is using your favorite find program. I would assume that the unix find program will do this for you. On Jun 6, 2011, at 5:27 AM, florian wrote: If i dont change this arborescence, how I can find a backup at specific date ? Think On 3 juin, 17:26, Patrick

[Puppet Users] Augeas match Puppet

2011-06-06 Thread Michael Knox
Hi, I'm working on a type to undertake some very simple management of the SuSE firewall service (/etc/sysconfig/SuSEfirewall2), specifcally I need to manage the contents of the list FW_CONFIGURATIONS_EXT which is handled as a shell list. I've been able to use the shellvars_list.aug to manage the

Re: [Puppet Users] Augeas match Puppet

2011-06-06 Thread Aaron Grewell
I found this Wiki article tremendously valuable when dealing with Augeas. http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas On Mon, Jun 6, 2011 at 3:45 PM, Michael Knox michael.knox...@gmail.comwrote: Hi, I'm working on a type to undertake some very simple management of the

[Puppet Users] How do you handle deleted nodes with exported resources in this situation?

2011-06-06 Thread Larry Ludwig
I have an issue where for a file type of an exported resource I must define as such: force= false, replace = false, Meaning the file is created, but do not replace after it's added. I do this because of the app modifies the config file after (I know bad

Re: [Puppet Users] Augeas match Puppet

2011-06-06 Thread Michael Knox
Thanks Aaron, I reread that and this time found the snippet I needed ... The following works ... onlyif= match FW_CONFIGURATIONS_EXT/value[.='$svc'] size == 0, Cheers On 7 June 2011 08:51, Aaron Grewell aaron.grew...@gmail.com wrote: I found this Wiki article tremendously valuable when

[Puppet Users] Re: New Puppet report processors...

2011-06-06 Thread treydock
The report processor was synced to /var/lib/puppet/lib/reports/ . I enabled puppetmaster to run in debug mode but haven't seen anything mentioning reports when I run test runs. I purposly misspelled a module for the puppetmaster and run puppetd --test, but no reports except those in

Re: [Puppet Users] Re: New Puppet report processors...

2011-06-06 Thread James Turnbull
treydock wrote: The report processor was synced to /var/lib/puppet/lib/reports/ . I enabled puppetmaster to run in debug mode but haven't seen anything mentioning reports when I run test runs. I purposly misspelled a module for the puppetmaster and run puppetd --test, but no reports except

[Puppet Users] Split Manifest Across Multiple Lines?

2011-06-06 Thread Douglas Garstang
Is there a way I can split a line in a manifest across multiple lines, ala shell style? ie: $include_postfix_module = extlookup(IncludePostfixModule, \ extlookup(IncludePostfixModule, \ extlookup(IncludePostfixModule, \