Re: [Puppet Users] Spaces in templates

2010-09-10 Thread Felix Schäfer
Am 10.09.2010 um 14:50 schrieb Al @ Lab42: > I want to use these values in a single line of a template: > > host <% users_ldap_servers.each do |ldap| %> <%= ldap %> <% end %> > > No matter how many spaces I place around, no matter the absence of > trimming -%> I always get something like: > >

Re: [Puppet Users] 30 min

2010-08-03 Thread Felix Schäfer
Am 03.08.2010 um 15:11 schrieb parag(PK): > I dont want the daemon to run after every 30 mins ... > how can i change it to ...say 10 mins ...…. You could …say … read the docs? Or maybe …the manpage? http://docs.puppetlabs.com/references/latest/configuration.html#runinterval Felix -- You r

[Puppet Users] Re: puppet variables

2009-07-09 Thread Felix Schäfer
Am 09.07.2009 um 21:20 schrieb David Schmitt: > most available variables are defined by facter, which you can run on > the > commandline to see which vars have what values. Not completely, as IIRc puppet brings a few facts of its own that facter won't show when run on its own on the CLI. R

[Puppet Users] Re: Unable to get storedconfigs to work

2009-07-01 Thread Felix Schäfer
Am 01.07.2009 um 03:24 schrieb Greg: > I've gotten it working with 2.3.2... But I did have to put in the > require lines > as was mentioned in a previous message... I must say that I'm not very happy with this solution as it seems more hackish than anything, but it does work when adding the

[Puppet Users] Re: Unable to get storedconfigs to work

2009-06-29 Thread Felix Schäfer
Hello Nigel, Am 29.06.2009 um 17:52 schrieb Nigel Kersten: > Do you possibly have multiple versions installed? I did, deleted all but the newest, no change. Felix --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[Puppet Users] Unable to get storedconfigs to work

2009-06-29 Thread Felix Schäfer
Hello, I can't get storedconfigs to work, puppetmaster keeps complaining about "missing Rails". Fact is I do have rails installed, I even have a few rails apps running fine with a mysql backend in passenger. I have tried to localise a possible error by starting puppetmasterd with debug, b

[Puppet Users] Re: how do I submit a patch?

2009-06-11 Thread Felix Schäfer
Am 11.06.2009 um 17:23 schrieb Paul Nasrat: > That all should be part of libc. Try apt-get install build-essential. Actually, libc6-dev was enough. """ Architecture: x86_64 CPU(s):2 Thread(s) per core:1 Core(s) per socket:1 CPU socket(s): 2 NUMA node(s):

[Puppet Users] Re: how do I submit a patch?

2009-06-11 Thread Felix Schäfer
Hi, Am 11.06.2009 um 15:41 schrieb Paul Nasrat: > gcc -o lscpu lscpu.c I get: """ lscpu.c:21:19: Fehler: ctype.h: No such file or directory lscpu.c:22:20: Fehler: dirent.h: No such file or directory lscpu.c:23:17: Fehler: err.h: No such file or directory lscpu.c:24:19: Fehler: errno.h: No such

[Puppet Users] Re: templates, ERB include, import or whatever

2009-06-05 Thread Felix Schäfer
Am 05.06.2009 um 19:57 schrieb Derek Yarnell: > So I have been doing some testing of content => template. Our site > has used a custom solution for configuration management w/ a mix of > rsync/m4/make and a little cfengine on the side. Now for us the > power of m4 is that not only you ca

[Puppet Users] Re: Vote for your favorite ticket

2009-06-03 Thread Felix Schäfer
Am 04.06.2009 um 06:44 schrieb James Turnbull: > Nigel Kersten wrote: >> > >> That's exactly what I see. No arrows. > > This is now fixed. Can people confirm they can see arrows. I can see the arrows and it seems they work as expected. Tanks, Felix --~--~-~--~~~-

[Puppet Users] Re: Vote for your favorite ticket

2009-06-03 Thread Felix Schäfer
Hello, Am 03.06.2009 um 16:24 schrieb James Turnbull: > Can you clear your browser cache and try now please? Tried that, same result as before (pertinent part of the html source): """ translation missing: de, label_votes: 0 """ Even omitting the fact that there is no translation (could provid

[Puppet Users] Re: renaming module not working

2009-06-02 Thread Felix Schäfer
Am 02.06.2009 um 14:48 schrieb Rene: > It cannot find the WLS class even it should be there. Does someone > have a solution for that, because its driving me nuts... Not sure if you can go caps on class/module names, can you? BR, Felix --~--~-~--~~~---~--~~ Yo

[Puppet Users] Re: Configuring hosts with data from other hosts

2009-05-12 Thread Felix Schäfer
Hello, Am 12.05.2009 um 08:51 schrieb steverfran...@gmail.com: > Or do I have to copy the IP address of the monitor host to each > machine, via an exported resource file, and then process it locally in > an exec script to build the correct ntp.conf? > That doesn't seem very puppet-ish... No, bu

[Puppet Users] Re: Pitching puppet - how does it work question

2009-05-06 Thread Felix Schäfer
Hi, Am 06.05.2009 um 16:40 schrieb LenR: > I'm trying to pitch puppet to my group. I have a test server & 2 > clients, things are going pretty well. The question relates to user > password management as outlined in the recipies. My question, if only > the hash value changes, will puppet apply

[Puppet Users] Re: Expert Idempotency Question: Multi-Mysql Installation File System Creation Question

2009-03-16 Thread Felix Schäfer
Your definition seems fine and sound (on a quick look), just replace the part that is always the same (here being file { "/data01/ multi_mysql": ... }) with a virtual resource, and you're done Greets, Felix Am 16.03.2009 um 16:48 schrieb TomTom: > > Hi Bruce, > Thanks for the snappy reply.

[Puppet Users] Re: Expert Idempotency Question: Multi-Mysql Installation File System Creation Question

2009-03-16 Thread Felix Schäfer
istro}", >require => [File [ "$build_area/KITS" ], File [ "/ > $data_dir/multi_mysql/$mysql_instance" ]], >} > >tarextract { "$buld_area/KITS/$mysql_distro": >source => "$buil

[Puppet Users] Re: Alias for package list

2009-03-16 Thread Felix Schäfer
don't think puppet can parse. Mit freundlichen Grüßen, Felix Schäfer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googl

[Puppet Users] Re: Alias for package list

2009-03-16 Thread Felix Schäfer
w can I > achieve > that? One way would be to put all this in a class and do a "require => Class["my_packages"]" or something like that, but I don't think it's very "puppety". I think the "prettier" way would be to add requires only as

[Puppet Users] Re: custom facts not working

2009-03-11 Thread Felix Schäfer
laris Zones. KVM doesn't seem to be recognised correctly either, I'll update the ticket in Redmine. Felix Schäfer - Cyprès IT Solutions GmbH Löwenstr. 11a, D-44135 Dortmund Tel.: +49 231 576 2678 Fax.: +49 231 576 2676 Cyprès IT-Solutions GmbH / private limited company Geschäf

[Puppet Users] Re: Best practices question

2009-02-09 Thread Felix Schäfer
Hello, Am 10.02.2009 um 00:34 schrieb Eric Gerlach: > If I want to configure a file, say /etc/network interfaces, on all > of my Debian boxes, should I put the resource definition in: > > a) manifests/classes/debian.pp > b) modules/debian/manifests/init.pp > > I guess I'm asking whether people

[Puppet Users] Re: Pattern matching in case statement

2009-01-19 Thread Felix Schäfer
n(:network, :type => :rvalue) do |args| clientip = lookupvar('ipaddress') # this assigns $clientip the ipaddress fact of the current client ## Do some clever stuff with clientip, assign $clientnet some value clientnet end end "

[Puppet Users] Re: revoking certificate failed

2009-01-18 Thread Felix Schäfer
s". To do that, you should use environments, check the wiki for more info on that, but basically, you can have many sets of recipes on the server (unstable/stable, or testing/production, or whatever you want to call them), and define on the client which set they'll get, and define th

[Puppet Users] Re: revoking certificate failed

2009-01-17 Thread Felix Schäfer
st from the list of pending requests, the later removes the "right" of a client to talk to the master. Have a look at http://reductivelabs.com/trac/puppet/wiki/CertificatesAndSecurity for more details on certificates in puppet. Felix Schäfer --~--~-~--~~~---

[Puppet Users] Re: if file exists

2008-12-08 Thread Felix Schäfer
xtensible. One of the places you can extend Puppet is in creating new functions to be executed on the server (the host running puppetmasterd) at the time that the manifest is compiled. """ So yes, they get executed on the server and you c

[Puppet Users] Re: if file exists

2008-12-08 Thread Felix Schäfer
d > after the $fqdn For this to work, I need that "exists" function. I think you'll want to try a custom function http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions as they get executed server-side. Just cook up some ruby code to check for your

[Puppet Users] Re: how to define variables in "module" scope ?

2008-09-29 Thread Felix Schäfer
er. I hope this answers some of your questions, and we can find a solution that suits everyone. Greetings, Felix Schäfer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to