search for: puppetd

Displaying 20 results from an estimated 758 matches for "puppetd".

Did you mean: puppet
2007 Feb 27
14
Using a single class multiple times
Hi- Recently starting using puppet while migrating an existing messy group of systems to some nice new hardware. Things are going incredibly well, and puppet''s functioning great. Have a bit of a headache. I''d like to keep myself from duplicating lots of included classes. Lets say I have this (snippet of a) class: class dbserver { file { "/etc/my_${db}.cnf":
2007 Oct 29
2
puppetd and self management
OS: FreeBSD 6.2-RELEASE Puppet: 0.22.4 OS: CentOS 5.0 Puppet: 0.23.2 Is it currently not possible for puppetd to upgrade itself (0.22.4 -> 0.23.2)? I tried it, and when puppetd attempted to restart itself (using the init provider), it failed to start back up. Perhaps the init provider needs to close all file handles before executing the rc.d scripts? Additionally, I had puppetd update its own puppetd.c...
2008 Dec 04
4
puppetmaster built via puppetd
...g to set up my puppetmaster infrastructure with multiple puppetservers behind load balancers in each of our datacenters. i''m using 0.24.6. i''ve read the howto on puppet scalability, and i think i''ve got the ssl config working correct, but i''m noticing that when puppetd is used to build a puppetmaster, some of the files in $vardir/ ssl conflict. from other posts on this list, i''ve gathered that it''s NOT best practice to specify different ssl dirs for puppetd and puppetmaster. i actually tried that and noticed that "puppetca -- clean"...
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 the FC6 is a 0.22.0 and is having the same problem. Without the --factsync the...
2008 Jan 04
4
Help with custom class.
Here is my class class puppetconf { file { "/etc/puppet/puppetd.conf": mode => 644, owner => root, group => root, source => "puppet://puppet/cci/etc/puppet/puppetd.conf", notify => exec[puppet_restart] } file { "/etc/init.d/puppet": mode => 755, owner => root,...
2008 May 27
12
Puppetting the puppetmaster problems
...s. First things first - I install puppetmaster on existing server, used to keep LDAP db (my puppetmaster DOES NOT use LDAP, it just tries to coexist on the same machine). The thing is, I need to puppet this baby, so I''m running into a situation where puppetmaster is maintaining itself via puppetd. Long story short, this is what happens: May 27 15:43:09 ldap_db puppetmasterd[26986]: Starting Puppet server version 0.24.4 May 27 15:43:20 ldap_db puppetd[27001]: Creating a new certificate request for ldap_db.foo.bar May 27 15:43:20 ldap_db puppetd[27001]: Creating a new SSL key at /etc/ puppe...
2006 Sep 23
4
"server" config option (and cmd-line option) don''t do anything for puppetd?
Hi guys, Unlike what it says in the documentation and the --help output, I can''t seem to get puppetd to use the --server setting. The only way I can get puppetd to work is to include a ''puppet'' alias to the ip of the machine I''m running puppetmasterd on in my hosts file. The strange thing though, is that the logs of my puppetmaster show that it *is* getting the requests...
2007 Oct 12
7
puppetd dies?
Greetings all, My deployment of puppet includes a monitrc to make sure that puppetd stays up and running. It seems like (across all of my hosts) that pupeptd will end up dying and restarted by monit. I''m running puppetd under a screen session now on one particular host with --debug --verbose to see if any thing comes out on console but until it happens again, any anybod...
2007 Apr 27
5
puppetd -v -o hangs
I''m having this issue where "puppetd -v -o" hangs (won''t return my prompt) when starting a daemon I wrote. If puppetd is running as a daemon a zombie process is created each time puppetd tries to start my daemon. Puppet detects when the daemon is down and starts it just fine. I''m using version 0.22.3 on RHEL...
2009 Jul 13
7
puppetd no-daemonize
So I have been trying to run puppet once in my kickstart %post scripts but every time it detaches and daemonizes even though I have explicitly stated otherwise. Am I missing something? # rpm -q puppet puppet-0.24.8-1 # /usr/sbin/puppetd --onetime --no-daemonize --verbose --debug debug: Creating default schedules debug: Failed to load library ''shadow'' for feature ''libshadow'' debug: Failed to load library ''ldap'' for feature ''ldap'' debug: /Settings[/etc/puppet/pu...
2009 Feb 10
7
Lock file /var/lib/puppet/state/puppetdlock
...d catalog for xxxx in 1.83 seconds Feb 9 21:41:37 vs4 puppetmasterd[17942]: Compiled catalog for xxxx in 0.91 seconds These are all for the same client; everything appears normal until 21:41, then no more checks from the client (it''s now 10:17 on Feb 10). On the client, I tried running puppetd manually: # puppetd -t notice: Lock file /var/lib/puppet/state/puppetdlock exists; skipping catalog run A look at the lock file: # ls -l /var/lib/puppet/state/puppetdlock -rw-r--r-- 1 root root 5 2009-02-09 22:11 /var/lib/puppet/state/puppetdlock ...shows that it was probably created at the nex...
2007 Jan 15
7
Yaml Segfaults on ubuntu puppetd client
While running puppetd on a linux client I get the following, the actual spot that the segfault happens varies, but it always happens. This is on ubuntu with the stock apt ruby1.8.4 package. Puppet also installed from apt. Puppet version 0.18.4 It seems very likely that this isnt a bug in puppet per se, but it is tic...
2006 Aug 31
4
crashes
...pet. Unfortunately, it keeps crashing in a variety of places. I don''t have much experience with Ruby yet, so any tips in tracking down these problems would be appreciated. I''m using the Debian package 0.18.4-1. Here''s the output of a couple runs: www01:/home/cwarden# puppetd --verbose --onetime info: Caching configuration at /etc/puppet/localconfig.yaml /usr/lib/ruby/1.8/puppet/type.rb:831: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24) [i486-linux] Aborted www01:/home/cwarden# puppetd --verbose --onetime info: Caching configuration at /etc/puppet/localconfig.yaml...
2009 Jul 01
10
Forcing puppetd ask puppemasterd for new changes
Guys, I seriously could not find this topic in the documentation. What do you do when you need to force puppetd hosts get the new settings from puppetmasterd? What I found was only sending USR1 signal to the client process in order to make it refresh its configuration from the master. But I find it a bit inconvenient for a large amount of hosts. There is also puppetrun which, if I understand correctly, can...
2007 Apr 13
2
puppet reporting an older version installation
...t; yum, } I added puppet 0.22.3 to my internal repository and all servers updated to that version, but I''m receiving reports like this: ensure changed ''0.22.3-1'' to ''0.20.0-1.fc4'' Here the logs of one of the servers (CentOS 4.3) at the update moment: puppetd[16126]: Starting configuration run yum: Updated: puppet.i386 0.22.3-1 puppetd[16126]: (//mynode.com/anynode/Package[puppet]/ensure) ensure changed ''0.22.2-1'' to ''0.22.3-1'' puppetd[16126]: Finished configuration run in 78.08 seconds puppetd[16126]: Starting confi...
2008 Apr 22
9
Puppetd exits when "puppet" can't be resolved
...In the future I will be going to this on laptops and then network- manager will most likely come in handy yet at the same time it renders puppet useless. Any suggestions on how to properly fix this? Just to be sure, a snippet from the logfile displaying the error I get: Apr 22 15:00:19 newton2 puppetd[25254]: Starting Puppet client version 0.24.4 Apr 22 15:00:20 newton2 puppetd[25254]: Could not find server puppet: getaddrinfo: Name or service not known Apr 22 15:00:20 newton2 puppetd[25254]: Could not retrieve catalog: Could not find server puppet Regards, Jelmer Jaarsma --~--~---------~--~--...
2008 Apr 02
1
service won't restart puppetd
I''ve got the following class that runs if I activate the repo in /etc/yum.conf. If I run "puppetd -t" from the command line it will restart puppetd fine. If I let the class run on it''s own as a deamon puppetd does not restart. The puppetmaster on the other hand does restart using either method. I ran the client in "--debug" but that doesn''t seem to show anythi...
2007 Jun 04
3
Method of specifying tags in the puppetd.conf
Hi, From looking at the puppetd --help, there is not currently (at 0.22.4) a method of specifying tags in the puppetd.conf. I was hoping to use this for the following reason: Currently, I use ''noop = true'' in my puppetd.conf, and run ''puppetd --no-noop {tags}'' to install the configurations...
2009 Nov 17
2
Just what is puppet doing here?
What is puppet doing here? Nov 17 00:02:01 gumby yum: Installed: tf-starterkit-tfel0-1.0-1.tf.noarch Nov 17 00:02:01 gumby puppetd[720]: (//Node[gumby.fr.xxx.com]/Starterkit::Setup[tfel0]/Package[tf-starterkit-tfel0]/ensure) created Nov 17 00:02:07 gumby yum: Installed: tf-jboss-server-4.2.3.GA-1.tf.noarch Nov 17 00:02:07 gumby puppetd[720]: (//Node[app_node]/jboss::server/Package[tf-jboss-server]/ensure) created Nov 17 00:02:...
2009 May 29
3
puppetd doing noting as daemon
Hi, I have a lot of systems where the puppetd doesn''t do anything .. When I test with puppetd -tv, it s running well, but when it is started as deamon th process do nothing :( How can I debug this ? Vincent May 29 10:07:56 puppetd[6160]: Reopening log files May 29 10:07:56 puppetd[6160]: Starting Puppet client version 0.24.8 May 2...