[Puppet Users] PuppetDB - notify Puppetmaster

2013-11-04 Thread Steven Jonthen
Hi guys, I want the Puppetmaster to be notified if an agent has put new data into the PuppetDB, which is installed on the puppetmaster. After each incoming new data for PuppetDB I want to execute a command on the Puppetmaster. How can I do that? -- You received this message because you are

[Puppet Users] Security of facts (aka: who can see my facts?)

2013-11-04 Thread Arnaud Gomes-do-Vale
Hello, I have a module for deploying an application which relies on an (external) MySQL database. Here is a simplified version of the relevant parts: class myapp::database { $db_user = my_db_user $db_name = my_db_name # generate_db_passwd is a custom script, basically a wrapper around

[Puppet Users] Puppet Templates to cope with potential multiple sessions settings in the config file

2013-11-04 Thread Richie Rees
Hi, Here is my dilemma, have a class that installs an rpm then copies over the configuration files. Static files are published as files, variable files are published using templates with variables provided from foreman smart variable. The binaries being installed can be used to create

[Puppet Users] Need to Call Puppet node_wmware commad in puppet manifest

2013-11-04 Thread Sakitha
Hi All, Im new to puppet.I need to automate vm provisioning.so i used node_vmware to do that.It works fine in commad line.now i need to link that to puppet dashboard and pass vmname and template as class parameters. Sample Code: node_vmware create{ Test: #ensure=present,

Re: [Puppet Users] Re: Security of facts (aka: who can see my facts?)

2013-11-04 Thread Arnaud Gomes-do-Vale
Chuck cssc...@gmail.com writes: I wouldn't put any sensitive information in a fact, unless the only people with access to PuppetDB and your Servers are admins who already have access to this information. But even then I still wouldn't do it. That's more or less the conclusion I arrived at,

[Puppet Users] Re: Ruby-Code in Puppet

2013-11-04 Thread jcbollinger
On Saturday, November 2, 2013 5:03:13 PM UTC-5, ytmp123 wrote: Hi guys, I've two questions: 1. How can I execute normal Ruby-Code in a Puppet-Template? See any onine docs / tutorials on ERB, though there really isn't much to it. The docs Jo pointed you to are as good as any, and they

Re: [Puppet Users] Upgrading a .msi package through Puppet

2013-11-04 Thread Lorenzo Jesús Cubero
Dear Rob and Josh, Indeed it was all about a custom build msi being unable to upgrade himself. All the packages have the same UpgradeCode, so I will keep investigating. Thank you both for your time. Lorenzo On Thursday, October 31, 2013 5:00:24 AM UTC+1, Josh Cooper wrote: Hi Lorenzo,

Re: [Puppet Users] package conflict resolution method:

2013-11-04 Thread jcbollinger
On Friday, November 1, 2013 4:16:29 PM UTC-5, Tom Noonan wrote: That looks like a good solution, thanks! If by good you mean quick and dirty then you are right. Relying on ensure_packages() and especially ensure_resource() may get you in trouble, however, and at minimum doing so carries

Re: [Puppet Users] package conflict resolution method:

2013-11-04 Thread jcbollinger
On Monday, November 4, 2013 9:14:02 AM UTC-6, jcbollinger wrote: resource and class parameter overrides may fail to have the expected effect on resources that are guarded by ensure_*() functions Sorry, I was a little too brief there. Class parameter overrides don't work anyway, but what

[Puppet Users] Re: Debug: Service[pe-mcollective](provider=upstart): Could not find pe-mcollective.conf in /etc/init

2013-11-04 Thread alessandro mazzoli
FIXED : https://groups.google.com/forum/#!topic/mcollective-users/JBO2BcL8SGA Il giorno lunedì 28 ottobre 2013 17:11:27 UTC+1, alessandro mazzoli ha scritto: Hi all, i'm stucked with an error on PE-Mcollective. I have a puppetmaster with PE-Console on it, i have an agent node connected

Re: [Puppet Users] Monitoring services

2013-11-04 Thread Yasha Zislin
I got it fixed. :) If anybody is interested, here is the problem/solution. So it turns out that puppet actually calls start init script instead of restart (even though I've specified hasrestart=true). If one of the instances is still running, start script will say that service is already

Re: [Puppet Users] Re: Security of facts (aka: who can see my facts?)

2013-11-04 Thread Virender Khatri
puppetdb also expose facts etc. details via api calls too, you might want to check that out. take a look at hiera-gpg puppet module to store hiera variables in encrypted form, it will provide enough security on hiera/git side. On Mon, Nov 4, 2013 at 7:49 PM, Arnaud Gomes-do-Vale

[Puppet Users] brainstorm ldap type/provider

2013-11-04 Thread Johan De Wit
hi, Just thinking how i could manage ldap server with puppet, using dynamic configuration. I would follow the next step : In the manifest : install required packages for ldap server doing a 'site specific' basic configuration, meaning pushing a custon /etc/ldapbasedir/slapd.d develop some

Re: [Puppet Users] Puppet Templates to cope with potential multiple sessions settings in the config file

2013-11-04 Thread Jacob Fleming-Gale
Hi Richie, There's a few options available with the Ruby ERB templating in Puppet, depending on how you want to control the output, these pages are a good introduction to ERB and Puppet. http://docs.puppetlabs.com/guides/templating.html http://docs.puppetlabs.com/learning/templates.html

[Puppet Users] Redmine maintenance 11/04 7PM-8PM PST

2013-11-04 Thread Matt Kirby
Hello, I'm writing to inform you that projects.puppetlabs.com will be undergoing maintenance this evening from 7PM to 8PM PST. There will be a short period of downtime as the application is shut down and minor additional functionality is added. I will send out follow up communication when the