similar to: N00B questions: How to dynamically set hostname in a config file . . .

Displaying 20 results from an estimated 10000 matches similar to: "N00B questions: How to dynamically set hostname in a config file . . ."

2007 May 23
6
Brainstorming - how to manage Shorewall rules
Shorewall (IP Tables frontend - www.shorewall.net) has been kind of a headache in trying to move forward with puppet - we just haven''t found a clean way to manage the "rules" file. With that in mind - would it be possible to create a "shorewall_rule" type? The rules file is a simple file with space/tab delimited fields: (I can provide a detailed explanation of each
2007 May 04
3
fileserver hanging
hello, we just wanted to rollout our new puppetized dmz. therefore i change all ip adresses from the test network to the live ips. after restarting puppetmasterd it seems that the fileserver hangs: client log: debug: //true_base/update-check/File[/sbin/update_check.pl]/require: requires Package[libmail-sendmail-perl] debug: //true_base/puppetd/File[/etc/puppet/puppetd.conf]/require: requires
2007 Dec 05
8
How does one use a module?
Greetings - Maybe I''m a bit slow, but I''ve been trying to understand how to use a module for the better part of a day and I''m not getting it. Here''s what I''ve done: Using puppet 0.23.2 1. Downloaded the shorewall module from David Schmitt''s git repo (Thanks David!!!!) and placed it in the directory /var/lib/puppet/modules (using the rpm
2007 Oct 25
3
Upcoming USENIX/LISA conference
Greetings - Does anyone have plans for a Puppet BOF at LISA this year? I''ve seen some talk on the LOPSA configmgmt list about Config Mangement BOF''s, but nothing focused on Puppet. Please, Please, mom, can we have a BOF, PUHLEESE!!!! Luke - I hope you''ll be there so I can at least buy you dinner and beers/drinks for making my SA life easier with Puppet. Cheers, Jeff
2007 Nov 29
5
Solaris Zone site.xml recipe
I was finally able to get ldapnodes [1] working on our puppetmaster so i''m able to start working on the fun stuff. In the last few days it has become critical that we come up with a better way to manage the configuration of our Solaris zones. I am planning to write a recipe that provisions the zone [using the zone resource type], but would like to avoid having to keep a stockpile
2007 May 10
3
Bug or misconfiguration? Trying to add local user in NIS environment
Hello - Is the following a configuration issue (which is usually the case) or a bug? I''m trying to ensure a local user is present in a NIS environment using the following recipie: class dduck_add { user { "dduckl": ensure => present, uid => 60030, gid => "100", groups =>
2006 Nov 02
7
Error reloading manifests
Hi there, I''m running puppetmasterd manually while testing, and I was trying to split my manifest in several parts using import. If I do so whenever I run the puppetmasterd the manifest gets loaded and served correctly: cognos ~ # puppetmasterd -v info: Starting server for Puppet version 0.20.0 info: Parsed manifest in 0.02 seconds info: /var/lib/puppet/files: allowing *.example.org
2008 Jan 02
4
Puppetmaster doesn''t know itself
I restarted puppetmasterd and it announced that the Cert does not match existing key ! [root@puppet ~]# puppetmasterd --verbose --no-daemonize info: Starting server for Puppet version 0.24.1 info: mount[files]: allowing 10.100.0.0/16 access info: mount[files]: allowing *.gridapp.com access info: mount[files]: allowing *.dev.gridapp.com access info: Retrieving existing certificate for
2007 Sep 17
7
syslog spam
Is there any "correct" way to get puppetmasterd to not spam syslog with (mount[blah]) File source foo does not exist messages when using file source selection lists? I use them quite extensively, so it''s getting quite out of hand. The last resort will be to comment out the offending print statement! -- Russell A. Jackson <raj@csub.edu> Network Analyst California State
2007 May 04
9
RFC: Configuration file consolidation (#206)
Hi all, This has theoretically been a high priority for a long time, and I''m finally going to get it done, I think. Here''s my plan, and I''d appreciate any comments you might have on it. Currently, sections only have meaning internally, in that one can call ''config.use(section)'' to create any directories needed for that section. Additionally,
2006 Sep 21
3
FreeBSD startup script, can''t set pidfile
Hi, I''ve installed puppet gem on freebsd 6.1 and wrote a simple startup script for puppetmasterd. It starts fine, but doesn''t create the pidfile, so I can''t stop it. Here is my script: #!/bin/sh utility_enable=${utility_enable-"NO"} utility_flags=${utility_flags-""} utility_pidfile=${utility_pidfile-"/var/run/puppetmasterd.pid"} .
2007 Feb 08
16
exported ressources
Hello, i wanted to know if we can use exported ressrouces to do things like this: - for all nodes tagged as xxx create on the node yyy a file which content is a template where we can have each hostname , or create one file per nodes matching exemple /etc/hosts.allow sshd: host1 sshd: host2 ... or /etc/backuppc/host1 /etc/backuppc/host2 ... from the docs it seems i can collect only ALL
2007 Dec 22
8
puppet with postgresql adapter
Hi all, i'' m trying to configure puppet to use rails with postgresql. I'' m having troubles to make it work. Got no error when running puppetmasterd but nothing is being populated in the DB. Is anybody using puppet with postgres ? my config (in puppet.conf) [rails] dbadapter = postgresql dbname = mydb dbserver = localhost dbuser = user dbpassword = password
2007 Mar 19
3
certificate trouble
Hi Puppet-Team, first thanks for this great configuration management tool ! My name is Matt and i am on creating a puppet plugin for openQRM. The basic framework is already existing and working well so far. Now, after having it working ok once i now ran into a problem that my puppet-clients do not get their configuration any more from the puppetmasterd. What i saw on the puppetmasterd logs is :
2007 Jun 14
19
Please test export/collect from svn
For those of you out there using export/collect (which we really need to come up with a better name for...), can you test the current SVN code? I''m mostly wondering if the performance is any better. To use it, you''ll have to remove your current database, since the database schema is significantly changed. I''m getting what looks like an additional 25% reduction
2008 Apr 10
2
uninitialized constant Puppet::Network::Handler::FileServer::AuthStoreError ?
Hi Folks, Just wondering what the above error means. I followed the instructions in http://www.howtoforge.com/installing_puppet_on_ubuntu and when I try to startup the server it fails with the error in the subject of this message. I am running the server on Ubuntu/i386/gutsy. In particular, # puppetmasterd --verbose --debug debug: puppetmasterd: Setting logdir to
2007 Oct 26
3
freebsd service management redux
After reading the rc.subr(8) man page and Newburns''s article on the rc.d subsystem[1], It''s clear that a rc.conf.d per service file structure is already natively supported on FreeBSD. I''ve verified this with my own testing: # echo puppetmasterd_enable=\"YES\" > /etc/rc.conf.d/puppetmasterd # /usr/local/etc/rc.d/puppetmasterd start Performing sanity check
2006 Dec 29
3
SVN Release Candidate: Please test
Hi all, I''m getting very close to the next release of Puppet, and I need help making sure it''s as bug-free as possible. The major changes in this version relate to Rails (and thus resource collect/export) and transaction internals. If you are currently using Puppet''s rails support, you''re going to have to migrate manually, unfortunately (or just
2007 Sep 10
6
puppetshow setup.pp
Hi guys, I''ve just checkout the puppetshow code, and I was looking for the setup.ppfile, but I cant find it anywhere.... anyone has an idea where should i look for it? (or what needs to be done?) Thanks, Ohad _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
2007 Nov 28
7
puppetrun failing: "connect'': tlsv1 alert unknown ca"
I''m trying to get puppetrun to work, without luck so far. I have my puppetmaster and clients working fine with the clients polling the master. Now I want to be able to force an update. Using version 0.23.2 On the client I set listen=true and created the namespaceauth.conf file. Restarted puppetd and it appears fine. On the master I run puppetrun as root and get root@plane:/etc/puppet#