[Puppet Users] Nagios XI + Puppet?

2013-08-07 Thread Ryan Bowlby
Hi All, I currently make use of Icinga (nagios fork) + Puppet for fully automated monitoring. It's worked great up to this point. I've recently been asked to integrate fine grained notifications support into icinga. I'm not entirely sure puppet manifests are the right place to manage contacts,

[Puppet Users] Re: Inheritance of classes in Ruby DSL

2013-02-16 Thread Ryan Bowlby
...Bueller Anyone have an answer for this? This seems like a pretty pertinent feature for anyone looking to take advantage of the ruby DSL. I for one would be eternally grateful. -Ryan On Wednesday, June 13, 2012 8:08:07 AM UTC-7, Ingo Fischer wrote: I have the same question (see

[Puppet Users] Re: librarian-puppet

2012-07-26 Thread Ryan Bowlby
We went with git super projects and submodules instead of librarian-puppet. Might want to look at using git for management of per puppet-module repositories as well. On Wednesday, July 25, 2012 7:37:10 AM UTC-7, llo...@oreillyauto.com wrote: I've heard this project mentioned a few times

Re: [Puppet Users] librarian-puppet vs git superproject?

2012-07-24 Thread Ryan Bowlby
00:43, Ryan Bowlby wrote: Can anyone comment on their experiences with librarian-puppet or using git superproject with per puppet module repositories? We are in the midst of determining which route is optimal for our environment. It seems like using git superprojects would mean one less new

[Puppet Users] librarian-puppet vs git superproject?

2012-07-23 Thread Ryan Bowlby
. What then would be the advantages of librarian-puppet? Thanks, Ryan Bowlby -- 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/-/4Kf47PY2sIwJ. To post to this group

[Puppet Users] Re: How to take away install privilege from users other than puppet?

2012-07-15 Thread Ryan Bowlby
That's not really a puppet question. Typically installation of software in normal (posix compliant) locations requires root privileges. Merely limiting the commands one is capable of executing via sudo would likely be enough. -Ryan On Saturday, July 14, 2012 10:29:33 PM UTC-7, Ganesh Ganesh

[Puppet Users] Re: Built in rollback features

2012-07-09 Thread Ryan Bowlby
I tend to expose the ensure related resource attributes as parameters that can be specified at the node level: class { apache: package_ensure = absent, } The natural evolution is to get to a point within the organization where reinstalling a host is no longer scary. If the provisioning

[Puppet Users] Re: can nodes be grouped with IP address?

2012-07-09 Thread Ryan Bowlby
I would probably grimace and find my right eye twitch ramp back up if this was in my environmentbut here you go: node default { if $::ipaddress =~ /^10\.0\.[3,4]\.\d{1,3}$/ { include testing # testing class } } Obviously make sure no other matching node defs exist for this host.

[Puppet Users] file_line type issue, possible bug

2012-06-10 Thread Ryan Bowlby
Hi All, I am using the file_line type included in stdlib to add a line to /etc/sudoers. On each run the sudo module replaces /etc/sudoers, then file_line resource adds the line back. It's happening on each run and I can't seem to figure out to get the sudo module's file resource to stop

Re: [Puppet Users] file_line type issue, possible bug

2012-06-10 Thread Ryan Bowlby
on the same file. The current conflict doesn't have to be a conflict, I assumed puppet did this already. -Ryan On Sunday, June 10, 2012 9:58:23 AM UTC-7, Jeff McCune wrote: On Sun, Jun 10, 2012 at 3:56 AM, Ryan Bowlby rbowlb...@gmail.com wrote: Hi All, I am using the file_line type included

[Puppet Users] Duplicate package resource solutions?

2012-06-06 Thread Ryan Bowlby
Hi Guys, I searched through the forum and found a few related threads but no clear puppet sanctioned solution. We have several modules that require the same package, for example rsync or gcc. We usually solve these conflicts by making that package a standalone module. We don't want to have

[Puppet Users] Re: override parameter within base class?

2012-06-01 Thread Ryan Bowlby
up just doing a few simple wrapper parameters as advised by Nick. I like the Hiera idea but it will have to wait since we have so much low hanging fruit to pick for the time being. Thanks everyone! -Ryan On May 30, 2:00 pm, jcbollinger john.bollin...@stjude.org wrote: On May 30, 2:37 pm, Ryan

[Puppet Users] override parameter within base class?

2012-05-30 Thread Ryan Bowlby
Hi All, Is there a way to override the value of a parameter to a declared class within my base class. My nodes use a base class that occasionally need to be changed. Example: class base { class { apache: mpm = worker, } ..other awesomeness } Then in the nodes: node a { include base }

[Puppet Users] Re: Check if class has been included?

2012-05-24 Thread Ryan Bowlby
On May 4, 6:34 am, jcbollinger john.bollin...@stjude.org wrote: On May 4, 1:54 am, Dan Carley dan.car...@gmail.com wrote: On 3 May 2012 23:32, jcbollinger john.bollin...@stjude.org wrote: Hmm.  I guess I misunderstood your objective.  It is still true that 'defined' is not a

[Puppet Users] Re: Check if class has been included?

2012-05-03 Thread Ryan Bowlby
john.bollin...@stjude.org wrote: On May 2, 3:14 pm, Ryan Bowlby rbowlb...@gmail.com wrote: Hi All, I recently added the puppet-concat module in order to implement the example motd use case. Now our motd includes a list of modules being used on the server, which is awesome. All

[Puppet Users] Check if class has been included?

2012-05-02 Thread Ryan Bowlby
Hi All, I recently added the puppet-concat module in order to implement the example motd use case. Now our motd includes a list of modules being used on the server, which is awesome. All the modules define an motd::register so they expect that the motd module was included. When a node does not

[Puppet Users] Agent thundering herd solutions?

2012-04-27 Thread Ryan Bowlby
I'm hoping to have all the puppet agents run on a 20 minute interval with 480sec on either side. I don't want to launch the agent from cron in order to achieve a level of randomness. Is there a splay/random option that can be included in the sysconfig file or config file? I want to continue

[Puppet Users] Re: scaling puppet, skipping puppetmaster?

2012-04-27 Thread Ryan Bowlby
Currently we have two puppetmaster servers with ALL requests being load balanced. I use unison to keep the ssl directory in sync between hosts. Each server runs keepalived and requests go to a VIP that exists on one of the servers. The server with the VIP load balances the requests (mod_proxy)

[Puppet Users] Re: Empty node definition mysteriously runs yum class!

2012-03-29 Thread Ryan Bowlby
...@stjude.org wrote: On Mar 28, 3:00 pm, Ryan Bowlby rbowlb...@gmail.com wrote: I'm having an issue where every single puppet node included our yum class as part of the catalog. In all instances the nodes node definition was empty. Has anyone experienced something like this before? Is the yum class

[Puppet Users] Empty node definition mysteriously runs yum class!

2012-03-28 Thread Ryan Bowlby
I'm having an issue where every single puppet node included our yum class as part of the catalog. In all instances the nodes node definition was empty. Has anyone experienced something like this before? Is the yum class colliding with an internal class? We do not define a node default or use any

[Puppet Users] Testing catalog run on REAL node as git pre-push hook?

2012-03-02 Thread Ryan Bowlby
encountered. Thanks!!! Ryan Bowlby -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more

[Puppet Users] Display puppet managed resources in motd?

2012-02-18 Thread Ryan Bowlby
Hi All, I'd like to display which resources are managed by Puppet in a given host's motd file. Does anyone know the best way to accomplish this? As we transition to puppet it would be helpful to know what resources are currently being managed by puppet. Alternatively, if anyone has created a

[Puppet Users] Re: Error 400 on SERVER: Could not autoload active_record: uninitialized constant ActiveRecord

2012-02-08 Thread Ryan Bowlby
Thank you, you just added hours to my life! 3.0.11 works perfect. Perhaps the puppetlabs docs should make note of this? -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion on the web visit

[Puppet Users] Re: Puppet can't start service (dropbox) but init.d command works manually

2012-01-31 Thread Ryan Bowlby
I second checking for required environment variables. Attempt to run in a shell that hasn't sourced your .bash_profile and related login- time config files. Also, try it with an exec with /bin/bash -x /etc/ init.d/dropbox start to further troubleshoot. On Jan 30, 3:05 pm, Richard K. Miller

[Puppet Users] Re: Puppet security issue?

2012-01-27 Thread Ryan Bowlby
. Thanks again, Ryan Bowlby On Jan 26, 11:37 pm, Brice Figureau brice-pup...@daysofwonder.com wrote: On 27/01/12 02:14, Ryan Bowlby wrote: Hi All, I have a two puppet servers using Apache with mod_proxy as the frontend. Similar to what what's described in Pro Puppet. Unfortunately

[Puppet Users] Puppet security issue?

2012-01-26 Thread Ryan Bowlby
/7.15.5 (x86_64- redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/ 0.6.5 That's a request from another server. Here are the Apache configs: http://pastebin.com/rDKPSjjy Thanks everyone! Ryan Bowlby -- You received this message because you are subscribed to the Google Groups Puppet

[Puppet Users] Re: passing argument to a class or a module

2012-01-26 Thread Ryan Bowlby
Classes can only be declared once while defines can be declared multiple times. So if you wanted two vhost files a define would be needed. On Jan 26, 3:47 pm, Joehillen joehil...@gmail.com wrote: whoa, my bad. I learned puppet before 2.6 Now I don't know why there is a distinction between

[Puppet Users] Re: Issue Installing Puppet on Red Hat6

2012-01-26 Thread Ryan Bowlby
I use CentOS 6.2 with yum-priorities and several additional repositories. In general the following priority order works well: updates - extras - puppetlabs - epel - rpmforge Then, as said previously, just run yum -y install puppet-dashboard and continue following docs. That setup will allow you

[Puppet Users] Re: params.pp class with parametrized class support?

2012-01-18 Thread Ryan Bowlby
Show off! ;) Great example thanks. I noticed you fully qualify variables within the very class they were assigned. Is that best practice now? I've created a simple apache module using your openssh module as inspiration. I still need to modify params.pp to check for globally defined vars. In the

[Puppet Users] Re: Using foo::params, inheritance, and parameterized classes simultaneously?

2012-01-17 Thread Ryan Bowlby
to be overridden by global namespace variables (for enc support) 3. further allow parametrized class declarations to take precedence over 1 and 2 Can you point me to a module that does this? Alternatively, can you make a recommendation for module best practices going forward. Thanks, Ryan Bowlby On Jan

[Puppet Users] Re: Using foo::params, inheritance, and parameterized classes simultaneously?

2012-01-17 Thread Ryan Bowlby
': ssl_package = true, } } I'm just trying to do things right the first time. On Jan 17, 9:59 pm, Nigel Kersten ni...@puppetlabs.com wrote: On Tue, Jan 17, 2012 at 9:33 PM, Ryan Bowlby rbowlb...@gmail.com wrote: Thanks for the great replies Nigel. As a person currently rolling out Puppet

[Puppet Users] delayed final state??

2012-01-16 Thread Ryan Bowlby
I have a somewhat abstract best practice question. In some instances fully applying a node's puppet catalog results in that node interacting with production infrastructure. Sometimes you want to provision a new host and have it apply it's puppet catalog but not yet integrate into the production

[Puppet Users] certificate sync methods?

2011-12-20 Thread Ryan Bowlby
Hi All, We are going to setup two puppet masters, each will include the full stack of services. Apache as the frontend on both load balancing to the backend services on both. We will be using keepalived and VIP whose A record is puppet.domain. We would like to have the CA in active/active on the