[Puppet Users] Puppetlabs APT GPG key

2013-01-10 Thread Daniele Sluijters
Hi, I just started getting errors from APT: W: GPG error: http://apt.puppetlabs.com squeeze Release: The following signatures were invalid: BADSIG 1054B7A24BD6EC30 Puppet Labs Release Key (Puppet Labs Release Key) It looks like they keyring was changed yesterday on the APT repository: keyring

[Puppet Users] Re: Puppetlabs APT GPG key

2013-01-10 Thread Daniele Sluijters
Hi, With a bit of help from Haus we figured it out. The last time our apt-cacher-ng pulled in the apt.puppetabs.com repo something went wrong causing a few of the files to go corrupt, triggering the validation errors. This then trickled down to all the machines when apticron ran an apt-get upd

[Puppet Users] Re: Puppet & F5 Connection Refused

2013-01-10 Thread MrTeleBird
Hi Gavin! ok, yes that make sense. We do have a firewall in-between and I had only enable access to the BIG-IP from the proxy not from the pupept master. I will give it a try. Thanks a lot for the hint! Cheers, Cesar On Wednesday, January 9, 2013 5:39:44 PM UTC+1, Gavin Williams wrote: > > Hi

[Puppet Users] Re: Puppet & F5 Connection Refused

2013-01-10 Thread MrTeleBird
No, still not workinig :-(, same error as before. I verified the logs on the firewall and there is no more traffic blocked from puppet master and from the proxy. Additionally, I can telnet my F5 on port 443 without any problem from both servers. Any other idea what could be the causing this pro

Re: [Puppet Users] Thoughts on roles/profiles class paradigm

2013-01-10 Thread Brian Lalor
On Jan 9, 2013, at 4:34 PM, Wolf Noble wrote: > My colleagues and I are contemplating refactoring our modules to take > advantage of the "roles/profiles" paradigm suggested by Craig Dunn in his > blog post found here: > http://www.craigdunn.org/2012/05/239/ > > Before we jump feet-first into a

[Puppet Users] mcollective package plugin rpm versions

2013-01-10 Thread Guillem Liarte
Hello, I am trying to find out how to manage versions for installed software. It seems that the 'package' plugin does not take a version argument, rendering it quite less useful than it could be. Yes, I can manage a version with Puppet, but maybe in certain environments I would like to be able

Re: [Puppet Users] mcollective package plugin rpm versions

2013-01-10 Thread R.I.Pienaar
- Original Message - > From: "Guillem Liarte" > To: puppet-users@googlegroups.com > Sent: Thursday, January 10, 2013 11:44:13 AM > Subject: [Puppet Users] mcollective package plugin rpm versions > > Hello, > > I am trying to find out how to manage versions for installed software. > >

Re: [Puppet Users] mcollective package plugin rpm versions

2013-01-10 Thread Guillem Liarte
Mr Pienaar, I would love to help adding it then. Where do I start? Guillem Liarte On Thursday, 10 January 2013 11:59:28 UTC, R.I. Pienaar wrote: > > > > - Original Message - > > From: "Guillem Liarte" > > > To: puppet...@googlegroups.com > > Sent: Thursday, January 10, 2013 11:44:

Re: [Puppet Users] mcollective package plugin rpm versions

2013-01-10 Thread R.I.Pienaar
- Original Message - > From: "Guillem Liarte" > To: puppet-users@googlegroups.com > Sent: Thursday, January 10, 2013 12:57:02 PM > Subject: Re: [Puppet Users] mcollective package plugin rpm versions > > Mr Pienaar, > > I would love to help adding it then. > > Where do I start? Basica

[Puppet Users] Re: Puppet dashboard not enabling inventory

2013-01-10 Thread Luke
Has anyone else successfully got the puppet dashboard working with dashboard version *1.2.17 with puppet 3?* On Wednesday, January 9, 2013 10:11:11 AM UTC-4, Luke wrote: > > Hello, > > My puppet dashboard is not enabling the inventory tab / node info even > though I have: > > *enable_inventory_s

Re: [Puppet Users] mcollective package plugin rpm versions

2013-01-10 Thread Guillem Liarte
Mr. Pienaar, I have tested the following: Changes in the MC server, package.rb: pkg = ::Puppet::Type.type(:package).new(:name => package, :ensure => "20060214-1.7").provider #pkg = ::Puppet::Type.type(:package).new(:name => package).provider MC client output [root@ttraf

Re: [Puppet Users] mcollective package plugin rpm versions

2013-01-10 Thread R.I.Pienaar
- Original Message - > From: "Guillem Liarte" > To: puppet-users@googlegroups.com > Sent: Thursday, January 10, 2013 2:59:40 PM > Subject: Re: [Puppet Users] mcollective package plugin rpm versions > > Mr. Pienaar, > > > I have tested the following: > > Changes in the MC server, pack

Re: [Puppet Users] mcollective package plugin rpm versions

2013-01-10 Thread Guillem Liarte
On Thursday, 10 January 2013 13:01:33 UTC, R.I. Pienaar wrote: > > > > - Original Message - > > From: "Guillem Liarte" > > > To: puppet...@googlegroups.com > > Sent: Thursday, January 10, 2013 12:57:02 PM > > Subject: Re: [Puppet Users] mcollective package plugin rpm versions > > >

Re: [Puppet Users] Thoughts on roles/profiles class paradigm

2013-01-10 Thread Craig Dunn
On 09/01/2013 20:03, Roman Shaposhnik wrote: * A role contains business logic Could you give an example here? What else are roles, but a flat collection of profiles? Essentially yes, thats all they are and while I generally opt to make them classes you could do this from within an ENC instea

[Puppet Users] Re: Announce: Puppet 3.1.0-rc1 available

2013-01-10 Thread Chuck
This bug is impacting Puppet 3.1.0-rc1. I posted one possible solution. https://projects.puppetlabs.com/issues/18026 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/pupp

[Puppet Users] Re: Announce: PuppetDB 1.1.0-rc4 now available

2013-01-10 Thread Eric Kissinger
The puppetdb-1.1.0-0.1rc4.el6.noarch.rpmpackage seems to have an error when unpacking the puppetdb.jar. This is the output: Downloading Packages: puppetdb-1.1.0-0.1rc4.el6.noarch.rpm

Re: [Puppet Users] stdlib take almost 14 minutes to sync on CentOS Vagrant VM

2013-01-10 Thread Kirk Steffensen
SOLVED: I didn't have the VMs in the host's /etc/hosts. Once I put all of them into the host (i.e, the Puppet Master), then everything sped up to full speed on the clients. (I had been thinking it was a problem on the client side, so all of my troubleshooting had been isolated to the clients.

Re: [Puppet Users] Difficulty debugging crashing PuppetDB

2013-01-10 Thread Chris Price
Cody, Can you provide some details on your OS and JVM flavors / versions? Also, you mentioned there was "nothing in the logs"--does this include the syslog? And are there any other *files* in the /var/log/puppetdb directory? On Wednesday, January 9, 2013 5:30:03 PM UTC-8, Cody Robertson wrot

Re: [Puppet Users] stdlib take almost 14 minutes to sync on CentOS Vagrant VM

2013-01-10 Thread Ken Barber
Huh, good find. I'm guessing you're still running webrick? Based on a quick google it looks like it by does reverse DNS by default. Most web servers have this disabled by default but I think webrick does not (Apache at least disabled dns lookups I'm sure by default). I think if Puppet passes DoNot

Re: [Puppet Users] stdlib take almost 14 minutes to sync on CentOS Vagrant VM

2013-01-10 Thread Josh Cooper
Hi Kirk On Thu, Jan 10, 2013 at 7:58 AM, Kirk Steffensen wrote: > SOLVED: I didn't have the VMs in the host's /etc/hosts. Once I put all of > them into the host (i.e, the Puppet Master), then everything sped up to full > speed on the clients. (I had been thinking it was a problem on the client

Re: [Puppet Users] Re: Announce: PuppetDB 1.1.0-rc4 now available

2013-01-10 Thread Moses Mendoza
On Thu, Jan 10, 2013 at 7:27 AM, Eric Kissinger wrote: > > > The puppetdb-1.1.0-0.1rc4.el6.noarch.rpm package seems to have an error when > unpacking the puppetdb.jar. > > This is the output: > > > Downloading Packages: > puppetdb-1.1.0-0.1rc4.el6.noarch.rpm

Re: [Puppet Users] Puppet module for managing Cobbler

2013-01-10 Thread Ryan Coleman
I think Jakov meant to post this module: http://forge.puppetlabs.com/jsosic/cobbler and not apache. Thanks for sharing! On Sat, Dec 29, 2012 at 11:54 AM, Jakov Sosic wrote: > Module on forge: > > http://forge.puppetlabs.com/**puppetlabs/apache > >

[Puppet Users] Access variables defined in defined type

2013-01-10 Thread Vladimir Rutsky
Hello! How can I access variable defined inside defined type? For example I have following define: define python_virtualenv( $directory ) { # Setup virtualenv in directory here $easy_install = "${directory}/bin/easy_install" } And use it in this way: python_virtualenv { 'env for Django':

Re: [Puppet Users] JBOSS installation and Configuration through puppet

2013-01-10 Thread Andrey Kouznetsov
I have the same error. I am using puppet-jboss module from example42 and trying to install it on clean ubuntu 12.04 server. User jboss does not exists before (so and after) I run puppet agent. Here is part of output: Debug: Executing '/usr/sbin/groupadd jboss' Notice: /Stage[main]/Jboss::User/Gro

[Puppet Users] Re: Access variables defined in defined type

2013-01-10 Thread Vladimir Rutsky
Sorry, there is a typo in example: define python_virtualenv( $directory ) { # Setup virtualenv in directory here ... $easy_install = "${directory}/bin/easy_install" } And use it in this way: python_virtualenv { 'env for Django': directory => '/opt/django/env' } python_virtualenv { 'env

[Puppet Users] Re: Access variables defined in defined type

2013-01-10 Thread llowder
On Thursday, January 10, 2013 2:53:34 PM UTC-6, Vladimir Rutsky wrote: > > Sorry, there is a typo in example: > > define python_virtualenv( $directory ) { > # Setup virtualenv in directory here > ... > > $easy_install = "${directory}/bin/easy_install" > } > > And use it in this way: > > pyt

[Puppet Users] Re: Puppet dashboard not enabling inventory

2013-01-10 Thread Stefan Heijmans
>>I mean regardless of what settings are set shouldn't I at least be able to see the inventory tab if enable_inventory_service is set to true? Yes if you mean the one on top of the screen If you click on a node when it's not configured correctly it shows; Inventory Could not retrieve facts from in

[Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread iamauser
Hello, I am trying to set up a simple ENC, but definitely missing pieces because of which the client data is not propagated to the master. Any help is appreciated. Here is what I do after following some of puppetlab docs (which is not very verbose TBH) : In the puppet-master the yaml containin

[Puppet Users] Announce: PuppetDB 1.1.0-rc5 Available

2013-01-10 Thread Moses Mendoza
PuppetDB 1.1.0-rc5 is now available for download. 1.1.0-rc5 specifically addresses a regression in Debian packaging of PuppetDB. RPM packages are unchanged since 1.1.0-rc4. # Downloads == Available in native package format in the pre-release repositories at: http://yum.puppetlabs.com a

[Puppet Users] changing the root password on PUPPET master and init.pp

2013-01-10 Thread DJames
I understand that you must change the password on the host itself first, then change the password in /etc/puppet/modules/users/manifests/init.pp what makes the password encrypted? Do i just put the non-encrypted new root password in the following sections? then puppet encrypts it? lass users {

[Puppet Users] Re: Help needed in setting up a simple ENC

2013-01-10 Thread iamauser
Just to add : I am using puppet-3.0.2x -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/jaQ7a_m_DmsJ. To post to this group, send email to puppet-users@goog

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread Gary Larizza
What happens when you run `/usr/local/bin/enclassifier node_name`as the puppet user? On Thu, Jan 10, 2013 at 1:41 PM, iamauser wrote: > Hello, > > I am trying to set up a simple ENC, but definitely missing pieces because > of which the client data is not propagated to the master. Any help is >

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread iamauser
On Thursday, January 10, 2013 4:07:45 PM UTC-6, Gary Larizza wrote: > What happens when you run `/usr/local/bin/enclassifier node_name`as the > puppet user? > > This is what it prints out if I run it on puppet-server. ~]# /usr/local/bin/enclassfier node_name --- environment: classes: - defa

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread Gary Larizza
On Thu, Jan 10, 2013 at 2:13 PM, iamauser wrote: > On Thursday, January 10, 2013 4:07:45 PM UTC-6, Gary Larizza wrote: > >> What happens when you run `/usr/local/bin/enclassifier node_name`as the >> puppet user? >> >> > > This is what it prints out if I run it on puppet-server. > > ~]# /usr/local

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread iamauser
Hi, Here is the output. Sorry I didn't get it the first time :) ]# su -s /bin/sh puppet -c "/usr/local/bin/enclassifier node_name" --- environment: production classes: defaultcls: dyd::agents: Thanks On Thursday, January 10, 2013 4:36:14 PM UTC-6, Gary Larizza wrote: > > > > > On Thu, J

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread Gary Larizza
On Thu, Jan 10, 2013 at 2:56 PM, iamauser wrote: > Hi, > > Here is the output. Sorry I didn't get it the first time :) > > ]# su -s /bin/sh puppet -c "/usr/local/bin/enclassifier node_name" > --- > environment: production > classes: >defaultcls: >dyd::agents: > Cool. Okay, so you said i

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread iamauser
Running puppet agent with a blank node default didn't throw any error and prints out the notification. I get this message when puppet agent runs on 'node_name'. Notice: I AM DEFAULTing... Notice: /Stage[main]//Node[default]/Notify[I AM DEFAULTing...]/message: defined 'message' as 'I AM DEFAULTi

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread Gary Larizza
On Thu, Jan 10, 2013 at 3:18 PM, iamauser wrote: > Running puppet agent with a blank node default didn't throw any error and > prints out the notification. I get this message when puppet agent runs on > 'node_name'. > > Notice: I AM DEFAULTing... > Notice: /Stage[main]//Node[default]/Notify[I AM

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread iamauser
I guess I figured it out after looking at the PuppetlabConf video on youtube :) Need to restart the puppetmaster. There was a laugh about during in the talk !huh! It doesn't solve my problem though. It now ends up with another error. First warning and then error : ]$ sudo puppet agent --s

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread Gary Larizza
On Thu, Jan 10, 2013 at 3:38 PM, iamauser wrote: > I guess I figured it out after looking at the PuppetlabConf video on > youtube :) > Need to restart the puppetmaster. There was a laugh about during in the > talk !huh! > > It doesn't solve my problem though. It now ends up with another error

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread Gary Larizza
On Thu, Jan 10, 2013 at 3:36 PM, Gary Larizza wrote: > > > > On Thu, Jan 10, 2013 at 3:18 PM, iamauser wrote: > >> Running puppet agent with a blank node default didn't throw any error and >> prints out the notification. I get this message when puppet agent runs on >> 'node_name'. >> >> Notice:

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread iamauser
Yep... Typo indeed... It all works now... Thanks for your patience It now prints out the notification in the class dyd::agents... Cheers On Thursday, January 10, 2013 5:42:57 PM UTC-6, Gary Larizza wrote: > > > > > On Thu, Jan 10, 2013 at 3:36 PM, Gary Larizza > > > wrote: > >> >> >>

[Puppet Users] ghost overwriting puppet.conf (help!)

2013-01-10 Thread iamauser
I am puzzled and banging my head on the wall since two hours. After doing some basic and first time setup with ENC (see my earlier posts here) I succeeded to propagate client data. Now when I revert back to the old si