[Puppet Users] Moving from manifest files to ENC script - not working...

2014-06-16 Thread shlo . afgin
Hi, Until now I work with manifest file. Now I would like to create a perl/php script that will create the YAML script and should overwrite the manifest file. So I edit the file puppet.conf and put: mode_terminus = exec external_nodes = /usr/bin/env

Re: [Puppet Users] SuSe SLES: error when refreshing puppet yum repository

2014-06-16 Thread Torsten Kleiber
The problem is rubygem itself, which was missing. This has to be installed from the SDK which was not available as repository on th system. Am Freitag, 13. Juni 2014 14:47:19 UTC+2 schrieb Darin Perusich: rubygem-ruby-shadow is available in the repo so I don't know what could be causing

[Puppet Users] Re: Moving from manifest files to ENC script - not working...

2014-06-16 Thread daddy dp
As I know puppet merge both sources ENC and manifest file. You can use empty manifest file to avoid this behavior. Host name will be available as first argument to this script, all others facts you can query from puppetdb. Also you can use hiera as ENC, and all facts will be available for you

[Puppet Users] Connection timed out - connect(2) when using puppet module

2014-06-16 Thread Torsten Kleiber
Hi! I try to install modules in puppet, but it gives an error message independent of the module I try to install: myserver:~ # puppet module install rtyler/jenkins Notice: Preparing to install into /etc/puppet/modules ... Notice: Downloading from https://forgeapi.puppetlabs.com ... Error:

Re: [Puppet Users] Moving from manifest files to ENC script - not working...

2014-06-16 Thread RichTea
-- -- http://23.me.uk/2 -- --Time flies like an arrow; fruit flies like a banana. -- On 16 June 2014 08:52, shlo.af...@gmail.com wrote: Hi, Until now I work with manifest file. Now I would like to create a perl/php script that will create the YAML script and should overwrite the manifest

[Puppet Users] Belgian Puppet User Group - Something about Mcollective 24th of June

2014-06-16 Thread Johan De Wit
This time we will talk about mcollective. The first part we will flood you with some nice slides and a bit of talking, The second part, all will setup mcollective on its own VM, and explore what Mcollective can do and how it works. Detailed information can be found on our meetup page :

[Puppet Users] Re: Announce: Puppet 3.6.2 [ Security and Bug fix Release ]

2014-06-16 Thread Byron Miller
Running puppet 3.6.2 and disable_warnings = deprecations appears to make no difference to prohibiting the alert about environments. On Tuesday, June 10, 2014 1:19:05 PM UTC-5, Moses Mendoza wrote: Puppet 3.6.2 is a security and bug fix release in the Puppet 3.6 series. This release addresses

[Puppet Users] What is the puppet way to send configuration details along with the request from the puppet ?

2014-06-16 Thread Malintha Adikari
Hi, I am new to puppet. In my puppet master side I want to create some configurations dynamically. For that I have to send those configuration details along with the puppet agent request to the master. I have plenty of configurations details to be sent with a request. Does Puppet support this

[Puppet Users] Re: Need help! Puppet could not request certificate: No route to host -connect(2)

2014-06-16 Thread Philip Mosquera
I was in the exact same situation and found a dirty solution was to simply to use service iptables stop. It's a bit of a dirty workaround and definitely wouldn't recommend it on an open network but it solved the issue for me to use it on a few internal vms. Hope it helped. -- You received

Re: [Puppet Users] What is the puppet way to send configuration details along with the request from the puppet ?

2014-06-16 Thread Christopher Wood
It sounds like you want to use facts to make decisions about what configurations to apply: http://docs.puppetlabs.com/puppet/latest/reference/lang_facts_and_builtin_vars.html http://docs.puppetlabs.com/guides/custom_facts.html The usual caveat here tends to be that you should be telling the

[Puppet Users] Re: Moving from manifest files to ENC script - not working...

2014-06-16 Thread shlo . afgin
HI, I empty the file nodes.pp, but it look like it's not running. I make the script to print something to a file, each time it run, but it write it only when I run it from the command line, While I expect to have that print each time the Puppet agent run the puppet command. Is the hostname

Re: [Puppet Users] can a puppet run tell puppet master to run puppet on other host based on previous events (e.g. new host)?

2014-06-16 Thread Ken Barber
Alex, The more complete idea would be to trigger when resources have actually been applied. So I would probably consider a report listener for this kind of thing, as it shows when a resource has changed rather than compiled. I think Chris Spence has a tool for this kind of thing that uses MCO to

Re: [Puppet Users] Re: Moving from manifest files to ENC script - not working...

2014-06-16 Thread Ken Barber
When I install open source Puppet 3.3.1, I follow old instruction of 2.6.0. I did not install the PuppetDB, unless it came by default installation. Is it installed with open source puppet 3.3.1? No it is not. It's a separate step. Follow the documentation:

[Puppet Users] Puppetlabs support for squeeze

2014-06-16 Thread Erik Dalén
Debian has announced a long term support for debian squeeze: https://www.debian.org/News/2014/20140616 I'm wondering if this will mean that Squeeze will stick around at apt.puppetlabs.com for the same period? -- Erik Dalén -- You received this message because you are subscribed to the Google

[Puppet Users] Puppet-Dashboard All Nodes Unresponsive, Background Tasks

2014-06-16 Thread Ximena Cardinali
Hello There, I've been struggling the last days with this issue. The situation is happening since I've upgrade Puppet to 3.6.0. *- Problem:* On Puppet-Dashboard all Hosts are shown as *Unresponsive* and thousand of tasks are queued as *Failed*. *- Environment:* OS: Debian Wheezy

[Puppet Users] Dashboard - hide/unhide nodes from the command line?

2014-06-16 Thread Fine, Thomas
Hi, Is there any way in puppet dashboard to hide and unhide nodes from the command line? I couldn't find anything in the rake API, but I don't really understand rake that well at this point. tom -- You received this message because you are subscribed to the Google Groups Puppet Users

[Puppet Users] Puppet new deployment questions - deployment patterns, sensitivity to network errors, and certificate headaches.

2014-06-16 Thread Stephen Morton
I've got some newbie puppet questions. My team has a tremendous amount of linux/computer knowledge, but we're new to Puppet. We recently started using puppet to manage some 100 servers. Their configs are all pretty similar with some small changes. History Prior to Puppet, we already had

[Puppet Users] How to configure PIP package provider to run pip3?

2014-06-16 Thread Alexander Luetjen
Ubuntu 14.04 comes with pre-loaded python 3 running side-by-side with the python 2.7. To install a package into the python 3 environment, I can simple run pip3 instead of pip. Is there a way to make the pip package provider run pip3 instead of pip? Cheers, Alex -- You received this message

Re: [Puppet Users] How to configure PIP package provider to run pip3?

2014-06-16 Thread Dan Bode
there is a patch in openstack-infra that is looking to accomplish this. They are creating different providers for pip vs. pip3 (b/c for their use case, they have to be able to use both in the same run) (it's buried in here somewhere) https://review.openstack.org/#/c/51425/ On Mon, Jun 16,

Re: [Puppet Users] No rubygem-deep-merge RPM in EL7 Yum repo

2014-06-16 Thread Melissa Stone
Hey Marc, Thanks for reporting this! Could you file a ticket at https://tickets.puppetlabs.com/browse/CPR with that information? That way we can be sure to get that package up. Thanks! On Sun, Jun 15, 2014 at 11:50 AM, Marc marc.villaco...@gmail.com wrote: Hi, Puppetizing my first Centos7

Re: [Puppet Users] Grant user SELECT on pg_stat_database?

2014-06-16 Thread Chris
On 13/06/14 14:44, Chris Miller wrote: How do I grant a user SELECT privileges on the pg_stat_database catalog? Using the normal postgresql::server::database_grant approach just returns: 'ERROR: database pg_stat_database does not exist pg_stat_database isn't a database, it's a view inside

[Puppet Users] initdb error with puppet-postgresql module

2014-06-16 Thread thinkwell
Hello everyone, I'm trying out the puppet-postgresql module (v. 3.3.3) on Rhel 5 6 machines, installing Postgresql 9.3. When installing manually from the repos, everything works as expected: 1. yum -y install postgresql93-server 2. service postgresql-9.3 initdb 3. service postgresql-9.3 start

[Puppet Users] Announce: Facter 1.7.6 [ Security Release ]

2014-06-16 Thread Melissa Stone
Facter 1.7.6 is a security fix release in the Facter 1.7 series. The Facter 1.7 series was incorrectly omitted from the original security announcement for Facter. This release addresses CVE-2014-3248. It has no other bug fixes or new features. All users of Facter 1.7.5 and earlier are encouraged

[Puppet Users] Re: initdb error with puppet-postgresql module

2014-06-16 Thread thinkwell
Well, I found the problem. The initdb command was failing with this error: runuser: cannot set groups: Operation not permitted So, the folder was created but not the default database. When I commented out user group, the command worked on both Rhel 5 6. Is this a bug? exec {

[Puppet Users] Is PuppetDB environment aware?

2014-06-16 Thread Vadym Chepkov
Greetings, Does PuppetDB support environments similar to puppet? I noticed exported resources are crossing from one environment to another. I would like to prevent this without having to add $environment to every single tag and forge modules don't do it anyway, so there must be a some way to

Re: [Puppet Users] Puppet new deployment questions - deployment patterns, sensitivity to network errors, and certificate headaches.

2014-06-16 Thread Rich Burroughs
I'm not sure about your #2 and #3. I've not really experienced either of those and I wouldn't expect they are regular for most people. It would probably be more helpful if you could post more specifics when one of those things happens. As to #1, it maybe depends on how you administer your

Re: [Puppet Users] Puppet new deployment questions - deployment patterns, sensitivity to network errors, and certificate headaches.

2014-06-16 Thread Doug Forster
Steve, I think you said you put all your configuration in a single site.pp. This is often bad form and limits the flexibility of your deployment. Something we do is layout modules. The common pattern is: /etc/puppet/environments/production - Manifests/site.pp - Hieradata/*.yaml - Modules/foo

[Puppet Users] Server acceptance unit testing

2014-06-16 Thread John Warburton
Hi Everyone We want to unit test our servers with something like serverspec, but we do not have the coding skills in the team to write ruby/rspec, and we want a low barrier to entry for writing tests Our site isn't small with 3.5K servers, 200 modules, 400 manifests covering 3K resources. Each