Re: [Puppet Users] A Question about mixing Puppet with other things

2011-07-10 Thread Ohad Levy
On Thu, Jul 7, 2011 at 9:47 PM, Dan White y...@comcast.net wrote: In Pro Linux System Administration Mr. Turnbull discusses Cobbler and Puppet In Pro Puppet he discusses Foreman and Puppet. Would anyone out there be willing and able to talk about the differences between Cobbler and Foreman

Re: [Puppet Users] Bizarre errors from puppetmaster 2.7.1

2011-07-10 Thread Patrick
On Jul 9, 2011, at 6:35 PM, Michael Halligan wrote: Periodically after restarting the master (which uses puppet-dashboard as a reporting server and ENC), when an agent tries to run, the agent isn't given any classes, and exits without error, then the master spews out this message: Jul 10

[Puppet Users] Re: use puppet to manage user accounts on mysql

2011-07-10 Thread newguy
Hey I will try to write again what I wanted to say in the first message: Is it possible through puppet that I install mysql and define what would be mysql username, password for that client and also I want to disable root user through puppet, can this be achieved. Thanks On Jul 9, 10:54 pm,

[Puppet Users] A working firewall module

2011-07-10 Thread Ronen Narkis
Iv been going through a multitude of firewall modules not being able to find a simple module that open and closes ports on Redhat/Centos 5.6 All the modules that iv tried keep open ports multiple times (each time puppet agent runs): ACCEPT -A INPUT -p tcp -m multiport --dports 80 -m comment

Re: [Puppet Users] Bizarre errors from puppetmaster 2.7.1

2011-07-10 Thread Jacob Helwig
That does look an awful lot like the storedconfig bug (#4487). The fix prevented this from happening on new records, and would prevent further YAML encapsulation of existing rows, but the existing (broken) rows still needed to be cleaned up by hand. -- Please excuse my brevity; sent from my

Re: [Puppet Users] Re: use puppet to manage user accounts on mysql

2011-07-10 Thread Nigel Kersten
On Sun, Jul 10, 2011 at 3:27 AM, newguy aimanparv...@gmail.com wrote: Hey I will try to write again what I wanted to say in the first message: Is it possible through puppet that I install mysql and define what would be mysql username, password for that client and also I want to disable root

Re: [Puppet Users] Bizarre errors from puppetmaster 2.7.1

2011-07-10 Thread Nigel Kersten
On Sun, Jul 10, 2011 at 9:22 AM, Jacob Helwig ja...@puppetlabs.com wrote: That does look an awful lot like the storedconfig bug (#4487). The fix prevented this from happening on new records, and would prevent further YAML encapsulation of existing rows, but the existing (broken) rows still

Re: [Puppet Users] Re: use puppet to manage user accounts on mysql

2011-07-10 Thread Andrew Thompson
Take a look at example42's mysql module. I use it to change the root password and create users for each of my applications. Look at this specifically: https://github.com/example42/puppet-modules/blob/master/mysql/manifests/grant.pp There is also a query define so you can run any query that is

Re: [Puppet Users] Re: use puppet to manage user accounts on mysql

2011-07-10 Thread Nigel Kersten
This looks like a good opportunity for the various mysql module authors to all get together and produce one single awesome module :) On Sun, Jul 10, 2011 at 3:49 AM, Andrew Thompson netengr2...@gmail.comwrote: Take a look at example42's mysql module. I use it to change the root password and

Re: [Puppet Users] A working firewall module

2011-07-10 Thread Ken Barber
Among the modules iv tried: https://github.com/puppetlabs/puppetlabs-firewall What was the problem you had with this module? ken. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- You received this message because you are subscribed to

[Puppet Users] Re: A working firewall module

2011-07-10 Thread Alessandro Franceschi
FYI I don't know it it may be useful , but I've done this: https://github.com/example42/puppet-modules/tree/master/iptables which can be used in 2 ways: - a standard iptable-save approach (set $iptables_config = file before to enable it) with rules file defined in

Re: [Puppet Users] Re: A working firewall module

2011-07-10 Thread Christopher Webber
I have been working on doing something similar to this. We want to abstract for multiple OS's and deal with the joy that is Solaris zones. Essentially, it will be a resource that defines the fw rules in XML and then a script takes all of those definitions and creates a complete set of firewall

Re: [Puppet Users] Re: A working firewall module

2011-07-10 Thread Ronen Narkis
Hey Ken, the main issue was that the provider wasn't detecting existing rules but instead kept adding them in, another issue is that the rules aren't persistent (restarting the service clears them out), Alessandro ill check it out thanks! Ronen On Sun, Jul 10, 2011 at 10:38 PM, Christopher

Re: [Puppet Users] Re: A working firewall module

2011-07-10 Thread Ken Barber
Hi Ronen, Making the rules persistent is a matter of running iptables-save afterwards. If you drop this in your top scope it should work: exec { persist-firewall: command = $operatingsystem ? { debian = /sbin/iptables /etc/iptables/rules.v4, /(RedHat|CentOS)/ = /sbin/iptables

[Puppet Users] Problems In New Pro Puppet Book

2011-07-10 Thread Jon Forrest
I should first say that I'm a complete beginner to Puppet so some of what I saw below could be incorrect. Pro Puppet is a pretty good book so far but it really should have had another editing step to correct the problems I've mentioned below. Here are the problems I've found so far. Some of

[Puppet Users] passenger 3.0.7 and puppet function

2011-07-10 Thread hai wu
Hi, I am using passenger 3.0.7, Apache from RHEL5U6, and Puppet 2.6.9-1. After change certain puppet function content, I have to restart Apache in order for puppet client to see the change. Is this a known issue? Thanks, Hai -- You received this message because you are subscribed to the Google

[Puppet Users] puppet should return non-zero when exec failed

2011-07-10 Thread flex
When there is an error in exec resource, puppet command also returns zero. -- System Administrator, Focus on System Management and Basic Development -- 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] Re: puppet should return non-zero when exec failed

2011-07-10 Thread flex
Oh, i found --detailed-exitcodes here: http://projects.puppetlabs.com/issues/5859 2011/7/11 flex frostyn...@gmail.com When there is an error in exec resource, puppet command also returns zero. -- System Administrator, Focus on System Management and Basic Development -- System

Re: [Puppet Users] Problems In New Pro Puppet Book

2011-07-10 Thread James Turnbull
Jon Forrest wrote: I should first say that I'm a complete beginner to Puppet so some of what I saw below could be incorrect. Pro Puppet is a pretty good book so far but it really should have had another editing step to correct the problems I've mentioned below. Thanks for the feedback.