[Puppet Users] Re: Puppet dashboard stuck pending jobs - MySql Error: Incorrect string value

2013-10-07 Thread Klavs Klavsen
I've seen similar errors, and I found it easier to simply delete the reports where this happened.. unfortunately puppet-dashboard is not entirely bugfree, and unmaintained.. :( I'm hoping to replace puppet dashboard with https://github.com/nedap/puppetboard - but haven't had time to work on

[Puppet Users] Unable to connect to PuppetLabs repository

2013-10-07 Thread Anand Malto
Tried running the below command:- * sudo rpm -ivh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-7.noarch.rpm * And got this:- Retrieving http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-7.noarch.rpm curl: (7) Failed to connect to

[Puppet Users] Sync data between various PuppetDB instances

2013-10-07 Thread Pablo Fernandez
Dear all, We have a few reasons to have various PuppetDBs (and Masters, one per cluster) in our datacenter and, eventually, there may be a need to share *only* a few exported resources between clusters, like a few ssh-keys or nagios tests. Is there a mechanism to pull and push some exported

[Puppet Users] Re: require one file from several environments

2013-10-07 Thread jcbollinger
On Friday, October 4, 2013 11:52:57 AM UTC-5, kay kay wrote: I would like to create one file with array, i.e.: $pkg_versions = { soft1 = { prod = 0.0.6, test = 0.0.7 }, soft2 = { prod = 1.1.4, test = 1.1.5 }; } And require this file in several environments. I tried to use require

[Puppet Users] Re: require one file from several environments

2013-10-07 Thread jcbollinger
On Monday, October 7, 2013 8:14:52 AM UTC-5, jcbollinger wrote: $soft1_versions = $site::pkg_versions['soft1'] Sorry, that should be $soft1_versions = $site::versions::pkg_versions['soft1'] John -- You received this message because you are subscribed to the Google Groups Puppet

[Puppet Users] rspec and overriding :facts per context

2013-10-07 Thread Johan De Wit
Hi, I'm looking for a way to avoid repeating all necessary facts to make the catalog compile. I'm using the let function for passing needed facts: Now I have to repeat all facts in every context to make it work. Is there a way to do something like : describe 'x' do let(:facts) {{ :x =

[Puppet Users] Puppet 3.2, passenger 4.0.3 and nginx, could not spawn process for group /etc/puppet/rack#default

2013-10-07 Thread Fran Rodríguez
Hi group, I got strange situations with my puppet configuration, i get this error with out my puppetmaster runnging: code [ 2013-10-07 15:09:51.4965 4514/7fc6e1ded700 Pool2/Spawner.h:738 ]: [App 4605 stdout] [ 2013-10-07 15:09:52.5461 4514/7fc6e1ded700 Pool2/Implementation.cpp:777 ]: Could

[Puppet Users] Re: How to deploy excecute script remotely

2013-10-07 Thread jcbollinger
On Saturday, October 5, 2013 3:38:55 AM UTC-5, Raju Patil wrote: I have write the below script in puppet language on puppet master. Now wants to know that, I have to call this script to be excuted from puppet master on End points. How do I do that ? In the strictest sense, you *don't*

[Puppet Users] Force Fact within manifest

2013-10-07 Thread Paul Oyston
I have a requirement where I want a Fact to be stored in PuppetDB during the manifest run and not during the initial fact gathering phase. I know I can, in my manifests, create a file in /etc/facter/facts.d or I can write a Ruby script that will then be distributed by plugin sync. But both of

Re: [Puppet Users] Force Fact within manifest

2013-10-07 Thread Wolf Noble
Hi Paul, Here's a diagram showing how the puppet run process flows: http://www.aosabook.org/images/puppet/TimingDiagram.png as you can see, facter is run exactly once, before the catalog is created. facter is not invoked again until the next run. I suppose you could have your sshkey resource

[Puppet Users] Re: require one file from several environments

2013-10-07 Thread kay kay
Thanks! That is what I need. понедельник, 7 октября 2013 г., 17:17:12 UTC+4 пользователь jcbollinger написал: On Monday, October 7, 2013 8:14:52 AM UTC-5, jcbollinger wrote: $soft1_versions = $site::pkg_versions['soft1'] Sorry, that should be $soft1_versions =

[Puppet Users] Puppet fails on aws instance using ruby19 yum install

2013-10-07 Thread Robert Logan
I've been trying to use the ruby19 and rubygems19 packages from amazons yum repo but cant get around this issue: [root@ip-10-234-225-44 ~]# puppetd --test /usr/share/rubygems1.9/rubygems/custom_require.rb:36:in `require': cannot load such file -- puppet/application/agent (LoadError)

Re: [Puppet Users] Re: Installing Puppet on Windows: Error 1053

2013-10-07 Thread Rob Reynolds
We believe we have fixed these issues with the installer in the version that is coming out soon. Here was the issue - https://projects.puppetlabs.com/issues/22493 Thanks! On Sun, Oct 6, 2013 at 9:04 AM, eugen shilo...@gmail.com wrote: Same stuff for russian windows Please help us ) среда,

[Puppet Users] Re: puppet dashboard certificate request fails

2013-10-07 Thread Bernhard Efler
Hi! I got the same problem. Has someone a solution for this? thanks Am Freitag, 2. August 2013 22:37:36 UTC+2 schrieb espe: Hi, if I send the certificate request from puppet dashboard to the puppet master, I get the error SSL_connect returned=1 errno=0 state=SSLv3 read server certificate

[Puppet Users] Announce: Puppet 3.3.1 Available

2013-10-07 Thread Moses Mendoza
3.3.1 is a bug fix release in the Puppet 3.3 series. The focus of the release is fixing backwards compatibility regressions that were introduced via the YAML deprecations in 3.3.0. *Upgrade Note* The release of Puppet 3.3.1 supersedes the upgrade warning for Puppet 3.3.0. As of 3.3.1, agent

Re: [Puppet Users] rspec and overriding :facts per context

2013-10-07 Thread Dan Bode
I do this with params.merge! in a before block: here is an example: https://github.com/stackforge/puppet-openstack/blob/master/spec/classes/openstack_cinder_all_spec.rb#L61 On Mon, Oct 7, 2013 at 6:26 AM, Johan De Wit jo...@open-future.be wrote: Hi, I'm looking for a way to avoid

[Puppet Users] How to properly override manage_config_file parameter in puppetlabs-mysql module?

2013-10-07 Thread Todd Courtnage
I've been using puppet for a while, and have built up quite a range of my own very (very!) basic modules to do what I need to do. Now I'm starting to delve into the world of puppetlabs and am testing the new puppetlabs-mysql module (2.0.0-rc3) and have a (probably) fairly basic question, about

[Puppet Users] Puppet controling Network Interfaces OS:CentOS 5.x

2013-10-07 Thread jameskirk . taylor
Hello all, I am just learning Puppet-Poetry for controlling packages and file contents. Looking at the depth of language and concepts for this application, I thought, There must be a mechanism for controlling IP addresses and interfaces for agent nodes that I am not seeing. Would it be