[Puppet Users] Re: Load balancing Puppet Server

2015-05-13 Thread Stefan Wiederoder
Hello Joao, sorry - no help, but I'm also looking for a puppet server 2.x howto about centralizing the CA. I'm currently using mod_proxy/mod_passenger with an F5 loadbalancer in front of two servers. I'd be nice if puppetlabs would provide such an howto, it´d help/speedup puppetserver

Re: [Puppet Users] puppet resource ordering/execution kungfu

2014-08-21 Thread Stefan Wiederoder
that´s the pattern I´m already using for a few other things, I was hoping there´s a cool new parameter to trigger a require only if necessary. thanks for your answer Flamarion! bye , Stefan -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

[Puppet Users] puppet resource ordering/execution kungfu

2014-08-20 Thread Stefan Wiederoder
Hello puppet users, I´m struggling with puppets resource odering my task is to install the QConvergeConsoleCLI rpm, which needs /tmp as executable - which is per default noexec on our boxes. but adding a require to the package instruction will always mount /tmp as executable even if the

[Puppet Users] Re: Announce: Facter 2.0.1

2014-04-02 Thread Stefan Wiederoder
we´ve had trouble with the new version too: [root@zoe ~]# facter undefined method `kernel' for Facter:Module result was a downgraded to 1.7.5-1 RHEL6-64 with ruby: 1.8.7.352 puppet: 3.4.3 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

[Puppet Users] puppetdb: no communication between PM and puppetdb

2013-12-11 Thread Stefan Wiederoder
Hello out there, I´m trying to add puppetdb (on a separate host, puppetdb-1.5.2-1.el6.noarch) to my puppet setup (passenger, puppet-3.1.0-1.el6.noarch). I´ve used the PL documenation, but I receive the following message after restarting apache: 2013-12-11T13:28:47.859827+01:00 belbo

Re: [Puppet Users] puppetdb: no communication between PM and puppetdb

2013-12-11 Thread Stefan Wiederoder
Hi Jeff, thanks for your reply. you were right, I´ve once had my first puppetdb installation on the same host - but all the files have been removed and there was no defunct java process running anymore. but then I found the problem was within my puppet.conf, because I´ve added these two

Re: [Puppet Users] puppet and CI

2013-08-02 Thread Stefan Wiederoder
Hello David, What checks are you doing that take 6 minutes? A simple syntax check and erb evaluation takes around 30s on a big repo over here. I´ve to admit that I´m using puppet-lint with all options, which throws a lot of warnings I´ll eliminate a few options. bye , Stefan -- You

[Puppet Users] puppet and CI

2013-08-01 Thread Stefan Wiederoder
Hello puppet users, I´ve setup gerrit/jenkins on a box to add versioniong/CI to my puppet setup. I´m a jenkins/git beginner, therefore I´ve googled to find bits and pieces which I´ve put together. It´s working fine so far, the only drawback is that my jenkins job is always checking the whole

[Puppet Users] mtime/md5lite with puppet 3.x bug Bug #13199

2013-06-25 Thread Stefan Wiederoder
Hello List, I´ve tried to switch from md5 checksum to md5lite within all my configuration to spare a few cpu cycles on my master, but it didn´t work at all :-( Then I´ve found out about bug #13199, but the bugs lists only 2.7x as affected. can anybody confirm this issue on 3.x? funny that

[Puppet Users] switching checksums

2013-05-02 Thread Stefan Wiederoder
Hello puppet users, I´de like to switch from md5 checksums to md5lite to save a few cpu cycles on my (overloaded) puppetmaster. so it is just replacing md5 to md5lite within my manifests and I´m done or do I have to keep things like the local clientbucket in mind? are there any

[Puppet Users] switching checksum: did not match checksum

2013-03-11 Thread Stefan Wiederoder
Hello puppet users, I´ve switched from md5 to md5lite to save some CPU cycles on my master, but this is causing me a lot of error messages where puppet is complaining about failed checksums. Info: FileBucket adding {md5}3718fe556702d608c2490d7ffeffd890 Info: /File[/usr/local/bin/pollcmd]:

[Puppet Users] Re: using file_line with match

2013-01-21 Thread Stefan Wiederoder
. On Friday, January 18, 2013 12:07:44 AM UTC-8, Stefan Wiederoder wrote: I´m using stdlib 3.2 on my 3.0.1 master/agent my goal is to replace a line within a configuration file to add one more server like this: file_line { xxx: line = ALLOWHOST server1|server2, path = /tmp/sw, match

[Puppet Users] using file_line with match

2013-01-18 Thread Stefan Wiederoder
I´m using stdlib 3.2 on my 3.0.1 master/agent my goal is to replace a line within a configuration file to add one more server like this: file_line { xxx: line = ALLOWHOST server1|server2, path = /tmp/sw, match = ^ALLOWHOST$, ensure = present } I´ve tried to use match to ensure that the

[Puppet Users] looping over directory array

2013-01-08 Thread Stefan Wiederoder
I´ve an application which has always the same directory structure: /some/where/app1/foo /some/where/app1/bar /some/where/app2/foo /some/where/app2/bar /some/where/app3/foo /some/where/app3/bar and so on. I´de like to set owner/group permissions while using a loop with an array: $path =

Re: [Puppet Users] stdlib module not working

2012-03-30 Thread Stefan Wiederoder
thanks Eric, ensure did the trick, now I´m stuck while trying to use a facter variable within the line statement: file_line { tmpfs entry: line = tmpfs /dev/shmtmpfs size=${kis_tmpfs_size} 0 0, path = /etc/fstab.d/system.fstab, ensure = present } maybe

[Puppet Users] stdlib module not working

2012-03-29 Thread Stefan Wiederoder
I´m trying to utilize the new stdlib module, but got stuck after installation on my puppet server. I´ve tried to use the included test file file_line.pp on the server, but it´s only creating the file - but not managing the content. the same problem on my clients (the new provider file_line has

[Puppet Users] Re: question regarding case and facts

2012-02-21 Thread Stefan Wiederoder
it cleaner for your specific implementation, you may want to check $factA, then have a nested if statement to check $factB. On Feb 13, 5:43 am, Stefan Wiederoder stefanwiedero...@googlemail.com wrote: Hi group, is it possible to AND different facts using a case? for example: factA

[Puppet Users] question regarding case and facts

2012-02-13 Thread Stefan Wiederoder
Hi group, is it possible to AND different facts using a case? for example: factA is BL460c and factB is G6, then AND (=concat) the two arguments: case $factA.$factB: { BL460cG1 :{ notify {G1:}} BL460cG6 :{ notify {G6:}} BL460cG7 :{ notify {G7:}} } thanks,

[Puppet Users] Re: file Problem after 2.7.6 Upgrade

2011-11-03 Thread Stefan Wiederoder
gotcha, now it´s working again. thanks RI ! -- 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@googlegroups.com. To unsubscribe from this group, send email to

[Puppet Users] file Problem after 2.7.6 Upgrade

2011-11-02 Thread Stefan Wiederoder
Hello List, I´ve update to 2.7.6 (server + clients, from 2.7.1) after reading the last CVE, now I´ve got a problem with copying a file to different releases/architectures using a single statement like this: file { /path/to/file/abc.file: source = puppet:///path/to/file/xx- $fact1-$fact2.file,

[Puppet Users] Re: Could not render to yaml: stack level too deep

2010-06-04 Thread Stefan Wiederoder
gosh! I´ve update to ruby 1.8.6 and gem 1.3.7 - now puppetmaster is running fine again. thanks Trevor! -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from

[Puppet Users] Could not render to yaml: stack level too deep

2010-06-03 Thread Stefan Wiederoder
I´ve got the following message in my puppet logfile Could not render to yaml: stack level too deep I´ve only found references about increasing the stack size (which is now 32768), are there any other options? -- You received this message because you are subscribed to the Google Groups Puppet

[Puppet Users] Re: Could not render to yaml: stack level too deep

2010-06-03 Thread Stefan Wiederoder
What version of Ruby/Gems are you running? I had some problems with that pre Ruby 1.8.5 and Gems 1.3.5 I´m using the following rpm´s (RHEL, EPEL): rubygems-1.3.1-1.el5 ruby-libs-1.8.5-5.el5_4.8 ruby-shadow-1.4.1-7.el5 rubygem-gem_plugin-0.2.2-2.el5 rubygem-rake-0.8.3-1.el5

[Puppet Users] Re: problems after puppet upgrade

2010-06-01 Thread Stefan Wiederoder
I´ve disabled pluginsync on my client, which eliminated the first error message. Now I´m still having problems while using modules: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class hostsfile at /etc/puppet/manifests/ site.pp:10 on node xyz.example.com

[Puppet Users] Re: site.pp include execution order

2008-12-18 Thread Stefan Wiederoder
On 18 Dez., 12:57, paul matthews paulsmatth...@googlemail.com wrote: Hi, I fell into the same trap  as Stefan in expecting includes defined in nodes.pp and templates.pp to be run in the order they appear in the file. It seems there's a certain amount of radomness regarding the running order

[Puppet Users] site.pp include execution order

2008-12-16 Thread Stefan Wiederoder
Hello puppet-users, I´ve setup a site.pp with only a default node - which has 15 to 20 includes. how can I make sure that puppet will execute my includes in predictable manner? (to make sure the dependencies are satisfied) for example, I´d first like to setup yum - then install a few needed

[Puppet Users] question regarding erb-templates

2008-11-24 Thread Stefan Wiederoder
Hi all, I need advice about the right puppet way of doing things. my task is to deploy a client software, which includes generating a configuration file using a text-file which maps the clients to the server. I´ve create custom facts, which parse the mapping file and these values are used

[Puppet Users] Re: question regarding erb-templates

2008-11-24 Thread Stefan Wiederoder
As far as I understood is the mapping file deployed by puppet as well? yes, that´s true. So how do you generate the mapping file? Wouldn't it be possible to generate the config file with these values directly? Or how is the mapping file created? cheers pete the mapping is file created by