Re: [Puppet Users] Manifest that runs before anything else

2013-07-16 Thread Martin Alfke
Hi Mark, looks you have a valid need for stages. http://docs.puppetlabs.com/references/latest/metaparameter.html#stage You can run complete classes in a single stage. - Martin On Jul 16, 2013, at 5:13 PM, Mark Hatch wrote: > I started making manifest that are classes so that I can declare the

[Puppet Users] Re: Multiple Puppet masters each running as their own CA connecting to a single PuppetDB instance

2013-07-16 Thread Nick Lewis
On Tuesday, July 16, 2013 1:25:22 PM UTC-7, replicant wrote: > So, > > We are working on migrating a global deployment of Puppet over to a > single PuppetDB instance away from a single MySQL storeconfigs > instance and are running into an issue. It seems is that PuppetDB will > only allow node

[Puppet Users] Re: 3.2.2 on CentOS 6.3, and "Did not receive certificate"

2013-07-16 Thread Forrie
We are not configured to auto-sign certificates. Clearly, the client is making a connection to the master: 10.101.0.10 - - [16/Jul/2013:17:23:46 -0400] "GET /production/certificate/de-prod-archive.ourdomain.com? HTTP/1.1" 404 62 "-" "-" 10.101.0.10 - - [16/Jul/2013:17:23:46 -0400] "GET /produ

[Puppet Users] Multiple Puppet masters each running as their own CA connecting to a single PuppetDB instance

2013-07-16 Thread replic4nt0wnz .
So, We are working on migrating a global deployment of Puppet over to a single PuppetDB instance away from a single MySQL storeconfigs instance and are running into an issue. It seems is that PuppetDB will only allow nodes from a single Puppet master to connect if each Puppet master is running as

Re: [Puppet Users] "puppet module install simondean/iis" gives error "Error: cert already in hash table"

2013-07-16 Thread Josh Cooper
On Tue, Jul 16, 2013 at 11:19 AM, Arno den Uijl wrote: > I thought i tried the debug and trace options but i this trace was new for > me. I looked through the code and I think that it was caused by the fact > that there were some certificates installed with the same name. I deleted > some from my

Re: [Puppet Users] "puppet module install simondean/iis" gives error "Error: cert already in hash table"

2013-07-16 Thread Arno den Uijl
I thought i tried the debug and trace options but i this trace was new for me. I looked through the code and I think that it was caused by the fact that there were some certificates installed with the same name. I deleted some from my certificate store and now it runs correct. Thanks for the h

Re: [Puppet Users] "puppet module install simondean/iis" gives error "Error: cert already in hash table"

2013-07-16 Thread Arno den Uijl
then i get this: C:\Program Files (x86)\Puppet Labs\Puppet>puppet module install simondaen/iis --debug --trace Notice: Preparing to install into C:/ProgramData/PuppetLabs/puppet/etc/modules ... Notice: Downloading from https://forge.puppetlabs.com ... Error: cert already in hash table C:/Program

Re: [Puppet Users] "puppet module install simondean/iis" gives error "Error: cert already in hash table"

2013-07-16 Thread Josh Cooper
On Tue, Jul 16, 2013 at 2:50 AM, Arno den Uijl wrote: > Hello, > > I have a fresh install of puppet 3.2.3. on windows 8. I try to install the > iis module (https://forge.puppetlabs.com/simondean/iis) with the command: > > puppet module install simondean/iis > > and it gives me > *C:\Program Files

[Puppet Users] Re: Permission problem on puppet master

2013-07-16 Thread Piotr Jasiulewicz
Hi John, thanks for your answer, lunching via service was the first thing I tried (which also produces the same error). The linux is Ubuntu 13.X The startup: root@puppet:/etc/puppet# service puppetmaster start * Starting puppet master

[Puppet Users] Re: 3.2.2 on CentOS 6.3, and "Did not receive certificate"

2013-07-16 Thread jcbollinger
On Thursday, July 11, 2013 1:41:26 PM UTC-5, Forrie wrote: > > I'm having a perplexing problem with Puppet 3.2.2 (agent) on CentOS > 6.3.There are two systems, recently built, that exhibit the same > problem. I'm using the same, very basic and simple config I have on all > of my systems

RE: [Puppet Users] puppet agent / master version compatibility?

2013-07-16 Thread Bernd Adamowicz
Never run an agent with a higher version than the master. This will not work. At least not running a 3.x agent against a 2.x master. Bernd From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On Behalf Of Axel Bock Sent: Montag, 15. Juli 2013 14:36 To: puppet-users@googleg

[Puppet Users] Re: Permission problem on puppet master

2013-07-16 Thread jcbollinger
On Monday, July 15, 2013 6:36:37 AM UTC-5, Piotr Jasiulewicz wrote: > > Hi, > > just bumping this, still looking and still have a problem, anyone any > clues? > > Thanks, > Piotr > > W dniu piątek, 12 lipca 2013 17:44:41 UTC+1 użytkownik Piotr Jasiulewicz > napisał: >> >> Hi, >> >> having some

[Puppet Users] Manifest that runs before anything else

2013-07-16 Thread Mark Hatch
I started making manifest that are classes so that I can declare them and organize them with groups and nodes in puppet console. I have one manifest/class that I want to run before anything. I know that there are ways to order with require, before, subscribe, etc. But it seems that if I did

[Puppet Users] puppet agent / master version compatibility?

2013-07-16 Thread Axel Bock
Hello group, I am trying to run a puppet agent v3.2.2 against a puppet master with version 2.7.18, and I get this weird error: Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Could not intern from pson: source '"#http://groups.google.com/group/puppet-use

[Puppet Users] Re: 3.2.2 on CentOS 6.3, and "Did not receive certificate"

2013-07-16 Thread Yaniv Kaul
On Thursday, July 11, 2013 9:41:26 PM UTC+3, Forrie wrote: > I'm having a perplexing problem with Puppet 3.2.2 (agent) on CentOS > 6.3.There are two systems, recently built, that exhibit the same > problem. I'm using the same, very basic and simple config I have on all > of my systems (mo

[Puppet Users] Puppetmaster 2.7.18-5

2013-07-16 Thread setests setests
Hi I am running Puppet version 2.7.18-5 with around ~ 100 nodes syncing with the server with the defaults of half an hour. Is it normal for the puppetmaster service to take around ~ *3GB* of RAM. # cat /etc/debian_version 7.1 # dpkg --list | grep -i puppet ii puppet-common

[Puppet Users] template - need to fail if referencing undefined var

2013-07-16 Thread Brano Zarnovican
Hi, I have the following code snippet node default { # $var_a .. is undefined $var_b = hiera("var_b", undef) $var_c = undef file { "/var/tmp/foo.txt": content => inline_template(" <% if @var_a %> var_b = <%= @var_a %> <% else %> <% info(\"var_a is undefined\") %> <% end -%> <

[Puppet Users] "puppet module install simondean/iis" gives error "Error: cert already in hash table"

2013-07-16 Thread Arno den Uijl
Hello, I have a fresh install of puppet 3.2.3. on windows 8. I try to install the iis module (https://forge.puppetlabs.com/simondean/iis) with the command: puppet module install simondean/iis and it gives me *C:\Program Files (x86)\Puppet Labs\Puppet>puppet module install simondean/iis* *Noti

[Puppet Users] Re: After update facter, puppet kick does not work anymore

2013-07-16 Thread MrTeleBird
Hi, just an update: I downgraded from FACTER 1.7.2 to version 1.6.18 and the hang is gone. I think the issue might be related to this: https://github.com/puppetlabs/facter/pull/304/files or something similar. Cheers, Cesar -- You received this message because you are subscribed to the Google Gr

[Puppet Users] Re: After update facter, puppet kick does not work anymore

2013-07-16 Thread MrTeleBird
Mmm I have found something interessting. Puppet agent hangs only when the CentOS distro is < 6.2, On Tuesday, July 16, 2013 1:45:16 PM UTC+2, MrTeleBird wrote: > > Hello everyone, > > today I updated facter to ver sion 1.7.2 at both, master and clients. And > since then, puppet kick does not wo

[Puppet Users] After update facter, puppet kick does not work anymore

2013-07-16 Thread MrTeleBird
Hello everyone, today I updated facter to ver sion 1.7.2 at both, master and clients. And since then, puppet kick does not work anymore. I see on the client that it triggered a run but then it stays there and does anything more :-(, any ideas what could be wrong?? Cheers, Cesar -- You receiv

Re: [Puppet Users] username/password combo for custom provider (couchbase)

2013-07-16 Thread Jakov Sosic
On 07/16/2013 02:56 AM, Nan Liu wrote: > Disclaimer, I don't work at Puppet Labs anymore, and this will be a > personal project as time permits. Also, best of luck in the future! And thank you for your contribution so far. You've been really helpful (at least to me) in the process of learning cu

[Puppet Users] Re: "Looping" around a custom fact list

2013-07-16 Thread ollies...@googlemail.com
On Thursday, July 11, 2013 11:21:12 PM UTC+1, jcbollinger wrote: > > > > On Thursday, July 11, 2013 8:41:03 AM UTC-5,I wrote: >> >> >> $kernel_fact_stem = 'installed_kernel' >> $kernel_list = inline_template("<%= >> (0...@installed_kernel_count.to_i).collect{|n| @kernel_fact_stem + >> n.to_

Re: [Puppet Users] username/password combo for custom provider (couchbase)

2013-07-16 Thread Jakov Sosic
On 07/16/2013 02:56 AM, Nan Liu wrote: > If that's not the issue, then I'm not sure. I'll try to put together > the transport module when I get some spare time. Reference is not a problem, but fetching parameters from that resource is... As I can see in vmware modules, there is a PuppetX::PuppetL