Erlend Leganger
2009-Nov-08 14:01 UTC
[Puppet Users] Where are the puppet logs on Solaris 10?
I set up puppet for the first time yesterday, on two Solaris 10 machines, each running puppet v0.24.7. I made a modified version of the initial manifest described in http://reductivelabs.com/trac/puppet/wiki/InstallationGuide (updating /etc/passwd, sudoers doesn''t exist in Solaris). Things work fine both on master and client, but where are the log files so that I can see what is going on? I understand puppet logs to syslog, but grep -i puppet $(find /var/log) returns nothing, where else should I look? - Erlend Leganger Here is what I see on the client: root@sol10u7ga-02:/$ puppetd --test info: No classes to store info: Caching catalog at /var//opt/csw/puppet/state/localconfig.yaml notice: Starting catalog run notice: Finished catalog run in 0.03 seconds root@sol10u7ga-02:/$ root@sol10u7ga-02:/$ root@sol10u7ga-02:/$ cat /var/opt/csw/ cswclassutils/ pkg-hooks/ puppet/ svc/ root@sol10u7ga-02:/$ cat /var/opt/csw/puppet/ clientbucket/ lib/ log/ run/ state/ root@sol10u7ga-02:/$ cat /var/opt/csw/puppet/state/localconfig.yaml --- !ruby/object:Puppet::TransBucket classes: [] children: - !ruby/object:Puppet::TransObject params: group: root mode: "440" owner: root file: /etc//opt/csw/puppet/manifests/site.pp tags: - file - class - main line: 3 name: /etc/passwd type: file name: :main type: Class root@sol10u7ga-02:/$ uname -a SunOS sol10u7ga-02 5.10 Generic_139556-08 i86pc i386 i86pc root@sol10u7ga-02:/$ --~--~---------~--~----~------------~-------~--~----~ 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 puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
robert.gstoehl
2009-Nov-09 12:59 UTC
[Puppet Users] Re: Where are the puppet logs on Solaris 10?
A stock Solaris 10 syslog logs to /var/adm/messages. Cheers Robert On Nov 8, 3:01 pm, Erlend Leganger <elegan...@gmail.com> wrote:> I set up puppet for the first time yesterday, on two Solaris 10 > machines, each running puppet v0.24.7. I made a modified version of > the initial manifest described inhttp://reductivelabs.com/trac/puppet/wiki/InstallationGuide(updating > /etc/passwd, sudoers doesn''t exist in Solaris). Things work fine both > on master and client, but where are the log files so that I can see > what is going on? I understand puppet logs to syslog, but grep -i > puppet $(find /var/log) returns nothing, where else should I look? > > - Erlend Leganger > > Here is what I see on the client: > > root@sol10u7ga-02:/$ puppetd --test > info: No classes to store > info: Caching catalog at /var//opt/csw/puppet/state/localconfig.yaml > notice: Starting catalog run > notice: Finished catalog run in 0.03 seconds > root@sol10u7ga-02:/$ > root@sol10u7ga-02:/$ > root@sol10u7ga-02:/$ cat /var/opt/csw/ > cswclassutils/ pkg-hooks/ puppet/ svc/ > root@sol10u7ga-02:/$ cat /var/opt/csw/puppet/ > clientbucket/ lib/ log/ run/ state/ > root@sol10u7ga-02:/$ cat /var/opt/csw/puppet/state/localconfig.yaml > --- !ruby/object:Puppet::TransBucket > classes: [] > children: > - !ruby/object:Puppet::TransObject > params: > group: root > mode: "440" > owner: root > file: /etc//opt/csw/puppet/manifests/site.pp > tags: > - file > - class > - main > line: 3 > name: /etc/passwd > type: file > name: :main > type: Class > root@sol10u7ga-02:/$ uname -a > SunOS sol10u7ga-02 5.10 Generic_139556-08 i86pc i386 i86pc > root@sol10u7ga-02:/$--~--~---------~--~----~------------~-------~--~----~ 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 puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---