search for: logdest

Displaying 20 results from an estimated 30 matches for "logdest".

2008 Nov 24
0
logdest on client
Hi, I''m running client with --logdest=/var/log/puppet.log just to get a clean puppet log and don''t mix it with messages. # grep . /etc/sysconfig/puppet |grep -v "^#" PUPPET_SERVER=gridinstall01.pic.es PUPPET_LOG=/var/log/puppet.log But I only get this message in new log: # cat /var/log/puppet.log Mon Nov 24 14:5...
2011 Apr 18
3
Logging configuration
How do I tell puppet to log somewhere other than /var/log/messages. None of the logging configuration options seem to do anything any more. Specifically puppetdlog. # The log file for puppet agent. This is generally not used. # The default value is ''$logdir/puppetd.log''. puppetdlog = /var/lib/puppet/log/puppetd.log -- You received this message because you are
2009 Jun 16
4
Schedule puppet runs
Hi All, I would like to pick your brains as to the best way to configure the below senario within puppet. I am currently configuring puppet for our environment and have seperated development/back office from production through configuring roles for each server to identify them as such. What i need to be able todo is have the production servers only update outside of office hours, but have the
2011 Jun 30
7
Puppet agent creates certificates for localhost.localdomain and does not pick up the changed hostname
...hostname set to localhost.localdomain initially at boot-time. There is this script file that runs in rc.local and this is what I do inside it 1. I change the hostname from localhost to xxx.xxxxxx using the hostname command. 2. start the puppet agent as /usr/sbin/puppetd --certname=xxx.xxxxxx --logdest=/var/log/puppet/puppet.log The problem I am facing is that the puppet agent on the VMs creates certificates for localhost.localdomain inspite of me changing the hostname to say xxx.xxxxxxx. I want the puppet agent to pick up the new hostname while creating the certificate, but it doesn''t...
2007 Dec 10
1
problem with puppetmasterd log
Hello, puppetmasterd is running as shown here: puppet 10209 1.1 1.5 138124 62532 ? Ssl 13:37 0:06 /usr/bin/ruby /usr/sbin/puppetmasterd --manifest=/etc/puppet.production/manifests/site.pp --logdest=/var/log/puppet.production/puppetmasterd.log however, the log file is not being updated with information when a client runs puppetd --test Am I missing something obvious? Best, Adam
2012 May 02
8
Puppet logging
Hello all, I am trying to write a script that will check logs for puppet errors to use in a nagios check. I am checking /var/log/messages (RHEL6) but when puppet runs on its 30 minute interval, nothing gets written to messages. I have also looked at /var/log/puppet/puppet.log but that does not seem to be consistent either: [root@gm10v nagios]# tail /var/log/puppet/puppet.log Wed May 02 14:27:47
2013 Jul 23
3
Debugging Puppetmaster with Apache/Rack/Passenger
Hi, I''m currently trying to debug a performance issue I''m having. Therefore I would need "DEBUG" output. When using one puppetmaster process, this is fairly easy by starting it like this: > puppet master --no-daemonize --debug Now I need to see this debug output when running puppetmaster the way I ususally do - using Apache/Rack/Passenger. After looking
2009 Feb 10
3
something wrong with mongrel?
...PUPPETMASTER_PORTS=( 18140 18141 18142 18143 ) PUPPETMASTER_EXTRA_OPTS="--servertype=mongrel" And puppet is running as: puppet 2848 12.8 3.1 147100 131852 ? Rsl 11:52 1:56 /usr/bin/ruby /usr/sbin/puppetmasterd --manifest=/etc/puppet/manifests/site.pp --servertype=mongrel --logdest=/var/log/puppet/puppetmaster.log --servertype=mongrel --masterport=18140 --pidfile=/var/run/puppet/puppetmaster.18140.pid puppet 2866 0.0 0.5 37204 21260 ? Ssl 11:52 0:00 /usr/bin/ruby /usr/sbin/puppetmasterd --manifest=/etc/puppet/manifests/site.pp --servertype=mongrel --logdest=/v...
2013 Jun 05
4
agent prepend every line with var
How would I prepend every log line output with a [var] when I run: var=<myvar> puppet agent -t -o -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to
2007 Oct 30
6
Newb to puppet - Solaris svcadm question
...etc/puppet/manifests/classes/puppet.pp class puppet { file { "/etc/puppet.txt": owner => "root", group => "root", mode => 440, } } that Just Works when the client runs puppet puppetd --verbose --logdest /tmp/p.log --server co-web-989 notice: Starting Puppet client version 0.22.1 info: Config is up to date notice: Starting configuration run notice: //default/puppet/File[/etc/puppet.txt]/owner: owner changed ''brian'' to ''root'' notice: Finished configuration run in...
2012 Oct 10
6
Puppet client not listening on port 8139
...th no method find, save allow * # this one is not stricly necessary, but it has the merit # to show the default policy which is deny everything else path / auth any It seems as though the puppet is running: 4074 ? Ss 0:00 /usr/bin/ruby /usr/sbin/puppetd --server=mypuppetserver.fqdn --logdest=/var/log/puppet/puppet.log But I cant even telnet to port 8139 on the localhost to test that the port is open. Can any one please help? Any suggestions welcome, I have copied the /etc/puppet/*.conf files from another working server. Please Help! -- You received this message because you are...
2007 Jan 10
7
Problem adding facts ...
I have created my first ''fact'', first attempt at Ruby too, and configured the fileserver to server it but when a Fedora (5 or 6) client sync''s puppetd appears to hang. CentOS clients sync and use the new fact fine. Find attached the fact file and the output from ''puppetd --debug --factsync'' on a FC5 client is below. This is a 0.20.1 client and
2007 Apr 09
8
cert problem with client
...t cannot connect. puppetca --clean hostname did not work So here is what I did on both the server/client I removed /var/lib/puppet/* Then I restarted the server via puppetmasterd --mkusers --verbose I then connect in via the client with /usr/bin/ruby /usr/sbin/puppetd --server=10.100.177.5--logdest=/var/log/puppet/puppet.log --waitforcert=500 --verbose In the master my first connect i see otice: Allowing unauthenticated client njrh-tch502.fxserver.com( 10.100.177.11) access to puppetca.getcert notice: Host njrh-tch502.fxserver.com has a waiting certificate request I sign the key.. I ctrl+c...
2012 Feb 29
4
Windows Puppet 2.7.12rc1-7-g281901e hands at end of run
...ty until I terminate the process as described then it has a complete log. Also, the configuration specified is not completed. My windows machine is named: WN7X64-6MYJ5Q1 It has a share called: \\WN7X64-6MYJ5Q1\source Puppet command: puppet agent --verbose --server master.puppet.xxxxxxx.com --logdest c:\junk\puppetinfo_832.txt Log File Contents: Wed Feb 29 09:30:42 -0600 2012 Puppet (notice): Starting Puppet client version 2.7.12 Wed Feb 29 09:30:55 -0600 2012 Puppet (info): Caching catalog for wn7x64-6myj5q1 Wed Feb 29 09:30:55 -0600 2012 Puppet (err): Failed to apply catalog: Parameter sourc...
2013 Jun 06
5
Puppet 3.1.1 Windows crashes
I noticed that a number of my Windows hosts had stopped dialing in, and upon closer inspection I found that Puppet was crashing in Ruby and wevtapi.dll. I can''t find any reference to this in the issue tracker, although I''ve got over a dozen occurrences in my environment, all with the same descriptions as below. I checked to see if the times were similar, in case the server
2011 Aug 17
4
Puppet agent hangs for over a minute, no info in --summarize
...usage, but really, really annoying when testing the manifests I''m starting to create. Below is a snippet of the agent''s output when run with: puppet agent --test --noop --debug --trace --verbose --waitforcert 0 Master is running as: puppet master --no-daemonize --debug --trace --logdest --summarize Agent log segment: [snip] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ puppet] debug: Finishing transaction 70059796256340 debug: Using cached certificate for ca debug: Using cached certificate for ubuntu05.wic.west.com debug: Finishing transaction 70059798542500 d...
2007 Aug 30
4
Templates and Ruby
Hi, I am using a template to create an /etc/exports file. I have a template that looks like this (but results in the puppetmasterd dying on the server when the client updates): <% nfsHomeClients.split.each do |host| -%> /nfs <%= host %>(<%= mainshareoptions %>) <% nfspaths.each do |path| -%> <%= path %> <%= host %>(<%= nfsoptions %>) <% end
2011 Aug 19
0
2.7.3 and debug messages
...e messages get printed out to the screen as use to with older versions of puppet -- and all those messages now seem to be in the /var/log/system.log (on the Mac - 10.6 & 10.7) Anyone know how to get all the debug messages to print to the screen, instead of, or in addition to the log? the --logdest console didn''t work... Thanks, -Roy -- 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@goo...
2010 Nov 11
12
When do modules get auto-imported
My understanding was that at the beginning of each run the puppetmaster imports all modules so that any includes at the top level are applied directly. However, I am not so sure anymore. I''ve been tracing how this works and it seems like modules are included more lazily. In other words, when able_to_import is called seems like when the magic happens, rather than up front when the run
2012 Sep 14
2
assistance needed - err: Could not retrieve catalog from remote server: execution expired
...g from remote server: execution expired I disabled passenger and ran through the builtin webrick, and confirmed that only one node is talking to the master. No change. No helpful information in the master log. I''m running the master with: /usr/sbin/puppetmasterd --no-daemonize --debug --logdest console --verbose --trace and some relevant puppet.conf portions on the master: storeconfigs = true thin_storeconfigs = true reports = log,puppet_dashboard reportfrom = root syslogfacility = user # Remote Inventory Service facts_terminus = rest inventory_server = tv-puppetma1.techtarget.com # fq...