[Puppet Users] ANNOUNCE: Puppet 2.6.0 - Release Candidate 3 available!

2010-07-13 Thread James Turnbull
Welcome back again to the Puppet release cycle with the just out of the gate release candidate 3. The 2.6.0 release is a major feature release and includes a huge variety of new features, fixes, updates and enhancements. These include the complete cut-over from XMLRPC to the REST API, numerous la

Re: [Puppet Users] Problem with home directories and users from NIS

2010-07-13 Thread David Schmitt
Hi Matthew, I've got no idea what's happening with NIS there, but here are some tips for improving the rest of your manifest: On 13.07.2010 18:39, Matthew Finlayson wrote: class hostinghome { createhostinghome { someuser: username => "someuser"; # Of course I actually have a lot more

Re: [Puppet Users] question about package provider on Solaris

2010-07-13 Thread Don Jackson
On Jul 13, 2010, at 5:20 PM, Jeff McCune wrote: > On Tue, Jul 13, 2010 at 5:00 PM, Don Jackson > wrote: >> It seems like the package provider is not seeing that sudo is already >> installed…. >> How can I fix that? >> >> Both my puppetmaster and puppetd are 0.25.5 > > Blastwave uses aliases f

[Puppet Users] Updating node's configuration

2010-07-13 Thread cmvelo
Is there any way to have parts of a node's configuration updated automatically and other parts updated on-demand? i.e. node1 has two classes associated with it: • app1_class • sysconfig_class and ideally I would like to have the sysconfig_class updated regularly (i.e. r

Re: [Puppet Users] "Basic Windows support" in Rowlf (2.6.0 RC*) ?

2010-07-13 Thread steve .
On Tue, Jul 13, 2010 at 6:19 PM, Patrick Mohr wrote: > You might want to take a look at > http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Windows > > It looks like some people have gotten farther than you. Thanks for the link! Again in the hopes of sharing my "user experience" with t

[Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.0 - Release Candidate 2 available!

2010-07-13 Thread Todd Zullinger
James Turnbull wrote: > Welcome back again to the Puppet release cycle with the long-awaited > eleventy times better RC2 release. > > The 2.6.0 release is a major feature release and includes a huge > variety of new features, fixes, updates and enhancements. These > include the complete cut-over f

Re: [Puppet Users] question about package provider on Solaris

2010-07-13 Thread Jeff McCune
On Tue, Jul 13, 2010 at 5:00 PM, Don Jackson wrote: > It seems like the package provider is not seeing that sudo is already > installed…. > How can I fix that? > > Both my puppetmaster and puppetd are 0.25.5 Blastwave uses aliases for the "standard" sun formatted package names as a convenience.

[Puppet Users] question about package provider on Solaris

2010-07-13 Thread Don Jackson
Hello, Here is how I am trying to make sure sudo is installed on my solaris boxes: package {'sudo': ensure => 'installed', provider => 'blastwave', adminfile => '/usr/local/etc/adminfile', } The package is installed, but every ti

[Puppet Users] Re: puppetmasterd screwing the SSL setup

2010-07-13 Thread Garrett Honeycutt
On Jul 13, 6:54 am, Marco Marongiu wrote: > Dear puppeteers > > I am trying to build a tree hierarchy of puppetmasters. The architecture > is aimed to distribute the load among a number of datacenters, while > keeping the puppetmasters in sync by means of puppet itself. > > The architecture I am

Re: [Puppet Users] "Basic Windows support" in Rowlf (2.6.0 RC*) ?

2010-07-13 Thread Patrick Mohr
On Jul 13, 2010, at 3:42 PM, Steven Wagner wrote: > I'm a pretty good candidate for a Puppet-fer-Windows guinea pig here > as I'd be able to get a lot of mileage out of just being able to use > the File, Service and Exec types on that platform ("Is game server > running?" "Has configuration been

[Puppet Users] "Basic Windows support" in Rowlf (2.6.0 RC*) ?

2010-07-13 Thread Steven Wagner
I'm a pretty good candidate for a Puppet-fer-Windows guinea pig here as I'd be able to get a lot of mileage out of just being able to use the File, Service and Exec types on that platform ("Is game server running?" "Has configuration been updated?" etc.) ... but I haven't found much in puppet-use

Re: [Puppet Users] vcsrepo type, svn, & ensure => latest

2010-07-13 Thread Michael Knox
James, On 14/07/10 1:13 AM, James Turnbull wrote: Michael Can you provide logs so I can see what's happening --debug please. Client debug log attached. There was nothing on the puppetmaster (also --debug). Thanks James Turnbull On 12/07/2010, at 11:12 PM, Michael Knox wrote: Hi all

Re: [Puppet Users] dpkg in puppet returns 2 but at command line returns 0

2010-07-13 Thread Jon Choate
Thanks! adding /usr/sbin and /sbin seems to have fixed it. On Mon, Jul 12, 2010 at 7:17 PM, Rohan McGovern wrote: > ext Jon Choate said: > > I have an exec defined as > > > > exec {"dpkg --configure -a": > >path => "/usr/bin:/bin", > >user => root > > } > > > > puppet complains: > > > >

Re: [Puppet Users] apt-rpm package downgrade

2010-07-13 Thread Tony G.
Hi Antony On Tue, Jul 13, 2010 at 6:53 AM, Antony Mayi wrote: > Hi, > > I am using apt-rpm provider and have following manifest for keeping some > package at particular version > > package { "somepackage": > ensure => "1.0.0" > } > > however if from some reason the package gets upgraded

[Puppet Users] SoCAL DevOps meet-up

2010-07-13 Thread James Turnbull
Hi all Jeff McCune and I are going to be at the SoCAL DevOps meet-up tomorrow night: http://socaldevopsmeetup.eventbrite.com/ So if you're in the area and want to chat about Puppet, configuration management or DevOps then come down. Or even if you'd just like to have a beer. :) Also of interest

Re: [Puppet Users] Re: ANNOUNCE: Puppet 2.6.0 - Release Candidate 2 available!

2010-07-13 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Is it me or do subclasses work differently? For example: 'include > ssh::knownhosts' will generate the following error on the client: > > err: Could not retrieve catalog from remote server: execution expired > warning: Not using cache on failed cata

[Puppet Users] Re: puppet and augeas to keep ntp.conf

2010-07-13 Thread altimon
Reading http://www.w3.org/TR/xpath/ On Jul 12, 8:25 pm, Darren Chamberlain wrote: > Since you're using the same threeNTPservers, couldn't you just > copyntp.conf from a fileserver? > > * altimon [2010/07/12 16:35]: > > > > > > > Hi Rob and ALL, > > > Unfortunately, > > > following pp file creat

[Puppet Users] Re: puppet and augeas to keep ntp.conf

2010-07-13 Thread altimon
Hi ALL, Copy full file? Yes, in some assumption. But then why puppet at all, I could send and replace files with mass.pl that is working now just fine. For me it is mostly studying (puppet and augeas) problem, just to understand/feel tools. In general I have different groups with different set

[Puppet Users] Re: augeas and sudo woes

2010-07-13 Thread Gus
I have liked this solution.. I was using an erb template to manage the /etc/sudoers file. Using augeas seems to be much better. However, I have one question, that is due to my lack of experience with augeas. If the command has multiple values, each one separated with a comma, how would I pass this

Re: [Puppet Users] puppetmasterd screwing the SSL setup

2010-07-13 Thread Patrick Mohr
On Jul 13, 2010, at 6:54 AM, Marco Marongiu wrote: > Dear puppeteers > > I am trying to build a tree hierarchy of puppetmasters. The architecture > is aimed to distribute the load among a number of datacenters, while > keeping the puppetmasters in sync by means of puppet itself. > > The archite

[Puppet Users] Problem with home directories and users from NIS

2010-07-13 Thread Matthew Finlayson
Puppeteers, My environment has NIS with all my users precreated. I have a module which creates home directories for them along with their authorized key file and a customized bashrc. class hostinghome { createhostinghome { someuser: username => "someuser"; # Of course I actually have a lot

[Puppet Users] Re: ANNOUNCE: Puppet 2.6.0 - Release Candidate 2 available!

2010-07-13 Thread Jasper Poppe
On Jul 12, 2:56 pm, Rudy Gevaert wrote: > On Jul 12, 8:09 am, James Turnbull wrote: > > > Welcome back again to the Puppet release cycle with the long-awaited > > eleventy times better RC2 release. > > Hi James, > > Any chance of providing debian packages for rc2?  Or pointing me to an > url wher

[Puppet Users] Re: ANNOUNCE: Puppet 2.6.0 - Release Candidate 2 available!

2010-07-13 Thread Jasper Poppe
Is it me or do subclasses work differently? For example: 'include ssh::knownhosts' will generate the following error on the client: err: Could not retrieve catalog from remote server: execution expired warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run I have

[Puppet Users] puppetmasterd screwing the SSL setup

2010-07-13 Thread Marco Marongiu
Dear puppeteers I am trying to build a tree hierarchy of puppetmasters. The architecture is aimed to distribute the load among a number of datacenters, while keeping the puppetmasters in sync by means of puppet itself. The architecture I am trying to build is: - one "main puppetmaster"; - many "

[Puppet Users] Re: puppet capistrano and repository

2010-07-13 Thread bmort
Hmmm ... looks like vcsrepo might be the hook I am looking for Here is a current puppet users thread discussion: http://groups.google.com/group/puppet-users/browse_thread/thread/954f3bb356e9a468 On Jul 13, 9:02 am, bmort wrote: > Good stuff thanks all. All of the responses have got me th

Re: [Puppet Users] vcsrepo type, svn, & ensure => latest

2010-07-13 Thread James Turnbull
Michael Can you provide logs so I can see what's happening --debug please. Thanks James Turnbull On 12/07/2010, at 11:12 PM, Michael Knox wrote: > > > Hi all, > We have some data in SVN repos and I'd like puppet to ensure that a) the > latest copy is checked out, and b) reload a service i

Re: [Puppet Users] External nodes script does not work with multiple environments

2010-07-13 Thread Alan Barrett
On Tue, 13 Jul 2010, Kenneth Holter wrote: > So it looks like puppetmaster simply bypass the whole puppet.conf file > (or at least the "main" and "puppetmasterd" stanzas). I think there was a bug report about puppet.conf being ignored if it contained errors; but I can't find the bug report, and I

Re: [Puppet Users] Deploying Splunk using Puppet

2010-07-13 Thread Ashley Penney
We deploy splunk from our own repo and then use a combination of the below stuff to get it working: (I chopped a few custom environment bits out but you'll get the idea from the stuff below) Obviously there's a bunch of files and a few templates but they are almost all environment specific/the sto

[Puppet Users] Re: puppet capistrano and repository

2010-07-13 Thread bmort
Good stuff thanks all. All of the responses have got me thinking. Sorry for any confusion about the starting of the puppet client. Whenever I feel like is the goal. Process goal: - change a monit, apache, odbc, passenger, mongrel config - check that change(s) into svn for that server(s) - start p

Re: [Puppet Users] External nodes script does not work with multiple environments

2010-07-13 Thread Kenneth Holter
After investigating further I've found this: When commenting out the environment stanza the puppet.conf file (in my case the "testing" environment), everything seems ok wrt (amongs others) these variables: [r...@puppetmaster tmp]# puppetmasterd --no-daemonize --configprint all|egrep -i 'external|v

[Puppet Users] apt-rpm package downgrade

2010-07-13 Thread Antony Mayi
Hi, I am using apt-rpm provider and have following manifest for keeping some package at particular version package { "somepackage": ensure => "1.0.0" } however if from some reason the package gets upgraded to some higher version, puppet can't downgrade it because of following error:

Re: [Puppet Users] Deploying Splunk using Puppet

2010-07-13 Thread Alex Howells
On 13 July 2010 12:05, Matthew Macdonald-Wallace wrote: > I'll take a look at this and see if it needs adjusting. Looks like his module is pretty specific to Gentoo Linux. Good effort though and should be easy to port over. -- You received this message because you are subscribed to the Google G

Re: [Puppet Users] Deploying Splunk using Puppet

2010-07-13 Thread Matthew Macdonald-Wallace
Thanks Dan, I'll take a look at this and see if it needs adjusting. I've just been told that there is an RSS feed for versions that I can subscribe to so I can keep my own Yum Repo updated (we use Centos here... :( ) M. On 13 July 2010 11:48, Dan Carley wrote: > On 13 July 2010 11:23, Matthew

Re: [Puppet Users] Deploying Splunk using Puppet

2010-07-13 Thread Dan Carley
On 13 July 2010 11:23, Matthew Macdonald-Wallace wrote: > We're looking at deploying Splunk using puppet - can anyone give any > guidance on the best way to do this? > > We need to setup light-forwarders and an indexing service via puppet > manifests however it looks like we're going to have to ma

[Puppet Users] Deploying Splunk using Puppet

2010-07-13 Thread Matthew Macdonald-Wallace
Hi all, We're looking at deploying Splunk using puppet - can anyone give any guidance on the best way to do this? We need to setup light-forwarders and an indexing service via puppet manifests however it looks like we're going to have to maintain a custom yum repo - how do other people do it? Ki

Re: [Puppet Users] puppet capistrano and repository

2010-07-13 Thread Julian Simpson
> > Running Puppet without a puppetmaster would be one reason. > > You could have a repository of your manifests that your machines check > out and run against. Cap is a poor mans way of orchestrating that > setup in lieu of something more powerful like MCollective. > > I could have asked that ques

Re: [Puppet Users] External nodes script does not work with multiple environments

2010-07-13 Thread Kenneth Holter
I've pasted the output of the suggested commands here: http://pastebin.com/npd6akwY I noticed that configprint shows that "extrenal_nodes" gets set to "none" as soon as I uncomment one of the environments (in this case "testing"). Is there any dependencies or something that the puppetmaster checks