Re: [Puppet Users] Service stuck after updating puppet on Windows Server 2003

2014-05-09 Thread Rob Reynolds
This error is somewhat of a misnomer: "The requested service has already been started." When you say it gets stuck, what do you mean exactly? On Fri, May 9, 2014 at 8:08 AM, cko wrote: > Hi, > > I'm using puppet to manage the puppet agent (package, config, service) in > my Windows Server 2003

Re: [Puppet Users] Facts can override variables set by puppet master

2014-05-09 Thread Laurent CREPET
Sorry, replying To wrong message. -- Laurent. Le 9 mai 2014 19:16, "Laurent CREPET" a écrit : > The master stores the configuration for the nodes it manages. When > requested by a node (agent), it compiles the manifests for this node and > send it to the node. > > You should probably post in eng

Re: [Puppet Users] "locking" puppet runs

2014-05-09 Thread jcbollinger
On Thursday, May 8, 2014 8:58:52 AM UTC-5, Dirk Heinrichs wrote: > > Am 08.05.2014 15:34, schrieb Jonathan Gazeley: > > I suppose it would be possible to disable the agent from running as a > daemon and use cron, and the cron job could easily use a MySQL handle as a > locking device. But it s

Re: [Puppet Users] using ruby dsl in puppet manifest

2014-05-09 Thread jcbollinger
On Thursday, May 8, 2014 12:36:56 PM UTC-5, Ritesh Nanda wrote: > > Thanks Henrik , > > I would like to find a file and parse it , so that would be on the agent > , creating a puppet function would not work , as master will not be able > to access those files. > Neither would anything writ

[Puppet Users] Parsing issues in 3.5

2014-05-09 Thread Joe Topjian
Hello, I keep running into several parsing issues in 3.5 that don't exist in Puppet 3.4. I saw the thread about issues with the future parser and defined types: https://groups.google.com/forum/#!topic/puppet-users/HOVnQ1EXwjY I'm using the future parser, but I'm seeing issues in other manifest

Re: [Puppet Users] Facts can override variables set by puppet master

2014-05-09 Thread Laurent CREPET
The master stores the configuration for the nodes it manages. When requested by a node (agent), it compiles the manifests for this node and send it to the node. You should probably post in english. I'm answering after using google translate on your message. -- Laurent. -- Laurent. Le 9 mai 2014

Re: [Puppet Users] Master Agent

2014-05-09 Thread Laurent CREPET
The master stores the configuration for the nodes it manages. When requested by a node (agent), it compiles the manifests for this node and send it to the node. You should probably post in english. I'm answering after using google translate on your message. -- Laurent. Le 9 mai 2014 17:42, "Alan

Re: [Puppet Users] facter for debian: missing '_all.deb' version

2014-05-09 Thread JonY
FWIW: I repackaged facter 1.7.5 as a "_all" and it installs on my ARM systems. I can upgrade to puppet/common 3.5.1 now. On Monday, April 28, 2014 3:39:21 PM UTC-7, JonY wrote: > > In the past I've worked around this by creating a stub version of > dmidecode. facter is happy. > > On Monday,

[Puppet Users] puppetlabs-mysql - question about automated backup script mysqlbackup.sh

2014-05-09 Thread Laurent CREPET
Hi, I'm using module puppetlabs-mysql and its automated backup script creation. When using: class { '::mysql::server::backup': backupuser => '', backuppassword => ', file_per_database => true, [...] } ...the script looks like: mysql -s -r -N -e 'SHOW DATABASES' | while read dbna

Re: [Puppet Users] using ruby dsl in puppet manifest

2014-05-09 Thread Ritesh Nanda
Hello Henrik , Thanks for your reply , i was also thinking to create a type and provider using existing parser functionality puppet has . Even thanks for sharing those links , it was helpful. Regards, Ritesh Nanda On Thu, May 8, 2014 at 7:17 PM, Henrik Lindberg < henrik.lindb...@cloudsmith.c

Re: [Puppet Users] Facts can override variables set by puppet master

2014-05-09 Thread José Luis Ledesma
you can use the Full qualified variable name like ::class_name::variable Regards, El 09/05/2014 13:15, "Boyan Tabakov" escribió: > Hi, > > The puppet master sets several global variables, including $environment, > $serverip, etc > ( > http://docs.puppetlabs.com/puppet/latest/reference/lang_fact

[Puppet Users] Master Agent

2014-05-09 Thread Alan Martins
Pessoal, Sou iniciante com Puppet e tenho dúvidas sobre o Master Agent. Para que serve Master Agent e como devo utilizá-lo? Tenho apenas criado ambiente virtual, com os manifests, classes, módulos, templates, mas não entendi o objetivo do Master Agent. Tenho um ambiente de testes e integração

[Puppet Users] Service stuck after updating puppet on Windows Server 2003

2014-05-09 Thread cko
Hi, I'm using puppet to manage the puppet agent (package, config, service) in my Windows Server 2003 boxes. Whenever I update the package, the puppet agent service gets stuck (STOP PENDING). The report returns: *Fri May 09 12:13:51 +0200 2014 /Stage[main]/puppet_agent::Windows::Service/Serv

[Puppet Users] Facts can override variables set by puppet master

2014-05-09 Thread Boyan Tabakov
Hi, The puppet master sets several global variables, including $environment, $serverip, etc (http://docs.puppetlabs.com/puppet/latest/reference/lang_facts_and_builtin_vars.html). However, looks like client facts with the same names can mask out these variables. How can one determine reliably the c

[Puppet Users] [SOLVED] Re: Error 400 on SERVER: no 'environments' in {:root_environment=>#

2014-05-09 Thread Luca Mazzaferro
Hi again, problem solved. I re-installed also the puppet-dashboard following official information here: http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#installing-from-git There is an error on the provided *dashboard-vhost.conf*: there variable *RailsAutoDetect* is not supp

Re: [Puppet Users] Re: Serious performance issues with Puppet 3.5.x when using Directory Environments

2014-05-09 Thread Antoine Cotten
Hi Josh, I will test it today and tell you what I observe. Regarding performances: - the increase in CPU consumption is hard to quantify precisely. I can only tell the load average changed from ~0.30-0.60 to ~1.00-1.50 with regular peaks up to 2.50. Nagios even reported 15.0 a couple

[Puppet Users] Re: Error 400 on SERVER: no 'environments' in {:root_environment=>#

2014-05-09 Thread Luca Mazzaferro
Hi, thank you for this suggestion. Probably you are right, indeed; the problem should be there. Actually the Puppet-Passenger system is working again what I did on my SL6 is: Update the rack and passenger from the version passenger-4.0.41 to passenger-4.0.42 gem install rack passenger run again