similar to: Regex for Nodes?

Displaying 20 results from an estimated 11000 matches similar to: "Regex for Nodes?"

2007 Aug 28
1
using wildcards on node
Hello, Can I use wildcards on the node''s name/address? For example, I want something like this: node ''server-*.domain.com'' { .... } where ''*'' is a number. If this is not possible, there''s another way of reaching this behaviour? Thanks.
2008 Nov 14
11
External_nodes definition not working. Client states "could not find node"
Hello folks, Im trying to migrate from static nodes-definition to external nodes definition. My script looks like this stolen from http://reductivelabs.com/trac/puppet/wiki/ExternalNodes: {{{ #!/usr/bin/perl -w use warnings; use YAML qw( Dump ); use Switch; #initialize vars our @classes; our %parameters; Function to fill @classes and %parameters with correct values .... print Dump( {
2007 Aug 15
5
PuppetDatabase - collection "yes", anything in db "no"
Hi there! I´m trying to get my PuppetmasterDB running. Problem is, though I´m not getting any errors from the puppetmaster there is nothing stored in the database, not even tables are created. I tried "puppetmasterd --dbmigrate", didn´t help either. rails.log is kinda empty too.. Thing is: it kinda works anyway, there is just nothing stored in the DB - exported a user on host A,
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 Jun 27
9
Newbie questions...
I''ve spent the last week or two poring over the documentation and setting up my first puppet environment, and while I''ve figured out how to do most of what I want to do with it, I have some questions that I haven''t been able to find answers for... * Can I match parts of a facter fact? In particular I have hostnames that include the environment as part of the
2007 Oct 16
30
Template Nodes considered harmful
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Russ, Digant, *! Several times on the IRC channel I noticed people having problems getting to grips with the interaction of scopes when using template nodes[1]. Typically this looks thus: | node genericwebserver { stuff } | | node ''web01.example.com'' inherits genericwebserver { | $influence_genericwebserver =
2007 Jul 19
2
yaml representation of manifests
I''m using the external_nodes functionality to read in a flat file of a node''s configuration. Currently said file is a straight yaml file (just to keep things simple). The place I''m currently stuck is in doing some more advance node configurations and placing that data in the yaml file. For example: node ''foo'' { $var1 =
2007 Apr 24
10
Announce: References are now on Trac
I''ve converted all of the inline docs over to restructured text, and I''ve got them all up on trac: http://reductivelabs.com/trac/puppet/wiki/TypeReference http://reductivelabs.com/trac/puppet/wiki/FunctionReference http://reductivelabs.com/trac/puppet/wiki/ReportReference http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference Please let me know if you find any
2007 Jun 20
5
0.23 question
I think that I''m running into the warning on external node support here but after a recent upgrade for my puppetmaster I get: puppetmasterd[19397]: Could not find aa0-006-4.foo.com with names aa0-006-4.foo.com, aa0-006-4 I''ve not changed puppetd.conf which contains: ldapnodes = true ldapserver = my.ldap.foo.com ldapbase = ou=hosts,dc=foo,dc=com I''ve not
2007 Mar 08
3
Solid How-To
I have been all over the wiki pages for puppet and I have noticed that all the configuration examples seem vague. Does anyone know of a good solid resource for start to finish configuration of puppetmaster and puppet (server and client)? A step by step guide would be great.
2007 Jun 15
8
ANNOUNCE: External node attributes
Hi all, This just keeps coming up, again and again, so I decided to take a few hours and break everyone''s configuration. Oh, wait, just kidding. :) Really, I''ve completely rewritten external node support. Here''s the changelog entry: Only ONE node source can be used -- you can use LDAP, code, or an external node program, but not more than one.
2007 Oct 19
3
client update to 0.23.2: "Could not find value for"
hi all, we maintain about 30 puppet managed nodes. the version of the clients is 0.23.0 and 0.23.1. the master is 0.23.0. today we installed a new CentOS 5 node with David Lutterkort''s puppet 0.23.2 rpm. this host is a reinstall of an old FC4 on new hardware. we are getting this error on 0.23.2, never happened before: | Could not retrieve configuration: | Failed to parse template
2007 May 18
5
package installations on schedule or manual run
I would like to have packages installed either in the early morning or whenever I manually choose to do so on a particular machine. I am trying to convert my existing configuration from cfengine so in that tool I had something like: packages: Hr03|ManualRun:: <package installation commands> This basically says to install packages if it''s either 3:00-3:59am or if
2007 Jul 24
3
How to require a defined type...
Hi all, I''m struggling with the following: I have a defined type wrapped in a class: class myclass { define mytype(bla) { file { "blabla": .... } exec { "blablabla": ... } } } And I access the defined type in my other class by doing this: class otherclass { include myclass myclass::mytype { "alb": ... } # and here I want to
2007 Oct 17
5
option to trigger the change immidietiely
Folks, I have installed puppet my network and it works great .. I have configured it such a way that when I make changes in the server source fiels..it gets updated in teh puppet clients. As the document reads the puppet clients checks for any changes from the server every 30 mins. But is there is any opiton of changing this value to lesser time .. say 15 mins .. or is there opiton for the
2007 Sep 24
3
conceptual problem deploying git repos to a puppetmaster
So before I start I should be upfront and disclose that I''m using external_nodes, so in keeping with that I''m trying as hard as possible to keep all the actually ''specific'' data in the node config files (currently just yaml)and have nothing specific in modules especially. So I have this definition: (credit goes to DavidS for the inspiration) define git::repo (
2007 Nov 12
2
How to keep several puppetd in sync at the same time ?
Hi, I''m still writing my djbdns module, I came to the following design issue with master and slave tinydns. Normally there is no such master and slave distinction in djbdns: all tinydns instance are equal. Usually one instance on one host is considered the master on, which the RR are changed, and when you need to propagate them, you rsync the datas to the other hosts, where they will be
2008 Apr 12
8
Question: Do all puppetd run at the same time?
(I know more questions... :-)) I know the default for puppetd is to check puppetmasterd every half hour, but my question does each puppetd check at the same time? Or does it depend when puppetd is started or like a cronjob does it run at the 1/2 hour and hour mark? Is there some randomness to the times they run? My point is if they all run at the same time then if you have a large amount of
2009 Jan 08
5
Puppet client hangs if LDAP server is not accessible
Hi. I''ve noticed that on servers that are both puppet and LDAP clients, the puppet client will hang if the LDAP server is not reachable. Does anyone know what the reason for this is? Regards, Kenneth Holter --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this
2007 Jun 12
1
Cron not taking valid entries?
I changed one of my cron entries in puppet from: cron { nightly_restart: command => "/etc/init.d/something restart >& /dev/null", user => root, minute => "0", hour => "13", monthday => "*", month => "*",