[Puppet Users] Re: Avoiding a ball of yarn and technical debt

2013-01-01 Thread Hans van der Made
On Thursday, December 27, 2012 12:47:51 AM UTC+1, Brian Dunbar wrote: > - Enable my partner to understand 'what' I'm up to i.e. make it as > self-documenting as possible > - Ditto the three other guys on my team who assist us in Unix chores > part-time, and are our backups. > - Prevent the w

Re: [Puppet Users] Re: Home directory dependency problems

2013-01-01 Thread j
Sure. My mistake came from thinking that a class whose resources all had variable titles, like file { "/path/$varname":, could be called multiple times as long as each call had a unique value for the variable. Once that bit was sorted I wrote my users type nearly identically to Keiran's example

[Puppet Users] how do you do the equivalent of this SQL statement in puppetdb?

2013-01-01 Thread Hoof Hearted
I need to be more succinct. How do you do the following with puppetdb? select count(*), date(created_at) from hosts group by 2 order by 2 desc; Is puppetdb only setup so it will return back the host? Will I need several GETs to filter out a subset of data, and then process it? On Thursday, De

[Puppet Users] Re: puppetlabs/apt and apt::ppa

2013-01-01 Thread Brad Wright
On Wednesday, 26 December 2012 02:22:35 UTC, Andrey Ageyev wrote: > And when I try to apply manifest - getting: > puppet agent -t > info: Caching catalog for wproxy71.tpnt.net > err: Failed to apply catalog: Could not find dependency > File[/etc/apt/sources.list.d] for > Exec[add-apt-repository

[Puppet Users] Re: tcl dependency in RHEL6 installing facter, puppet

2013-01-01 Thread Ryan Bosshart
This thread looks dead, but I'd thought I throw this out for others: I got this error when I accidentally installed the EL5 repo when I should have used EL6. Using the correct repo resolved things for me. On Monday, November 5, 2012 2:10:58 PM UTC-6, msuho wrote: > > Hi- > > I am running RedHa

Re: [Puppet Users] Re: how to avoid duplicate types (i.e. users)

2013-01-01 Thread col_s
You may find virtual resources useful for this. Define the user home directory resources as virtual resources (within a separate class), and then" realize" them in your buildbot::slave::instance type. http://docs.puppetlabs.com/guides/virtual_resources.html -- You received this message becau