[Puppet Users] Re: Signing certificates

2011-02-25 Thread Ace
solaris clients. On Feb 25, 4:30 pm, Stefan Schulte wrote: > On Fri, Feb 25, 2011 at 12:53:22PM -0800, Ace wrote: > > puppet cert --list --all | grep clienthostname > > The above command does not list the client host key. I have done a > > puppet cert --clean clienthostname i

[Puppet Users] Re: Signing certificates

2011-02-25 Thread Ace
ady has signed a request from your host > (maybe older from an older installation)? > > Try on master: > >   puppet cert --list --all | grep clienthostname > > On Fri, Feb 25, 2011 at 08:02:29AM -0800, Ace wrote: > > Time is in sync on both client and master. Both are running

[Puppet Users] Re: Signing certificates

2011-02-25 Thread Ace
Time is in sync on both client and master. Both are running NTP. On Feb 25, 10:53 am, Mark Stanislav wrote: > Based on 'time out range' seems that you need to do an NTP sync. > > -Mark > > On Feb 25, 2011, at 10:51 AM, Ace wrote: > > > I am trying to connect a s

[Puppet Users] Signing certificates

2011-02-25 Thread Ace
I am trying to connect a solaris puppet client version 2.6.4 to a linux puppet master server. I am getting a starnge message as below and the puppetca on the master is not able to see the client certificate. [root@ /]$ puppetd --test --server warning: peer certificate won't be verified in thi

[Puppet Users] Re: Managing cronjobs as a file in solaris with appendifnosuchline for specific servers

2011-01-07 Thread Ace
Thanks all, finally got it working now. On Jan 7, 10:00 am, Nigel Kersten wrote: > On Fri, Jan 7, 2011 at 6:27 AM, Ace wrote: > > Can you please state an example explaining how relating classes would > > execute one class before another? > > class foo { >   require "

[Puppet Users] Re: Managing cronjobs as a file in solaris with appendifnosuchline for specific servers

2011-01-07 Thread Ace
Can you please state an example explaining how relating classes would execute one class before another? On Jan 6, 3:15 pm, Nigel Kersten wrote: > On Thu, Jan 6, 2011 at 11:49 AM, Ace wrote: > > As you can see the append function is running last and hence all this > > is working

[Puppet Users] Re: Managing cronjobs as a file in solaris with appendifnosuchline for specific servers

2011-01-06 Thread Ace
As you can see the append function is running last and hence all this is working. What controls the sequence in which the modules/classes/ function execute in puppet? Is this random or during the catalog compilation, puppet understands that it needs to run specific modules earlier and other modules

[Puppet Users] Re: Managing cronjobs as a file in solaris with appendifnosuchline for specific servers

2011-01-05 Thread Ace
As you can see the append function is running last and hence all this is working. What controls the sequence in which the modules/classes/ function execute in puppet? Is this random or during the catalog compilation, puppet understands that it needs to run specific modules earlier and other modules

[Puppet Users] Re: Managing cronjobs as a file in solaris with appendifnosuchline for specific servers

2011-01-05 Thread Ace
modules later. On Jan 5, 3:20 pm, Ace wrote: > Yes this definitely works although it replaces the file and appends > the line to it every time it runs. Is there a cleaner way of doing > it? > > tmp/filetest is a file managed by puppet who's contents are two lines > "testme

[Puppet Users] Re: Managing cronjobs as a file in solaris with appendifnosuchline for specific servers

2011-01-05 Thread Ace
modules later. On Jan 5, 3:20 pm, Ace wrote: > Yes this definitely works although it replaces the file and appends > the line to it every time it runs. Is there a cleaner way of doing > it? > > tmp/filetest is a file managed by puppet who's contents are two lines > "testme

[Puppet Users] Re: Managing cronjobs as a file in solaris with appendifnosuchline for specific servers

2011-01-05 Thread Ace
ifnosuchline[ensure_foobar_in_filetest]/Exec[appendline_/ tmp/filetest_works]/returns: executed successfully notice: Finished catalog run in 6.28 seconds [root@/]$ cat /tmp/filetest testme hmm what does this do works On Jan 5, 1:22 pm, Nigel Kersten wrote: > On Wed, Jan 5, 2011 at 8:27 AM, Ace wrote:

[Puppet Users] Re: Managing cronjobs as a file in solaris with appendifnosuchline for specific servers

2011-01-05 Thread Ace
foobar_in_filetest]/Exec[appendline_/ tmp/filetest_works]/returns: executed successfully notice: Finished catalog run in 6.28 seconds [root@ /]$ cat /tmp/filetest testme hmm what does this do works On Jan 5, 1:22 pm, Nigel Kersten wrote: > On Wed, Jan 5, 2011 at 8:27 AM, Ace wrote: >

[Puppet Users] Re: Managing cronjobs as a file in solaris with appendifnosuchline for specific servers

2011-01-05 Thread Ace
Is there something simpler than the concat module ? Is there a way to control which classes/modules execute first in puppet to make the code mentioned by Nigel work? On Jan 4, 3:08 am, Alan Barrett wrote: > On Mon, 03 Jan 2011, Ace wrote: > > I will be managing the file /var/s

[Puppet Users] Re: Managing cronjobs as a file in solaris with appendifnosuchline for specific servers

2011-01-05 Thread Ace
Is there something simpler than the concat module ? Is there a way to control which classes/modules execute first in puppet to make the code mentioned by Nigel work? On Jan 4, 3:08 am, Alan Barrett wrote: > On Mon, 03 Jan 2011, Ace wrote: > > I will be managing the file /var/s

[Puppet Users] Re: Managing cronjobs as a file in solaris with appendifnosuchline for specific servers

2011-01-05 Thread Ace
that those settings are always applied first. On Jan 4, 11:04 am, Nigel Kersten wrote: > On Mon, Jan 3, 2011 at 1:51 PM, Ace wrote: > > I want to manage cronjobs as a " file " in solaris through puppet and > > not using the puppet cron resource. > > > I wi

[Puppet Users] Managing cronjobs as a file in solaris with appendifnosuchline for specific servers

2011-01-03 Thread Ace
end to the file /var/spool/cron/crontabs/root , something like appendifnosuchline in cfengine? Can "appendifnosuchline" be implemented through puppet even through the file /var/spool/cron/crontabs/root is being managed through puppet? Thanks, Ace -- You received this message because y