Re: [Puppet Users] how to customize hiera lookups per node?

2013-03-19 Thread Darryl Wisneski
On Thu, Mar 07, 2013 at 12:11:09PM -0800, James Ralston wrote: At this point, all of the modules we have written use parameterized classes. That way, when we call the module from the host's node.pp file, we can override defaults (if necessary). I lump all nodes into the node default and

Re: [Puppet Users] Re: Hiera, Hashes, and Create_resources

2013-02-06 Thread Darryl Wisneski
On Mon, Aug 27, 2012 at 08:10:34AM -0700, jcbollinger wrote: # cat common.yaml --- searchdomain: 'example.com' ssh_auth: ldap servers : server-a : sshd_auth: local

[Puppet Users] Hiera, Hashes, and Create_resources

2012-08-17 Thread Darryl Wisneski
Howdy: I need some help please to get hiera configuration data derived from YAML, thru puppet. I have studied Internet search results and puppet documentation on create_resources and custom defines but need a little help along. I can print out the YAML from variables, arrays, and, finally,

Re: [Puppet Users] hiera questions

2012-07-02 Thread Darryl Wisneski
On Thu, Jun 28, 2012 at 08:04:09PM +0100, R.I.Pienaar wrote: I would make facts on the nodes for these. Let say $role and $subrole and then just use those in your hierarchy with %{role} and %{subrole} thus allowing you to set variable for all those machines there. Howdy: I was wondering

Re: [Puppet Users] hiera questions

2012-07-02 Thread Darryl Wisneski
On Mon, Jul 02, 2012 at 10:13:51PM +0200, Jan Ivar Beddari wrote: On 02. juli 2012 17:26, Darryl Wisneski wrote: Regards, -dkw Ouch, sorry Darryl, I hit the wrong button and posted what I thought of as a private very quick reply to you .. right on the list. Jan: I too am sorry I

[Puppet Users] augeas-0.10.0_1 in FreeBSD can't see /etc/rc.conf

2012-05-01 Thread Darryl Wisneski
Howdy: Since I upgraded some of my FreeBSD boxen to augeas-0.10.0* I can't get augeas to address /etc/rc.conf. I was able to modify key/values in /etc/rc.conf in augeas-0.7.1_2 in my puppet classes and augtool. I think I recall Dominic saying that the /etc/rc.conf lens was added by the FreeBSD

[Puppet Users] Re: augeas-0.10.0_1 in FreeBSD can't see /etc/rc.conf

2012-05-01 Thread Darryl Wisneski
Hi Steve: On Tue, May 01, 2012 at 02:15:25PM -0400, Steve Wills wrote: Hi, Thanks for the info. Something is definitely not right, but it doesn't seem to work for me even with the older version: It looks like the problem is that the fix in ticket 255:

Re: [Puppet Users] augeas-0.10.0_1 in FreeBSD can't see /etc/rc.conf

2012-05-01 Thread Darryl Wisneski
Hi Dominic: On Tue, May 01, 2012 at 09:01:16PM +0100, Dominic Cleal wrote: Hi Darryl, On 01/05/12 16:11, Darryl Wisneski wrote: Since I upgraded some of my FreeBSD boxen to augeas-0.10.0* I can't get augeas to address /etc/rc.conf. I was able to modify key/values in /etc/rc.conf

Re: [Puppet Users] Puppet and FreeBSD

2012-04-23 Thread Darryl Wisneski
Howdy: On Mon, Apr 23, 2012 at 06:29:38AM -0700, Jamie Scott wrote: Hello all, Wondering if any of you could help me. We've been using puppet on our CentOS servers for a while now with no problems at all, very much out of the box but we do have some MySQL servers running FreeBSD

Re: [Puppet Users] Puppet and FreeBSD

2012-04-23 Thread Darryl Wisneski
On Mon, Apr 23, 2012 at 07:08:48AM -0700, Jamie Scott wrote: dkw, that worked! Now I only need to use: package { 'mytop': ensure = installed } How have you been handling the differences between centos/rhel and fbsd? If statements? I am going the other way where I have manifests written

Re: [Puppet Users] Puppet and FreeBSD

2012-04-23 Thread Darryl Wisneski
On Mon, Apr 23, 2012 at 10:42:53AM -0400, Christopher Wood wrote: Breaking in late... I use some defaults to ensure I get binary packages out of my local mirror. (I'm not terribly fussed about binary-only packages, possibly because I come from a Linux background.) case $::operatingsystem {

Re: [Puppet Users] FreeBSD Port

2012-04-11 Thread Darryl Wisneski
Why not this? 'puppet agent -t' or 'puppet agent --test' From puppet help.. (ughh, no manpage) * --test: Enable the most common options used for testing. These are 'onetime', 'verbose', 'ignorecache', 'no-daemonize', 'no-usecacheonfailure', 'detailed-exit-codes', 'no-splay', and

Re: [Puppet Users] FreeBSD Port

2012-04-11 Thread Darryl Wisneski
Jackie: Please post your 1.) puppet.conf, OS Relase, and version of puppet. 2.) uname -a 3.) pkg_info |grep puppet Can you check the ps output to make sure there wasn't already a running puppet. Do you have any jails on the machine that may be running puppet as well and causing PID confusion?