[Puppet Users] Selecting repos

2011-07-11 Thread tu2Bgone
Hi all, Got an issue which is starting to annoy me. How do people currently select repos from which to install particular packages? Currently we have a base centos, (enabled by default), and several others that I want to enable and disable for particular packages, like being able to use th

[Puppet Users] ruby DSL and calling defines.

2011-07-17 Thread tu2Bgone
Hi all, Wonder if there is a quick answer to the following question: What I am trying to do is use the ymllookup function to get a list of php ini values to set. php_ini: engine: On short_open_tag: On asp_tags: Off precision: 14 y2k_compliance: On output_buffering: Off zlib.output_compressio

Re: Re: [Puppet Users] cucumber puppet - ymllookups

2011-09-14 Thread tu2Bgone
Thanks for the reply Nikolay, If I have a class like the following: class role { $myrole = ymllookup('web_role') notify{"this is my role: $myrole": } } I then use the ymllookup parser that I grabbed from http://projects.puppetlabs.com/attachments/1297/ymllookup.rb which will parse my /etc/pu

Re: Re: [Puppet Users] fileserver issues - getaddr info

2010-07-22 Thread tu2Bgone
Thanks for the reply, I did try various different path locations before I posted. I'm guessing that the problem is either in the way that puppet looks up hostnames or a problem elsewhere in the actual config. err: /Stage[main]/Sshd/File[/tmp/that.txt]: Could not evaluate: getaddrinfo: Name

[Puppet Users] quick question on declaring variables in nodes with 2.6.2

2010-11-23 Thread tu2Bgone
Hi all, I run the test.pp on the master host and the notify supplies the correct variables in the class notify and define notify. node default { $puppet_master = "hitw-cn-master-1" include cn } node f13guest inherits default { include test test::thistest{"aname":} } notify{"outside class: $pu

Re: Re: [Puppet Users] Re: auth.conf & namespaceauth.conf : which files belong on the master , and c

2011-02-22 Thread tu2Bgone
From the docs: auth.conf rest_authconfig = $confdir/auth.conf The auth.conf doesn't exist by default, but Puppet has some default settings that will be put in place if you don't create an auth.conf. You'll see these settings if you run your puppetmaster in debug

Re: Re: [Puppet Users] puppetca and /etc/puppet/ssl

2011-03-31 Thread tu2Bgone
Hi, man puppetca ... For example, ´ssldir´ is a valid configuration parameter, so you can specify ´--ssldir directory´ as an argument. ... have tried specifying the directory on the command line? Also, do you run RedHat style hosts, because they will read in any options in /etc/sysconfig/p

[Puppet Users] virtualized resource collections

2011-05-04 Thread tu2Bgone
Hi all, I'm trying to figure out how to automatically configure my nodes with amanda backup client. What I want to achieve is that the server have an entry created in the /etc/amanda/(Daily|Weekly|Monthly)/disklist.conf file on the server. The disklist.conf file lists entries like so: nod