Re: [Puppet Users] Re: ssh_keys created every puppet run

2013-04-25 Thread Arnau Bria
Hi, the key is not the problem (i copy it into 3 users' home and only one complained). What's special about thta one user? it's home. it's nfs and had file permission problems. Solved. Thanks a lot! Cheers, Arnau -- You received this message because you are subscribed to the Google Groups

[Puppet Users] problems ensuring that a service is absent

2013-04-25 Thread David Schmitt
Hi, I'm trying to be really, really sure that a specific service is not running. The central part of this looks like that: service { 'foo': ensure = stopped, enable = false } - package { 'foo': ensure = purged } The astute reader will notice that on the second run puppet will

Re: [Puppet Users] Problem retreiving catalog

2013-04-25 Thread Ohad Levy
On Thu, Apr 25, 2013 at 2:00 AM, gen...@allantgroup.com andyr...@gmail.com wrote: I updated some of my gems, and I think it may be the reason I am getting the following error when the agents try to retrieve a catalog. err: Could not retrieve catalog from remote server: Error 400 on

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

2013-04-25 Thread Matthias Saou
On Thu, 25 Apr 2013 09:50:23 +0200 David Schmitt da...@dasz.at wrote: service { 'foo': ensure = stopped, enable = false } - package { 'foo': ensure = purged } The astute reader will notice that on the second run puppet will complain that the init script for foo is missing:

[Puppet Users] scheduled_task created but didn't see task under 'Task Scheduler' GUI

2013-04-25 Thread beyonddc . storage
Hi All, I created a scheduled_task resource and applied it. Puppet claimed that it did added successfully but when I go into the 'Task Scheduler' GUI, no such task exist. When I delete the same scheduled_task, Puppet found it and deleted it. Deleting the same scheduled_task twice, Puppet

[Puppet Users] Re: defined function notparse order dependant

2013-04-25 Thread jcbollinger
On Wednesday, April 24, 2013 9:06:02 AM UTC-5, Mike Power wrote: I appreciate the reply but I think the thrust of my point is getting missed. Any other solution is far more cryptic, some reader coming and reading the code will not understand the code nearly as well. That's a matter

Re: [Puppet Users] Problem retreiving catalog

2013-04-25 Thread gen...@allantgroup.com
On Thursday, April 25, 2013 3:19:55 AM UTC-5, ohad wrote: On Thu, Apr 25, 2013 at 2:00 AM, gen...@allantgroup.com javascript: andyr7...@gmail.com javascript: wrote: I updated some of my gems, and I think it may be the reason I am getting the following error when the agents try to

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

2013-04-25 Thread jcbollinger
On Thursday, April 25, 2013 2:50:23 AM UTC-5, David Schmitt wrote: Hi, I'm trying to be really, really sure that a specific service is not running. The central part of this looks like that: service { 'foo': ensure = stopped, enable = false } - package { 'foo': ensure =

[Puppet Users] Problems Running Puppet Once For Passenger Installation - Certificates Disappear

2013-04-25 Thread Philip Gardner
I'm having issues with installing a Puppetmaster using Passenger, basically this bit of the documentation: Make sure puppet master has been run at least once (or puppet agent, if this master is not the CA), so that all required SSL certificates are in place. Here's the bit of Puppet that

[Puppet Users] Re: How do I automagically remove old versions of jar files?

2013-04-25 Thread jcbollinger
On Wednesday, April 24, 2013 4:24:08 PM UTC-5, Larry Fast wrote: I keep running into the following upgrade pattern. Previous Puppet run declared: file { my_jar.1.2.3.jar: ... } New puppet run declares: file {my_jar.2.4.6.jar: ... } But the new puppet run doesn't delete the

[Puppet Users] Re: How do I check whether an imported resource has already been defined?

2013-04-25 Thread jcbollinger
On Wednesday, April 24, 2013 7:28:55 AM UTC-5, Patricia Jung wrote: Hello Puppeteers, please consider the following scenario: Puppet is supposed to set up similar (but not necessarily identical) groups of hosts for a range of customers. For each customer a dedicated filesystem tree

[Puppet Users] Custom hiera back-ends

2013-04-25 Thread Brian Lalor
So there's this: http://docs.puppetlabs.com/hiera/1/custom_backends.html Is there a more thorough tutorial? That one's a little … light. :-) -- Brian Lalor bla...@bravo5.org -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

Re: [Puppet Users] Re: How do I automagically remove old versions of jar files?

2013-04-25 Thread Wolf Noble
On Apr 25, 2013, at 9:47 AM, jcbollinger john.bollin...@stjude.org wrote: On Wednesday, April 24, 2013 4:24:08 PM UTC-5, Larry Fast wrote: I keep running into the following upgrade pattern. Previous Puppet run declared: file { my_jar.1.2.3.jar: ... } New puppet run declares:

[Puppet Users] Re: puppet apache module dependency cycle

2013-04-25 Thread Rui Zhao
how about to decouple the dependent chain (A2mod[php5] = Service[httpd] or Service[httpd] = Class[Apache]? Just to install packages without call Service at installation stage; after that call class of Service. Hope it could help. On Thursday, April 25, 2013 6:22:21 AM UTC+8,

[Puppet Users] Re: scheduled_task created but didn't see task under 'Task Scheduler' GUI

2013-04-25 Thread beyonddc . storage
Nevermind, please ignore my post. I was looking at the wrong place, the task did added successfully. It was under the Task Scheduler Library. Thanks... On Thursday, April 25, 2013 10:00:52 AM UTC-4, beyonddc...@gmail.com wrote: Hi All, I created a scheduled_task resource and applied it.

[Puppet Users] Re: How do I automagically remove old versions of jar files?

2013-04-25 Thread Nick Fagerlund
On Wednesday, April 24, 2013 2:24:08 PM UTC-7, Larry Fast wrote: Is there a standard puppet pattern for removing older versions of jars without explicitly naming each version? Yes! The tidy resource type. http://docs.puppetlabs.com/references/latest/type.html#tidy You'd want

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

2013-04-25 Thread David Schmitt
On 2013-04-25 16:29, jcbollinger wrote: On Thursday, April 25, 2013 2:50:23 AM UTC-5, David Schmitt wrote: Hi, I'm trying to be really, really sure that a specific service is not running. The central part of this looks like that: service { 'foo': ensure = stopped, enable =

Re: [Puppet Users] How do I automagically remove old versions of jar files?

2013-04-25 Thread Arnaud Gomes-do-Vale
Larry Fast lfast1...@gmail.com writes: Is there a standard puppet pattern for removing older versions of jars without explicitly naming each version? A couple of solutions in addition to the proposed ones: - Use your package manager. Build a package containing your jar file and upload it

[Puppet Users] Puppet and internal modules...

2013-04-25 Thread Gavin Williams
Afternoon/Evening all It looks like Puppet is starting to get some traction within my organisation, with several other teams asking what Puppet can do for them :-) The main use I'm getting asked about is one touch deployment of our products by Dev teams... On the surface it shouldn't be too

[Puppet Users] Current status of Puppet and MCollective on Windows

2013-04-25 Thread Nathan Shirlberg
We recently (in the last couple of months) installed Puppet to manage windows and linux boxes. Puppet is running great. The next thing is to force puppet to run and push out updates in a coordinated manner rather than the randomish 30 minute window. We installed MCollective on the linux

Re: [Puppet Users] Current status of Puppet and MCollective on Windows

2013-04-25 Thread R.I.Pienaar
- Original Message - From: Nathan Shirlberg nathan...@gmail.com To: puppet-users@googlegroups.com Sent: Thursday, April 25, 2013 5:55:38 PM Subject: [Puppet Users] Current status of Puppet and MCollective on Windows We recently (in the last couple of months) installed Puppet to

[Puppet Users] Re: How to reference a class in site.pp without creating a module?

2013-04-25 Thread max . bridgewater
Thanks lot guys. Really appreciate your help. I got started using modules. On Sunday, April 21, 2013 9:18:36 AM UTC-4, max.bri...@gmail.com wrote: Hi, Trying to get some understanding on how code should be structured in Puppet. I have a class oracle_java defined to deploy the Java virtual

Re: [Puppet Users] Current status of Puppet and MCollective on Windows

2013-04-25 Thread Nathan Shirlberg
We are running puppet now on about 30 windows boxes (xp to 2008 server and everything in between). If you need any help creating or testing install packages i would be happy to help. When you build a package for windows do you plan to build an MSI that would install everything on the Windows

[Puppet Users] Re: Puppet and internal modules...

2013-04-25 Thread joe
One thing you certainly need to do is define a clear line of what puppet will and will not do in your environment. Puppet is not well suited to code deployment. It is extremely good at maintaining the environment in which code runs. I would allow contributions from your dev team liberally, as

[Puppet Users] Access facts values in Puppet provider

2013-04-25 Thread Andriy Yurchuk
I'm writing a custom Puppet service provider and I need to access one of my facts value inside provider to then be able to use the value inside startcmd/stopcmd. There is a confine which can test whether a fact exists, but how do I actually get the value of the fact? -- You received this