Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Felix Frank
Jo, this thread is starting to confuse me, I am no longer sure what you're suggesting, precisely. a) Make it possible to nullify notifications under certain circumstances. b) Make it possible to ignore file owner/mode for files that exist already. While (b) is rather tasteless to me (as is the

Re: [Puppet Users] cross server dependancies

2012-06-18 Thread David Schmitt
On 15.06.2012 21:19, Byron Appelt wrote: I have an application package that needs to be installed on certain application servers but before it can be installed, database access has to be setup on a database server. I have figured out how to export a resource on the app server that gets

Re: [Puppet Users] how to refresh ssh/authorized_keys file content ?

2012-06-18 Thread David Schmitt
On 16.06.2012 02:42, Jo Rhett wrote: On Jun 15, 2012, at 8:19 AM, Nan Liu wrote: To support purging, the puppet type need to to be able to query all instances of the resource. In this case because ssh_authorized_keys can write to different file locations, it does not have the ability to detect

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread David Schmitt
On 16.06.2012 02:21, Jo Rhett wrote: On Jun 15, 2012, at 3:13 PM, jcbollinger wrote: You seem to be interpreting many of the responses as assertions that you shouldn't want what you're asking for. I don't think anyone is saying that, at least not at the level of generality at which you

Re: [Puppet Users] arrays, notify, multiple config files, exec

2012-06-18 Thread Felix Frank
Hi, Am I close? Yes, but some details are far out ;-) On 06/16/2012 09:58 AM, Marc Lucke wrote: I think I an interate through the arrays using an inline_template in a define to run an exec using creates (to look for the .private file and generate it only if it doesn't exist). I don't see

[Puppet Users] Is this possible with Hiera - Puppet Module Development and using Hiera

2012-06-18 Thread Peter J. Foley
Hi Puppet Users, I have just started playing with Puppet and Hiera. I am curious if it is possible to control how hiera does variable lookup within a module I am creating to test it. I have read through the documentation I can find on Hiera and Puppet however I cannot find any documentation

[Puppet Users] Re: Dashboard with RackbaseURI / and RailsAutoDetect off

2012-06-18 Thread Chris Lee
Has anyone ever got this right before? -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/DiGW9XkhIF4J. To post to this group, send email to

[Puppet Users] Apparently service not restarted although is supposed to

2012-06-18 Thread Javi
Good morning. Scenario: install SNMP (agent and daemon), change config file and restart of service. What's wrong? The logs showed that AFTER the new config file is applied, the service (snmpd) is restarted, but looks like this is not true. I arrived to this conclusion because if just after

[Puppet Users] Conditional with variable from facter

2012-06-18 Thread Jakov Sosic
Hi. I have the following facts available: # facter | grep oper operatingsystem = CentOS operatingsystemrelease = 6.2 Now, if I wish to use conditionals on these facts, I have to do it like this: case $operatingsystem {} case $::operatingsystemrelease {} I'm puzzled as to why can't I just use

Re: [Puppet Users] Re: Problem with Load Balancing Puppet masters with Apache mod_proxy

2012-06-18 Thread kai
I understand that only the CA cert needs to be copied on the LB and not the private key, as the private key is just for signing the agents certificates. Just wanted to note that the CA also needs SSLCARevocationFile, for revocation to work it seems. The only other concept that is not clear to

Re: [Puppet Users] Re: Problem with Load Balancing Puppet masters with Apache mod_proxy

2012-06-18 Thread Jeff McCune
On Mon, Jun 18, 2012 at 7:06 AM, kai kaiva...@gmail.com wrote: I understand that only the CA cert needs to be copied on the LB and not the private key, as the private key is just for signing the agents certificates. Just wanted to note that the CA also needs SSLCARevocationFile, for

Re: [Puppet Users] Conditional with variable from facter

2012-06-18 Thread Wolf Noble
Hi Jakov, the two semicolons locate these variables as being in top-scope/variables outside of any specific module. otherwise it might be $modulename::variable Does that help at all? W On Jun 18, 2012, at 8:25 AM, Jakov Sosic wrote: Hi. I have the following facts available: # facter |

Re: [Puppet Users] PE Install Problem Finding /erb/console_auth_db_config.yml.erb

2012-06-18 Thread hulk15
Thanks Justin! It appears that the extract was modified in some way. On Saturday, June 16, 2012 5:27:48 PM UTC-5, Justin Stoller wrote: On Fri, Jun 15, 2012 at 3:07 PM, hulk15 wrote: Hey guys, Trying to install PE for a PoC and have run into the following: Has anyone seen this?

Re: [Puppet Users] Conditional with variable from facter

2012-06-18 Thread Martin Alfke
Hi, On 18.06.2012, at 17:14, Wolf Noble wrote: Hi Jakov, the two semicolons locate these variables as being in top-scope/variables outside of any specific module. please note that these are colons (:) no semicolons(;). otherwise it might be $modulename::variable Does that help at

[Puppet Users] Re: 403 Forbidden with Passenger

2012-06-18 Thread jbrown
I'm having the same problem, but I never saw a solution in this thread. I've been over the permissions for config.ru and /var/lib/puppet about a 1000 times and can't see any permissions problems. -rw---. 1 puppet puppet 431 Jun 18 00:07 /etc/puppet/rack/config.ru (I've also tried 700, 770,

Re: [Puppet Users] Re: Problem with Load Balancing Puppet masters with Apache mod_proxy

2012-06-18 Thread kai
Jeff, thank you very much for taking the time to answer all my questions. I really appreciate it. This thread had helped me a lot in my journey to mastering Puppet. Thank you again! -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this

Re: [Puppet Users] Re: HTTP 400 errors when using storeconfigs

2012-06-18 Thread Matthew Burgess
On Thu, Jun 14, 2012 at 1:31 PM, Chris Price ch...@puppetlabs.com wrote: Hi Matt, I think it would be worth opening a ticket for this ( http://projects.puppetlabs.com/projects/puppet/issues/new ). Hi Chris, This is now #15086. Hopefully there's enough info on the ticket to reproduce. The VM

Re: [Puppet Users] Conditional with variable from facter

2012-06-18 Thread Wolf Noble
D'oh On Jun 18, 2012, at 11:26 AM, Martin Alfke wrote: Hi, On 18.06.2012, at 17:14, Wolf Noble wrote: Hi Jakov, the two semicolons locate these variables as being in top-scope/variables outside of any specific module. please note that these are colons (:) no semicolons(;). I will

[Puppet Users] Re: Is this possible with Hiera - Puppet Module Development and using Hiera

2012-06-18 Thread Steve Traylen
On Monday, 18 June 2012 13:02:33 UTC+2, Peter wrote: Hi Puppet Users, I have just started playing with Puppet and Hiera. I am curious if it is possible to control how hiera does variable lookup within a module I am creating to test it. I have read through the documentation I can

[Puppet Users] Re: 403 Forbidden with Passenger

2012-06-18 Thread Michael Altfield
jbrown, Sorry for not posting my solution. I've been working on this install for weeks, and I *did* overcome this error, but I've had to overcome so many errors, I can't recall the exact fix. iirc, the solution might have been installing rubygem-rack through yum as opposed to gems. In any

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Jo Rhett
On Jun 15, 2012, at 8:21 PM, Brian Gallew wrote: As has already been suggested, make the change yourself, submit a patch. You have indicated several times that this isn't that big a change. Further, it's a change that is clearly only of benefit to you at this point, so trying to convince

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Jo Rhett
On Jun 18, 2012, at 12:55 AM, Felix Frank wrote: this thread is starting to confuse me, I am no longer sure what you're suggesting, precisely. a) Make it possible to nullify notifications under certain circumstances. b) Make it possible to ignore file owner/mode for files that exist already.

[Puppet Users] Puppet and Ruby 1.9

2012-06-18 Thread Forrie
What is the status of compatibility with Puppet 2.7.16+ and Ruby 1.9? I searched through this group and found some older posts. I am not certain what the core issues are (and there's probably a PuppetLabs page for it, I bet). Thanks. -- You received this message because you are subscribed to

Re: [Puppet Users] Puppet and Ruby 1.9

2012-06-18 Thread Ohad Levy
On Mon, Jun 18, 2012 at 9:32 PM, Forrie for...@gmail.com wrote: What is the status of compatibility with Puppet 2.7.16+ and Ruby 1.9? I searched through this group and found some older posts. I am not certain what the core issues are (and there's probably a PuppetLabs page for it, I bet).

[Puppet Users] How to create local puppet forge repositories

2012-06-18 Thread Lian Zhu
Hi, was just wondering if there's a way to create a local forge repositories to host our local modules? Has anyone done that? I found this post, http://projects.puppetlabs.com/issues/5033. that was one year ago. Wondering if there's a way to do it now? Thanks. -- You received this message

Re: [Puppet Users] How to create local puppet forge repositories

2012-06-18 Thread Pieter van de Bruggen
On Mon, Jun 18, 2012 at 12:01 PM, Lian Zhu leanne@gmail.com wrote: Hi, was just wondering if there's a way to create a local forge repositories to host our local modules? Has anyone done that? I found this post, http://projects.puppetlabs.com/issues/5033. that was one year ago. Wondering

[Puppet Users] using hiera for node classification

2012-06-18 Thread jon
Hi All, I've been trying to use Hiera for node classification, my sit.pp is simple: node default { hiera_include(classes) } which has been working well with simple class definitions like: user@host$ cat testagent.yaml2012-06-18 14:55:48 jon pts/13 --- classes: - motd Is anyone

Re: [Puppet Users] Puppet and Ruby 1.9

2012-06-18 Thread Stefan Schulte
On Mon, Jun 18, 2012 at 10:02:10PM +0300, Ohad Levy wrote: On Mon, Jun 18, 2012 at 9:32 PM, Forrie for...@gmail.com wrote: What is the status of compatibility with Puppet 2.7.16+ and Ruby 1.9? I searched through this group and found some older posts. I am not certain what the core

RE: [Puppet Users] Puppet and Ruby 1.9

2012-06-18 Thread Kinzel, David
On Mon, Jun 18, 2012 at 10:02:10PM +0300, Ohad Levy wrote: On Mon, Jun 18, 2012 at 9:32 PM, Forrie for...@gmail.com wrote: What is the status of compatibility with Puppet 2.7.16+ and Ruby 1.9? I searched through this group and found some older posts. I am not certain what the core

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Jo Rhett
On Jun 18, 2012, at 2:08 AM, David Schmitt wrote: I say running puppet *hot* on a system *when* restarting a service might create a booboo is a bad idea. Emphasis on *hot* and *when*. For both emphasises, there are solutions (noop, cron, schedules, mcollective, dssh). Using a different CM

Re: [Puppet Users] How to create local puppet forge repositories

2012-06-18 Thread Ryan Coleman
On Mon, Jun 18, 2012 at 12:01 PM, Lian Zhu leanne@gmail.com wrote: Hi, was just wondering if there's a way to create a local forge repositories to host our local modules? Has anyone done that? I found this post, http://projects.puppetlabs.com/issues/5033. that was one year ago. Wondering

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Eric Shamow
On Monday, June 18, 2012 at 1:07 PM, Jo Rhett wrote: *boggle* Um, so your configuration management system is not part of your change management implementation? That's what you just said, and it makes no sense. Jo, Not to speak for David but in general - the point is that they are different

[Puppet Users] Re: using hiera for node classification

2012-06-18 Thread Nick Fagerlund
On Monday, June 18, 2012 12:18:51 PM UTC-7, jon wrote: If so, is it possible to pass in parameterized classes this way, like: user@host$ cat openstackall.yaml 2012-06-18 14:56:01 jon pts/13 --- classes: - openstack::all: { public_address: %{ipaddress_eth0}, public_interface:

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Jo Rhett
On Monday, June 18, 2012 at 1:07 PM, Jo Rhett wrote: *boggle* Um, so your configuration management system is not part of your change management implementation? That's what you just said, and it makes no sense. On Jun 18, 2012, at 1:10 PM, Eric Shamow wrote: Not to speak for David but in

[Puppet Users] Inventory Service on RHEL - uninitalized constant ActiveRecord

2012-06-18 Thread Michael Altfield
Hi, Has anyone had success getting the Inventory Service running in RHEL 6? My Puppet Nodes are getting the following error: [root@puppetnode-01 ~]# puppetd --debug --verbose --no-daemonize ... err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not autoload

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Wolf Noble
… Now that I'm excessively caffeinated (I'm not actually sure if that's better, or worse, than my previous state, but)… On Jun 18, 2012, at 12:47 PM, Jo Rhett wrote: On Jun 18, 2012, at 12:55 AM, Felix Frank wrote: this thread is starting to confuse me, I am no longer sure what you're

[Puppet Users] Re: 403 Forbidden with Passenger

2012-06-18 Thread jbrown
Michael, Thanks for the quick response. I'll take a closer look at the instructions and see if they work in my environment. I appreciate the thoughtful reply. Cheers, Justin On Monday, June 18, 2012 12:31:28 PM UTC-5, Michael Altfield wrote: jbrown, Sorry for not posting my solution.

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Jo Rhett
On Jun 18, 2012, at 1:57 PM, Wolf Noble wrote: Well, a in the service of b -- but as a general point, I think that every notify/subscribe should be tune-able as to which things changing will cause the action to take place. Not to continue this thread longer than it needs to go, but

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Eric Shamow
On Monday, June 18, 2012 at 4:04 PM, Jo Rhett wrote: Same software, same management functions, same configs… just a different permissions change on new installations. Should I really duplicate the entire module, and manage all changes in both places? And forever try to manage which host

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Wolf Noble
On Jun 18, 2012, at 6:04 PM, Jo Rhett wrote: On Jun 18, 2012, at 1:57 PM, Wolf Noble wrote: Well, a in the service of b -- but as a general point, I think that every notify/subscribe should be tune-able as to which things changing will cause the action to take place. Not to continue this

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Jo Rhett
On Jun 18, 2012, at 4:41 PM, Wolf Noble wrote: No, it's not the easiest way to break your environment. but it is a direct line to future obfuscated breakage, red herrings, and new and exciting ways to waste lots of engineers' time trying to suss out what in the the last N changes broke

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Shawn
--Original Message-- From: Felix Frank Sender: puppet-users@googlegroups.com To: puppet-users@googlegroups.com ReplyTo: puppet-users@googlegroups.com Subject: Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change? Sent: Jun 14, 2012 7:18 AM On 06/14/2012 12:39 PM, Jo

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Jo Rhett
Right, sure. Instead of 18 lines of puppet policy that do exactly what I need, I should instead go create an infrastructure based around a barely documentation and SLOW part of puppet. Because who wants finer granularity for your controls, when you could implement a huge infrastructure

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Shawn
Brutal you are. -yoda Sent via BlackBerry -Original Message- From: Jo Rhett jrh...@netconsonance.com Sender: puppet-users@googlegroups.com Date: Mon, 18 Jun 2012 17:07:21 To: puppet-users@googlegroups.com Reply-To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] can we avoid

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Denmat
Okay back to the original problem. It's become a bit hard to follow. Without code change to puppet you're stumped. But without knowing your systems a combination of package based deployments and excluding mode or owner maybe will get you by? But with puppet code change, would a way of doing

Re: [Puppet Users] Service Puppetmaster being monitored by Nagios

2012-06-18 Thread Brian Gupta
On Mon, Jun 18, 2012 at 10:22 AM, Wendell Araujo johnnatah.ara...@gmail.com wrote: Good morning! I have a server running Nagios and would like to monitor the service in my puppet server puppetmaster. Has anyone managed to do this? grateful Wendell So this doesn't exactly answer your

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-18 Thread Eric Shamow
Jo, Let's not make this personal. You don't know how old I am or what infrastructures I've managed. You don't need to use Hiera. You can use any data lookup tool you like to do the same thing. What you are seeing is not an official stance of any kind, it's a spontaneous community reaction.

[Puppet Users] Correct way to handle node-specific variable values in puppet 2.7

2012-06-18 Thread Jon Schewe
I saw a post a little while back about this, but didn't see the details of the solution. So I'm posting to see if someone can explain to me the correct way to do this in puppet 2.7+. I have a variable ldap_server that is used inside some templates. Some of my nodes use ldap1.company.com an some