search for: kbrede

Displaying 19 results from an estimated 19 matches for "kbrede".

Did you mean: brede
2007 Aug 20
6
Using case in class
OK, I started down this road a few months ago and got side tracked with project work. I have a class called "install" that I want to use with only machines on one protected subnet. In my site.pp file, among other node entries, I have - node default { install } The class itself - class install { case $domain { "test.example.com": { file:
2007 Feb 14
9
managing multiple files
How can I express the following in puppet? $http_conf = "/etc/http/conf/httpd.conf" $vhosts_conf = "/etc/http/conf/vhosts.conf" @files = ("$httpd_conf", "$vhosts_conf") foreach f (@files) { file { "$f": owner => root, group => root, mode => 664, source => "puppet://$server/apache/$f", }
2007 Mar 30
7
subversion and /etc/puppet
I''m trying to come up with a way to manage /etc/puppet on the Puppet server from my workstation. My idea was to place all of /etc/puppet into subversion, check it out to my workstation, commit via ssh, and then use a post-commit to update /etc/puppet. That way any time I made a change in /etc/puppet it would be immediately updated and ready for the next puppetd run. Problem is the
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
2007 Mar 13
11
N00B questions: How to dynamically set hostname in a config file . . .
Greetings - I''ve just started testing Puppet and have a couple of questions: 1. Is there a way to dynamically change a configuraion file that is sent to nodes? For example, I want to modify /etc/hosts to have the hostname and ip address set dynamically - the hosts file shoule look like: 12.34.56.78 node1.example.com 22.35.66.99 server1.example.com But I don''t want to
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 5. Here''s the class. I''ve
2007 Apr 09
8
cert problem with client
I recently had a working puppet server serving around 4-5 clients. One of the clients needed to be re-built and now only that client 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
2008 Feb 04
5
possible issue with puppet/yum - maybe a repeat
Hi working with the following puppet-0.24.1-1 puppet-server-0.24.1-1 ruby-1.8.1-7.EL3.8 rhel3 u8 The puppetmaster is running on rhel4 u5 I am working with puppet and rhel3 u8 and I have any an issue anytime I ask puppet to interact with yum for the record - yum from the cli works perfectly I setup a class to manage ntpd and in the class I have the following function # make sure ntpd is
2007 Oct 12
1
puppetmaster.freshness, 500 Internal Server Error
I''m getting the following error when trying to run puppetd on the server. I''m using version 0.23.2 from the dlutter repo. The OS is RHEL 5. Any idea what this is? I see reference to namespaceauth.conf regarding this problem but I can''t find anything definitive. [puppet]# puppetd -v -o err: Could not call puppetmaster.freshness: #<RuntimeError: HTTP-Error: 500
2007 Mar 29
2
case statement - Invalid tag error
Below is a simplified version of a class I''m using. I found that using a single character in the case statement results in the following error. [root@puppet classes]# puppetd -v -o notice: Ignoring --listen on onetime run info: Facts have changed; recompiling err: Could not retrieve configuration: Invalid tag "w"
2007 Feb 13
1
core dump
I''m running Ubuntu Edgy and have 0.22.1 installed from source. I''m running puppetmaster on the box. When I run "puppetd -v -o" on the same machine, I get the error in the file I''ve attached. I was running 0.20.1 just fine from .debs and then updated to 0.22.1 source. Is there any way to cleanly uninstall puppet so I can start over? Any advice as to what is
2007 Feb 13
0
Puppet on Ubuntu Edgy
Is anyone having problems with running Puppet 0.22.1 on Edgy? I installed the puppet and facter packages from Fiesty and I get core dumps when I try to run puppetd on the machine. Prior to that I was using 0.20.1 packages from Debian testing and all seemed well. I posted about the core dump yesterday. Luke recommended upgrading Ruby so I grabbed ruby-1.8.5-p12 source and installed. The prior
2007 Feb 16
1
Can''t get puppetrun to work
I''ve tried this on two different setups all running 0.22.1. One group is Ubuntu/OpenBSD the other is RHEL4/RHEL4. Master has signed client certs. puppetd works fine from client. If I run from the server side: root@server:~# puppetrun --host client_host.example.com Failed to load ruby LDAP library. LDAP functionality will not be available Triggering client_host.example.com Host
2007 Feb 17
1
Not authorized to call puppetmaster.freshness ?
What''s this mean? root@gravity:/etc/puppet/manifests# puppetd -v --listen info: Starting handler for Runner info: Starting server for Puppet version 0.22.1 info: Listening on port 8139 notice: Starting Puppet client version 0.22.1 err: Could not run Puppet::Client::MasterClient: Host gravity.example.org not authorized to call puppetmaster.freshness Thanks, Kent -- "It may be true
2007 Feb 23
2
Ubuntu tutorial
I''ve submitted the following to howtoforge.com for approval. My plan is to create similar docs for OpenBSD, RHEL and installing from source. I''d certainly appreciate comments on how to improve the document, and feedback on errors. http://nixnotes.org/puppet.html Kent -- "It may be true that the law cannot make a man love me, but it can stop him from lynching me, and I
2007 Feb 11
2
tighten up class?
The following works fine but is there some way to make it more succinct? Thanks, Kent class obsd_etc_static { file { "/etc/mygate": owner => root, group => wheel, mode => 644, backup => main, source => "puppet://example.com/obsd_static/mygate" } file { "/etc/rc.conf": owner => root, group => wheel,
2008 Jan 16
1
anyone have 0.23.2-1 puppet and puppet-server rpms for rhel4 & 5?
I just upgraded from 0.23.2-1 on RHEL 4&5 to 0.24.1-1. I used Dlutter''s repository. What a mess I''m in now. Anyway to make a long story short I moved all of the old configs out of the way (/etc/puppet, /var/lib/puppet) and started over with a fresh install. I can''t get puppetd on the server to request a cert. If I do a "puppetd -v --waitforcert 90" the
2007 Apr 13
3
wildcard node name?
Can you wildcard a domain for a node name like the following? node ''*.sub.example.com'' { .... } Thanks, Kent
2007 Feb 11
7
Could not find definition vico_network
I''m trying to manage network files on two nodes, "vico" and "backup." The component "vico_network" below works fine. define vico_network ($owner = ''root'', $group = ''wheel'', $mode = ''644'', $cro_int = ''ne3'', $carp0_skew = '''', $carp1_skew =