Re: [Puppet Users] How to get puppetmaster's base directory into a variable ?

2012-07-21 Thread James Glenn
On Sat, Jul 21, 2012 at 9:36 PM, eduardo wrote: > Dears all, > > I need set variable $puppet_base_dir on my prerequisites class with > confdir parameter value of puppetmaster. I need the variable to be > used as base directory path of a file named myfile, which it's read it > in custom function

Re: [Puppet Users] Lookup another node's hiera data - fqdn hierarchy

2012-07-21 Thread Garrett Honeycutt
On 7/21/12 4:13 AM, treydock wrote: > I've begun using Hiera in combination with Foreman, primarily storing > data that is best left in Array/Hash form. I'd like to be able to have > a module, in this case BackupPC, query all the Hiera data for each node > where the backup directories/databases ar

[Puppet Users] Sydney Puppet Meetup 24/7/12

2012-07-21 Thread Garrett Honeycutt
http://www.meetup.com/Sydney-Puppet-Masters/events/74363612/ Join us at the Lord Nelson Brewery on Tuesday at 17:00 to discuss Puppet, Hiera, DevOps, etc. -g -- Garrett Honeycutt 206.414.8658 http://puppetlabs.com -- You received this message because you are subscribed to the Google Groups

[Puppet Users] How to get puppetmaster's base directory into a variable ?

2012-07-21 Thread eduardo
Dears all, I need set variable $puppet_base_dir on my prerequisites class with confdir parameter value of puppetmaster. I need the variable to be used as base directory path of a file named myfile, which it's read it in custom function. I'm trying to avoid absolute path '/etc/pupet/ files/myfile

[Puppet Users] Puppet template tags and Java JSP tags

2012-07-21 Thread Yanis Guenane
Hi All, I was trying to templatize some JSP page I would like to dynamically generates but it looks like puppet doesn't like it. Common JSP tags are <% ... %> so I guess it's getting confused between regular tags and jsp's one. This is an example of the trace it is givin me : /etc/puppet/modu

[Puppet Users] Facter fact length?

2012-07-21 Thread bg
This is a bit of a leading question, but is there a limitation as far as length/size of facts on a node? I have a need to perform one way sync of user accounts (non-Puppet managed users) on many pairs of servers. Thus far, it's been done with scripts from primary -> backup server, and has been

Re: [Puppet Users] Re: can't authenticate based on IP? what? huh?

2012-07-21 Thread Nigel Kersten
On Fri, Jul 20, 2012 at 7:01 PM, Nick Lewis wrote: > On Tuesday, July 17, 2012 3:46:21 PM UTC-7, Jo wrote: >> >> Okay, I totally did see this in the release notes but I read it that you >> weren't allowing certificates with IP addresses in them, not that you >> wouldn't allow IP authentication in

Re: [Puppet Users] Problems granting privileges with puppetlabs/mysql

2012-07-21 Thread Walter Heck
A quick look into mysql/lib/puppet/provider/database_grant/mysql.rb teaches me this module grants permissions only on db and user level. Repl_slave is only available at global level. Imho this module is doing it wrong by messing with the mysql table. Instead, it should generate proper GRANT stateme

Re: [Puppet Users] Problem with puppet-concat

2012-07-21 Thread Mark
Wow, thanks for the prompt response! I get the idiot of the week award. When I rolled my nas module out to live I missed a line when I moved the node file entries. That line was "include nas". The one thing I didn't check... Put that back in and it all burst into life. Thanks for your help.