[Puppet Users] Re: Puppet 2.6 on Solaris

2011-03-13 Thread Maciej Bliziński
Hi David, On Jan 31, 9:06 am, David Schmitt wrote: > I'm looking for current puppet packages for Solaris and found only > blastwave (0.25.5), opencsw (http://www.opencsw.org/packages/CSWpuppet/, > 0.25.4) and Gary Law's repo (http://garylaw.net/packages/, 0.25.1). > > Are there any current (2.6.x

Re: [Puppet Users] A ruby question, about arrays

2011-03-13 Thread Mohamed Lrhazi
On Sun, Mar 13, 2011 at 12:04 AM, Naresh V wrote: > $uiso_scanners = { >         "uiso-scanner.example.com" => "192.168.151.21", >         "uiso-scanner1.example.com" => "192.168.18.37", > } This works and I like it better. Thanks a lot. -- You received this message because you are subscribed t

Re: [Puppet Users] Re: Puppet 2.6 on Solaris

2011-03-13 Thread Mark Phillips
On 13 Mar 2011, at 13:48, Maciej Bliziński wrote: > Hi David, > > On Jan 31, 9:06 am, David Schmitt wrote: >> I'm looking for current puppet packages for Solaris and found only >> blastwave (0.25.5), opencsw (http://www.opencsw.org/packages/CSWpuppet/, >> 0.25.4) and Gary Law's repo (http://gary

Re: [Puppet Users] symlink noop error

2011-03-13 Thread John Warburton
On 11 March 2011 20:57, Stefan Schulte wrote: > On Fri, Mar 11, 2011 at 03:20:20PM +1100, John Warburton wrote: > > file {"/path/created/by/some/package/link": > > source => "/path/created/by/some/package/source", > > require => Package["somepackage"], > > } > > > > Currently you're copyin

Re: [Puppet Users] keeping a service running properly

2011-03-13 Thread Ian Mortimer
On Fri, 2011-03-11 at 15:50 +1000, Ben Hughes wrote: > Is there no reason you can't just make the init script output what you > want, A yum update would undo any changes to the init script. > Otherwise the exec{} seems the path of least resistance. Seems like it. Thanks for the reply -- Ian

Re: [Puppet Users] keeping a service running properly

2011-03-13 Thread Ian Mortimer
On Fri, 2011-03-11 at 19:44 +1000, Stefan Schulte wrote: > What are the reasons that your service is running but not the way you > like? Mostly it does but occasionally after a network or power outage terminals reboot before they can contact the server which leaves ypbind running but not bound to

Re: [Puppet Users] keeping a service running properly

2011-03-13 Thread Nigel Kersten
On Thu, Mar 10, 2011 at 5:37 PM, Ian Mortimer wrote: > Hi > > The service in this case is ypbind but it could apply to other > services.  The problem is that `service ypbind status' returns 0 > if the service is running even if it's not bound to the domain. > > Replacing hasstatus with `status =>

Re: [Puppet Users] keeping a service running properly

2011-03-13 Thread Nigel Kersten
On Sun, Mar 13, 2011 at 9:02 PM, Nigel Kersten wrote: > On Thu, Mar 10, 2011 at 5:37 PM, Ian Mortimer wrote: >> Hi >> >> The service in this case is ypbind but it could apply to other >> services.  The problem is that `service ypbind status' returns 0 >> if the service is running even if it's not

[Puppet Users] slight security problem

2011-03-13 Thread Michael Dodwell
Hey, Just wondering if anyone else has noticed this. I'm using thin+puppetmasterd+nginx. If i add a host, sign it's key, run puppetd successfully on it all is good, as expected. If i then revoke/clean the key on the master server, leave the box running, startup another host set the hostname to be