[Puppet Users] Re: exec failure doesn't abort whole puppet transaction

2013-06-05 Thread jcbollinger
On Tuesday, June 4, 2013 11:06:53 AM UTC-5, xin zhang wrote: I have my puppet defined as (pseudo code) class A { exec { somethingA: } } class B { exec { somethinB: } } Class['A'] - Class['B'] the exec{ somethingA: } is actually failed on my setup, I was

[Puppet Users] agent prepend every line with var

2013-06-05 Thread Marc Lucke
How would I prepend every log line output with a [var] when I run: var=myvar puppet agent -t -o -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to

[Puppet Users] puppet-dashboard problem, report from node fails

2013-06-05 Thread zgrega
Hello, I am having a problem with reports from a puppet node. After report is sent the following error occurs on my puppet master: *localhost puppet-master[31237]: Report processor failed: Connection timed out - connect(2)* i really don't know what is a problem. I have the following

[Puppet Users] how to official generate rdoc for latest puppet version with ruby 1.9.3 or newer

2013-06-05 Thread pronix pronix
how to official generate rdoc for latest puppet version with ruby 1.9.3 or newer ? may be somebody now plugin for yard -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an

Re: [Puppet Users] Puppet/Nagios/PuppetDB slow performance

2013-06-05 Thread Jonathan Gazeley
On 25/05/13 17:24, David Schmitt wrote: On 2013-05-25 10:11, Alexander Bien wrote: On 24.05.2013 16:58, Ken Barber wrote: Its probably the nagios resource, its well known for not scaling when the files contain a lot of entries. That would explain why your PuppetDB is showing low load - as its

[Puppet Users] [offtopic] OpenNebulaConf2013: Extended keynote lineup and deadline for talk proposals

2013-06-05 Thread Javi Fontan
Hello, I hope you don't find this email too offtopic. We have just published an expanded keynote line-up for the OpenNebula Conference 2013 (http://blog.opennebula.org/?p=4707) that includes experts from leading institutions using OpenNebula. The first ever OpenNebula Conference will be held

Re: [Puppet Users] defined() implicitly requiring resource reference

2013-06-05 Thread jcbollinger
On Tuesday, June 4, 2013 6:01:58 PM UTC-5, Tom Lanyon wrote: Hi John, Thanks for the reply. On 05/06/2013, at 12:33 AM, jcbollinger wrote: On Tuesday, June 4, 2013 1:22:08 AM UTC-5, Tom Lanyon wrote: Unfortunately, this results in a dependency cycle. It appears that putting

[Puppet Users] Re: Puppet freeze on select

2013-06-05 Thread Montse Seisdedos
The same happens to me, any answer? El jueves, 26 de julio de 2012 01:16:46 UTC+2, david c escribió: So I'm new to puppet. I'm also new to ruby. Working through the examples and on the 1st attempt at rolling my own I seem to have hit an intermittent bug. I've seen a posting here with a

Re: [Puppet Users] Share Hiera configuration between 2 nodes?

2013-06-05 Thread m3ta99
Ok maybe I spoke too soon... It looks like the hiera hierarchy is not seeing the custom fact and as a result is not applying the corresponding .yaml file. I expected it to load the hieradata\webserver.yaml file. However as the puppetmasterd debug log shows that it skips over this and loads the

Re: [Puppet Users] Share Hiera configuration between 2 nodes?

2013-06-05 Thread Dan White
have you tried running hiera on the command line with debug ? “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin Hobbes) - Original Message - From: m3t...@gmail.com To:

[Puppet Users] Template not putting in new lines.

2013-06-05 Thread mepunite
hi all, Ive been having a bit of a trouble with something that should be pretty simple. My goal is to create a host file on a node with IP address and hostname (specified in the node manifest). I created the manifests and templates below but when I use them I get a hosts file without spaces or

Re: [Puppet Users] Template not putting in new lines.

2013-06-05 Thread Javier Fontan
I think that the problem is that you are converting the array into a string: class { test::v1_0 : extra_hosts = $extra_hosts, } Try taking out the ; class { test::v1_0 : extra_hosts = $extra_hosts, } On Wed, Jun 5, 2013 at 6:00 PM, mepunite kevin.j.cr...@gmail.com wrote: hi all,

Re: [Puppet Users] Share Hiera configuration between 2 nodes?

2013-06-05 Thread m3ta99
Yes and it seems to work [root@puppetmaster ~]# hiera classes -c /etc/puppet/environments/testing/hiera.yaml environment=testing role=webserver fqdn=node1 --debug -a DEBUG: Wed Jun 05 10:02:23 -0600 2013: Hiera YAML backend starting DEBUG: Wed Jun 05 10:02:23 -0600 2013: Looking up classes in

Re: [Puppet Users] Share Hiera configuration between 2 nodes?

2013-06-05 Thread Keith Burdis
You need to restart the Puppet Master process if you change hiera.yaml. - Keith On 5 Jun 2013 17:09, m3t...@gmail.com wrote: Yes and it seems to work [root@puppetmaster ~]# hiera classes -c /etc/puppet/environments/testing/hiera.yaml environment=testing role=webserver fqdn=node1 --debug

[Puppet Users] Status of bug #8040?

2013-06-05 Thread Dennis Jacobfeuerborn
Hi, what plans are in place to deal with bug #8040: http://projects.puppetlabs.com/issues/8040 I have some Puppet experience but I'm also looking at Chef and Ansible right now in order to determine which configuration management to commit to and being able to build and re-use components is a

[Puppet Users] stdlib parseyaml

2013-06-05 Thread Sloan Miller
https://forge.puppetlabs.com/puppetlabs/stdlib Has anyone worked with parseyaml? could you provide an example of how this works? -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it,

[Puppet Users] Re: Hiera and environments

2013-06-05 Thread phundisk
I am also having the same issue you were having. When I removed the '%{environment}' part of the datadir, hiera works fine, however for me to have different development stages, I need to be able to specify environments so I don't accidentally take down production with a change to hiera

Re: [Puppet Users] Re: Hiera and environments

2013-06-05 Thread Alex Farhadi
nevermind, i had a typo, its always a typo. i had a $ in my hiera file and not a % which is needed On Wed, Jun 5, 2013 at 2:18 PM, phundisk alex.farh...@currensee.com wrote: I am also having the same issue you were having. When I removed the '%{environment}' part of the datadir, hiera works

[Puppet Users] dashboard/passenger not connecting on port 8140

2013-06-05 Thread DJames
I have setup passenger w/ apache, but my dashboard is not connecting properly. I am getting the following errors em::Specification#installation_path called from /etc/puppet/puppet-dashboard/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:93. NOTE:

Re: [Puppet Users] dashboard/passenger not connecting on port 8140

2013-06-05 Thread Erick Ocrospoma
It seems that user dashboard doesn't have enough permissions on the database. -- Cel : 511-997823451 Blog : http://piobox.blogspot.com/ LUG : http://www.utpinux.org Linux User ID : 549567 --- sı ɯǝ1qoɹd ɹnoʎ ʇɐɥʍ ǝǝs ı ʞuıɥʇ ı On 5 June 2013 13:52, DJames

Re: [Puppet Users] Share Hiera configuration between 2 nodes?

2013-06-05 Thread Dan White
What is in /etc/puppet/environments/testing/hieradata/common.yaml ? I find that last debug line troubling. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin Hobbes) - Original Message

[Puppet Users] Question on task deletion using scheduled_task

2013-06-05 Thread beyonddc . storage
I have a very simple scheduled_task resource defined. class delete_task { scheduled_task { 'testing123': name = test_task, ensure= absent, } } I created this test_task by hand using the Windows Task Scheduler GUI. When I use Puppet and apply my resource, the task

Re: [Puppet Users] Re: Hiera and environments

2013-06-05 Thread Dan White
Try using the environment from the hierarchy: :hierarchy: - %{environment}/%{fqdn} - %{environment}/common - %{fqdn} - common :backends: - yaml :yaml: :datadir: '/etc/puppet/hieradata' /etc/puppet/hieradata/ |-- dev |-- production `-- qa This works for me “Sometimes I

Re: [Puppet Users] Share Hiera configuration between 2 nodes?

2013-06-05 Thread m3ta99
Ygor, My common.yaml is actually empty at the moment. I think I have discovered the problem...I found that it is using the hiera.yaml file from my master environment instead of testing but I am not sure why... Here is my /etc/puppet/puppet.conf [main] # The Puppet log directory. #

Re: [Puppet Users] Share Hiera configuration between 2 nodes?

2013-06-05 Thread Dan White
I am. You have : [main] environment = 'master' [master] environment = 'master' [agent] environment = 'master' If you want the node to be in another environment, try removing the line from [main] And restart your puppetmaster “Sometimes I think the surest sign that intelligent

Re: [Puppet Users] Re: Puppet dashboard stuck pending jobs

2013-06-05 Thread Jesse Martinich
Your 'alter table' fix worked for me too. Thanks! -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this

Re: [Puppet Users] Share Hiera configuration between 2 nodes?

2013-06-05 Thread m3ta99
Okay, looks like removing environment = master from the [master] block fixed the issue.. I took that from this example https://puppetlabs.com/blog/git-workflow-and-puppet-environments/ not sure how/why it seemed to work fine for the rest of the configration with the exception of hiera.

Re: [Puppet Users] agent prepend every line with var

2013-06-05 Thread David Schmitt
puppet agent -t -o | perl -pe 'print myvar=;' Regards, David On 2013-06-05 15:16, Marc Lucke wrote: How would I prepend every log line output with a [var] when I run: var=myvar puppet agent -t -o -- You received this message because you are subscribed to the Google Groups Puppet Users

Re: [Puppet Users] Status of bug #8040?

2013-06-05 Thread David Schmitt
On 2013-06-05 18:57, Dennis Jacobfeuerborn wrote: Hi, what plans are in place to deal with bug #8040: http://projects.puppetlabs.com/issues/8040 I have some Puppet experience but I'm also looking at Chef and Ansible right now in order to determine which configuration management to commit to and

Re: [Puppet Users] Puppet/Nagios/PuppetDB slow performance

2013-06-05 Thread David Schmitt
On 2013-06-05 15:53, Jonathan Gazeley wrote: On 25/05/13 17:24, David Schmitt wrote: On 2013-05-25 10:11, Alexander Bien wrote: On 24.05.2013 16:58, Ken Barber wrote: Its probably the nagios resource, its well known for not scaling when the files contain a lot of entries. That would explain

Re: [Puppet Users] agent prepend every line with var

2013-06-05 Thread Marc Lucke
Thanks David, What about --logdest syslog? I was really looking to alter the log format. - Marc On 06/06/2013, at 5:53 AM, David Schmitt da...@dasz.at wrote: puppet agent -t -o | perl -pe 'print myvar=;' Regards, David On 2013-06-05 15:16, Marc Lucke wrote: How would I prepend

[Puppet Users] Hiera YAML False bug

2013-06-05 Thread Ti Leggett
It seems puppet thinks that variables evaluate to true even when they are explicitly set to false in hiera YAML. In my searching it seems like this should be fixed but with hiera 1.2.1 and puppet 3.2.1 I'm still seeing this. In my YAML I have: # Java directives java : enable_jdk : false #

[Puppet Users] help log error

2013-06-05 Thread Rafael Tomelin
All, Watch about is error? puppet agent --test Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Error 403 on SERVER: Forbidden request: puppet(192.168.1.133) access to /node/puppet.tomelin.local [find] at :115 Info: Retrieving plugin Error:

[Puppet Users] Re: Status of bug #8040?

2013-06-05 Thread joe
Using anchors happens alot less than you think if you write minimal functionality into your subclasses. You don't put anchors in subclasses to anchor them to the parents. You may need anchors in subclasses if they include other classes whose resources need to be ordered, but this really

Re: [Puppet Users] client connection errors: SSL, SNI and DNS_ALT_NAMES Oh My

2013-06-05 Thread Josh Cooper
On Mon, May 20, 2013 at 12:37 PM, Jonathan Proulx j...@jonproulx.com wrote: So turns out to be a very simple solution, all I needed was to set a ServerAlias apache directive for the alternate dns name. Since this is the only service apache on these systems serves I'd been sloppy and didn't

Re: [Puppet Users] Question on task deletion using scheduled_task

2013-06-05 Thread Josh Cooper
Hi David, On Wed, Jun 5, 2013 at 12:08 PM, beyonddc.stor...@gmail.com wrote: I have a very simple scheduled_task resource defined. class delete_task { scheduled_task { 'testing123': name = test_task, ensure= absent, } } I created this test_task by hand

Re: [Puppet Users] Question on task deletion using scheduled_task

2013-06-05 Thread beyonddc . storage
Hi Josh, That's explained it. Thanks for your information David On Wednesday, June 5, 2013 6:08:27 PM UTC-4, Josh Cooper wrote: Hi David, On Wed, Jun 5, 2013 at 12:08 PM, beyonddc...@gmail.com javascript:wrote: I have a very simple scheduled_task resource defined. class delete_task {

Re: [Puppet Users] Hiera YAML False bug

2013-06-05 Thread Dan White
http://projects.puppetlabs.com/issues/17105 Hiera booleans are broken -- explicit false value registers as lookup failure On Jun 5, 2013, at 4:52 PM, Ti Leggett wrote: It seems puppet thinks that variables evaluate to true even when they are explicitly set to false in hiera YAML. In my

[Puppet Users] installing carbon / passing PYTHONPATH to pip package provider?

2013-06-05 Thread Amos Shapira
My environment: Ubuntu LTS 12.04, carbon (https://github.com/graphite-project/carbon) 0.9.9 installed using pip. I just learned why when I run pip freeze on a system I don't see the carbon package even when it installed successfully - I should run it with PYTHONPATH=/opt/graphite/lib/ pip

[Puppet Users] Re: puppet-dashboard problem, report from node fails

2013-06-05 Thread zgrega
I will answer to myself. There is an option in /usr/share/puppet-dashboard/config/settings.yml which in my case has to b e set to true disable_legacy_report_upload_url: true On Wednesday, June 5, 2013 8:23:00 AM UTC+2, zgrega wrote: Hello, I am having a problem with reports from a puppet

[Puppet Users] Re: puppet-dashboard problem, report from node fails

2013-06-05 Thread zgrega
I will answer to myself. There is an option in /usr/share/puppet-dashboard/config/settings.yml which in my case has to b e set to true disable_legacy_report_upload_url: true On Wednesday, June 5, 2013 8:23:00 AM UTC+2, zgrega wrote: Hello, I am having a problem with reports from a puppet