Re: [Puppet Users] Announce: Puppet Server 1.0.2 available!

2015-01-23 Thread Eric Sorenson
On Wednesday, January 21, 2015 at 5:40:27 AM UTC-8, Mike Hendon wrote: > > Triggering a refresh when you've changed manifests is also a pain. > Mike do you mean using the environment refresh API is a pain? https://docs.puppetlabs.com/puppetserver/latest/release_notes.html#new-feature-admin-api

[Puppet Users] managing firewall rules in an auto-scale world

2015-01-23 Thread Jason Price
Problem statement: I have a Database server, and I have an arbitrary number of clients. I wish to collect the client IP addresses, and build out a set of firewall rules on the DB server to allow the client IPs to connect. Bonus points if something can be purged out if it hasn't called home to pu

Re: [Puppet Users] Hiera 1.4 ?

2015-01-23 Thread William Leese
Great news! 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 view this discussion on the web visit https:

[Puppet Users] Small subset of agents not copying/running module's custom fact

2015-01-23 Thread Samir Cury
I'm having a pretty weird problem with a custom fact inside a module I wrote. I would understand this problem better if it affected all clients (of same version) equally but it doesn't. A long time after changes in the master (24h+), to make sure there are no caches, after several "puppet agen

Re: [Puppet Users] Hiera 1.4 ?

2015-01-23 Thread Melissa Stone
On Fri, Jan 23, 2015 at 12:05 AM, William Leese wrote: > I feel silly for asking, but with no release since 1.3.4 for some time now > and this wonderful new feature -> > https://tickets.puppetlabs.com/browse/HI-183 .. I thought I'd wager a > post. > We are planning a Hiera 1.4.0 release! If you

[Puppet Users] Re: Question about puppet-apache

2015-01-23 Thread Tony Thayer
You'll probably want to use a custom code fragment for that chunk. class { 'apache': } include apache::mod::wsgi apache::vhost { '*': servername=> '...', port => '80', docroot => '/var/www/djangoDeploy', directories => [

[Puppet Users] Re: Puppet agent environment

2015-01-23 Thread Tony Thayer
I don't specify the environment for the master at all and haven't had any problems thus far with the wrong environment being picked up. I have 'Production' set as the client environment and will pass specific environments to the agent via 'puppet agent -t --environment=MYDEVENV', though Craig's

[Puppet Users] Re: Puppet agent environment

2015-01-23 Thread Craig White
why not let puppet manage puppet.conf and thus changes in foreman make changes to puppet.conf? On Friday, January 23, 2015 at 1:04:22 AM UTC-7, Evgeniy Troitskiy wrote: > > Hello all! > > I have a directory environments configured in Puppet (production and > development) and I use the Foreman as

Re: [Puppet Users] Help with provider inheritance of Josh Cooper's Exec PowerShell Provider

2015-01-23 Thread Jim Ficarra
So for what it’s worth, I stopped inheriting the powershell provider and just utilized some of the code in the provider to build the powershell command method, write the file out to temp, return the native path, and call Puppet::Util::Execution.Execute() directly. Seems to achieve what I want a

[Puppet Users] Re: Puppet with Satellite 6. Customize puppet modules

2015-01-23 Thread Larry
A non satellite way to do this is through Hiera and a custom fact. That is a custom fact would specify site and a hiera lookup for that site would specify values specific for the node. On Wednesday, January 21, 2015 at 12:28:11 PM UTC-5, Biju Joseph wrote: > > > Puppet with Satellite 6. How to

[Puppet Users] Re: Using Ruby puppet db library - syntax question

2015-01-23 Thread JonY
On Friday, January 23, 2015 at 5:04:54 AM UTC-8, Nick Howes wrote: > > On Tuesday, 20 January 2015 20:00:14 UTC, JonY wrote: > > I'm hoping to use this library (or something similar) to request a single >> fact from all nodes. The equiv curl request would be 'curl -X GET >> http://host:8080/v3/f

[Puppet Users] Question about puppet-apache

2015-01-23 Thread Fabio Surrage
Hello, Im using the module puppet-apache to configure a machine with django (python/wsgi). In the Puppet server, I tried: class { 'apache': } include apache::mod::wsgi apache::vhost { '*': servername=> '...', port => '80', docroot

[Puppet Users] Re: Using Ruby puppet db library - syntax question

2015-01-23 Thread Nick Howes
On Tuesday, 20 January 2015 20:00:14 UTC, JonY wrote: I'm hoping to use this library (or something similar) to request a single > fact from all nodes. The equiv curl request would be 'curl -X GET > http://host:8080/v3/facts --data-urlencode > 'query=["=","name","fs_space"]'. > > I've been loo

[Puppet Users] Re: Puppet Dashboard/console

2015-01-23 Thread Nick Howes
On Thursday, 22 January 2015 17:23:40 UTC, skc wrote: > > Hi > > I am very new to puppet and I have installed puppet master server and > configure 2 node ( agent ) and its working. > > I want to know how can I manage puppet, > > Is there any management console/ Puppet dashboard ? > > If yes ans

Re: [Puppet Users] Announce: Puppet Server 1.0.2 available!

2015-01-23 Thread Nick Howes
On Friday, 23 January 2015 01:09:36 UTC, oschad wrote: > > On Wed, 21 Jan 2015 05:40:27 -0800 (PST) > Mike Hendon > wrote: > > > Triggering a refresh when you've changed manifests is also a pain. > > Is a refresh on every change needed? > > Best Regards > Oli > It varies for me - some change

[Puppet Users] Ordering dependencies and accessing state created earlier *in the same run*

2015-01-23 Thread Giovanni Torres
Hello All! I was hoping you could help me with the following scenario, which is replicated in the code below: $username = 'whatuidwillthisuserget' user { $username: ensure => present, } $uid = generate('/usr/bin/id', '--user', $username) notify {'showuid': message => "The uid for user

Re: [Puppet Users] Re: Monitoring apache::vhost

2015-01-23 Thread Jonathan Gazeley
On 22/01/15 15:19, jcbollinger wrote: On Wednesday, January 21, 2015 at 5:43:05 AM UTC-6, Jonathan Gazeley wrote: Hi folks, My legacy puppet code includes a manifest called httpd::vhost which installs an Apache vhost and does some extra things, like add Nagios checks. I

[Puppet Users] Puppet agent environment

2015-01-23 Thread Evgeniy Troitskiy
Hello all! I have a directory environments configured in Puppet (production and development) and I use the Foreman as an ENC. When I try to set development environment for the host in Foreman, then Puppet agent execute module from right environment. But if agent try to access to *files* fold

[Puppet Users] Hiera 1.4 ?

2015-01-23 Thread William Leese
I feel silly for asking, but with no release since 1.3.4 for some time now and this wonderful new feature -> https://tickets.puppetlabs.com/browse/HI-183 .. I thought I'd wager a post. Surely I'm not the only person excited about a new release? -- You received this message because you are sub