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 po

[Puppet Users] Perform puppetrun on a subset of the included classes

2011-07-12 Thread Andrew Thompson
Does puppet have/support the use case where I only want to include certain classes if the puppet daemon is running, and another set if classes if puppet is run manually with the runonce option? I think a good example would be: * I want to include nagios and nrpe when run via the daemon * I want to

[Puppet Users] Exported Resources with --noop

2011-07-13 Thread Andrew Thompson
When I puppet with the noop flag resources are being exported to the db. Is this expected or a bug? I would expect it to simulate the transaction with the db... -Andrew -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, se

[Puppet Users] Re: Exported Resources with --noop

2011-07-14 Thread Andrew Thompson
On Jul 13, 7:03 pm, Gabriel Filion wrote: > On 11-07-13 12:06 PM, Andrew Thompson wrote: > > > When I puppet with the noop flag resources are being exported to the > > db.  Is this expected or a bug? > > Hmm what version of puppet are you using? > > I've

[Puppet Users] Parse Puppet Manifests

2011-08-11 Thread Andrew Thompson
I am looking for a method to parse the entire set of puppet manifests/ modules. For example I want to see a list of all packages that I am managing with puppet. I have seen the compile option, but this only gives me a particular node's point of view. While I could just scrape all of the manifest

[Puppet Users] Re: Parse Puppet Manifests

2011-08-12 Thread Andrew Thompson
On Aug 11, 3:48 pm, Nan Liu wrote: > On Thu, Aug 11, 2011 at 2:32 PM, Andrew Thompson > wrote: > > I am looking for a method to parse the entire set of puppet manifests/ > > modules.  For example I want to see a list of all packages that I am > > managing with puppet.

[Puppet Users] Re: extlookup()

2011-10-21 Thread Andrew Thompson
On Oct 20, 10:18 am, "ollies...@googlemail.com" wrote: > Taking a brief look at extlookup() > > We have a module to setup resolv.conf based on location so we have a % > {domain}.csv file Can you post your $extlookup_datadir and $extlookup_precedence values? > > more /etc/puppetlabs/puppet/envs/

[Puppet Users] Re: extlookup()

2011-10-24 Thread Andrew Thompson
On Oct 24, 2:25 am, "ollies...@googlemail.com" wrote: > On Oct 21, 12:55 pm, Andrew Thompson wrote:> On Oct > 20, 10:18 am, "ollies...@googlemail.com" wrote: > > > Taking a brief look at extlookup() > > > > We have a module to setup resolv.c