[Puppet Users] Re: service not starting

2008-11-05 Thread Sebastian Vieira
On Wed, Nov 5, 2008 at 4:48 PM, Peter Meier <[EMAIL PROTECTED]> wrote: > - If the init.d script provides the status option you can set the > hasstatus fo the service to true, so it will call the init.d script and > check with that. Yes sir, that solved the issue. Thanks a lot :) - However it mi

[Puppet Users] Re: use of arrays with templates

2008-11-05 Thread Aj
search my.domain.tld <% nameserver.each do |n| %> nameserver <%= n %> <% end %> On 6/11/2008, at 7:52 AM, tek-ops <[EMAIL PROTECTED]> wrote: > > no one has dealt with this before? > > On Nov 3, 4:39 pm, tek-ops <[EMAIL PROTECTED]> wrote: >> I appear that this will only work if the array is decla

[Puppet Users] Re: CSWpuppet puppetd.conf empty

2008-11-05 Thread elijah wright
On Wed, Nov 5, 2008 at 3:27 PM, Loobster <[EMAIL PROTECTED]> wrote: > Thanks those links helped me out. > > I'm wondering if it's possible to do something like this on the > clients: > If /usr/local/firefox-3.0.3 does not exist, copy tar file from the > server and run a script. You can certainl

[Puppet Users] Re: CSWpuppet puppetd.conf empty

2008-11-05 Thread Loobster
James, Thanks those links helped me out. I'm wondering if it's possible to do something like this on the clients: If /usr/local/firefox-3.0.3 does not exist, copy tar file from the server and run a script. or something similar would be: if adobe reader is not at a particular version, copy tar

[Puppet Users] Re: Weird error message

2008-11-05 Thread martin
It turned out that the file had gotten corrupted and unfortunately my fingers were faster than my brain, so I managed to delete the file before I could send it to the list... If it happens again I'll make sure to save a copy :) cheers, /Martin On Oct 31, 8:01 am, "Andrew Shafer" <[EMAIL PROTECT

[Puppet Users] Re: wildcards in file type?

2008-11-05 Thread Arnau Bria
On Wed, 05 Nov 2008 18:48:12 +0100 Peter Meier wrote: [...] > http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions#how-can-i-manage-whole-directories-of-files-without-explicitly-listing-the-files my god, I did some search on the wiki, but did not find that link. many thanks! > gr

[Puppet Users] Re: use of arrays with templates

2008-11-05 Thread tek-ops
no one has dealt with this before? On Nov 3, 4:39 pm, tek-ops <[EMAIL PROTECTED]> wrote: > I appear that this will only work if the array is declared in the > manifest. > > I'm attempting to make resolv.conf a template in which I can specify > by node which array of name servers to use.  which lo

[Puppet Users] Re: wildcards in file type?

2008-11-05 Thread Peter Meier
Hi >>> how may I do something like: >>> file { "/usr/local/sbin/*": >>> ensure => file, >>> owner => "root", >>> group => "root", >>> mode => "700", >>> source => >>> "puppet://gridinstall01.pic.es/files/usr/loc

[Puppet Users] Re: wildcards in file type?

2008-11-05 Thread Arnau Bria
On Wed, 05 Nov 2008 17:37:45 +0100 Peter Meier wrote: > > Hi Hi pete, > > how may I do something like: > > file { "/usr/local/sbin/*": > > ensure => file, > > owner => "root", > > group => "root", > > mode => "700", > >

[Puppet Users] Re: wildcards in file type?

2008-11-05 Thread Peter Meier
Hi > how may I do something like: > > > file { "/usr/local/sbin/*": > ensure => file, > owner => "root", > group => "root", > mode => "700", > source => > "puppet://gridinstall01.pic.es/files/usr/local/sbin/"

[Puppet Users] wildcards in file type?

2008-11-05 Thread Arnau Bria
Hi, how may I do something like: file { "/usr/local/sbin/*": ensure => file, owner => "root", group => "root", mode => "700", source => "puppet://gridinstall01.pic.es/files/usr/local/sbin/", }

[Puppet Users] Re: service not starting

2008-11-05 Thread Peter Meier
Hi >> However when the file is already there, all that happens is the service >> resource looks in the process list to check if the service is already >> running. My guess is that it think it is running, so it does nothing. > > > I think it 'greps' incorrectly, because i see [kauditd] running a

[Puppet Users] Re: service not starting

2008-11-05 Thread Sebastian Vieira
On Wed, Nov 5, 2008 at 4:09 PM, Marcin Owsiany <[EMAIL PROTECTED]> wrote: > > My guess is that it works when you delete the file, because the File > resource explicitly notifies the Service resource, resulting in a > restart. > I think your guess is accurate :) > However when the file is alrea

[Puppet Users] Re: service not starting

2008-11-05 Thread Sebastian Vieira
On Wed, Nov 5, 2008 at 4:04 PM, Phillip Scholz <[EMAIL PROTECTED]>wrote: > what happens if you add a subscribe for the package to the service? > > >service { >"auditd": >ensure=> running, >enable=> true, >hasrestart=> true, >

[Puppet Users] Re: service not starting

2008-11-05 Thread Marcin Owsiany
On Wed, Nov 05, 2008 at 01:10:41PM +0100, Sebastian Vieira wrote: > Don't mean to be annoying, but i kind of ran out of ideas. If anyone can > help it would be appreciated. If not, i have to look for another (ugly) > solution. My guess is that it works when you delete the file, because the File r

[Puppet Users] Re: service not starting

2008-11-05 Thread Phillip Scholz
what happens if you add a subscribe for the package to the service? service { "auditd": ensure=> running, enable=> true, hasrestart=> true, subscribe=> [ File["/etc/audit/auditd.conf"], Package["audit"] ],

[Puppet Users] Reports and Reporting

2008-11-05 Thread Arnau Bria
Hi again, I'm trying to configure puppetview (http://www.devco.net/pubwiki/Puppet/PuppetView) cause is one interesting thing I'd like to evaluate before moving to puppet. I'm following the above link but now I have some problems when sending reports from client to server. It says that I must

[Puppet Users] Solaris legacy services

2008-11-05 Thread AndrewHolt
Hi, I have a legacy (started via /etc/rc3.d/ script) service that I want to restart when its config file changes. The service command fails because it assumes the use of svcadm. I guess what I want to do is on the config changing, and being uploaded from the master it runs a script. Is there a

[Puppet Users] Re: service not starting

2008-11-05 Thread Sebastian Vieira
Don't mean to be annoying, but i kind of ran out of ideas. If anyone can help it would be appreciated. If not, i have to look for another (ugly) solution. thanks, S. On Thu, Oct 23, 2008 at 3:11 PM, Sebastian Vieira <[EMAIL PROTECTED]>wrote: > Hi, > > I'm having difficulty letting a service star

[Puppet Users] Re: installing software with yum

2008-11-05 Thread Arnau Bria
Thanks for your replies. Arnau --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to [E