[Puppet Users] inhibit notify

2014-03-03 Thread Cristian Falcas
Hi, Is it possible to inhibit notify message on per resource basis? For example, we use the fog library and it needs the AWS credentials to be in /root/.fog If we manage this file from puppet and anything changes, the credentials will remain in the reports and we don't want this. Can we stop th

Re: [Puppet Users] inhibit notify

2014-03-03 Thread Martin Alfke
On 03 Mar 2014, at 13:32, Cristian Falcas wrote: > Hi, > > Is it possible to inhibit notify message on per resource basis? > > For example, we use the fog library and it needs the AWS credentials > to be in /root/.fog > > If we manage this file from puppet and anything changes, the > credenti

[Puppet Users] Windows: Can't create/update file in user's home directory using template

2014-03-03 Thread Dirk Heinrichs
Hi, I've created a simple class for creating/updating a file in a user's home directory on Windows like so: class put_file ($user = undef, $group = undef) { file { 'user_dir': path => "C:/Users/${user}", ensure => directory, owner => "${user}", } file { 'some_file': path

[Puppet Users] Symlinks to manifests

2014-03-03 Thread zerozerounouno
Hi, I'd like to keep symlinks to my manifests in /etc/puppet/environments/common//manifests/, and have my real manifests reside elsewhere, so that I can organize the real ones in subdirectories as I prefer, e.g. under a CVS tree with an organization based on project or else. Unfortunately, it

Re: [Puppet Users] Re: Some of my OS X clients stop checking in with puppet master.

2014-03-03 Thread Philip Powell
Hey Moses I'm still experiencing the same problems with puppet checking in as 'localhost' after waking form sleep. Any ideas what could be causing this? The clients are either running vers. 3.4.2 or 3.4.3. Any other troubleshooting suggestions? Cheers Phil On Friday, February 14, 2014 7:36:44

[Puppet Users] Excluding hostnames from a module via parameter

2014-03-03 Thread cko
Hi, here is what I'm trying to do: I want to be able to exclude certain hostnames/ from a module by passing their hostnames in a parameter (array) within this module. Example: class centos-default { class { 'module': exclude => [ 'host1', 'host2' ], } class { 'module2': exclude

[Puppet Users] Re: Report processor failed: uninitialized constant Puppet::FileSystem::File

2014-03-03 Thread Luke Chavers
I'm running into this as well. While it seems to be a rare error, Google returns at least a few incidents of people with similar problems. Since I doubt that this is a desired behavior, I'll call it a bug from this point. I hit this bug when trying to install "The Foreman" via their official

[Puppet Users] Puppet Dashboard believes a node is unresponsive

2014-03-03 Thread Robert Rothenberg
Puppet Dashboard is listing a node as unresponsive for several days. But the agent has been running twice an hour with no errors, and a manual run of the agent shows it runs fine. I cannot ping it with mcollective, and a query for disabled agents doesn't list it. I looked in the logs on the no

[Puppet Users] Re: Puppet Dashboard believes a node is unresponsive

2014-03-03 Thread Robert Rothenberg
Could this be due to this bug? http://projects.puppetlabs.com/issues/8603 On Monday, March 3, 2014 4:04:56 PM UTC, Robert Rothenberg wrote: > > Puppet Dashboard is listing a node as unresponsive for several days. But > the agent has been running twice an hour with no errors, and a manual run > o

[Puppet Users] Windows 2012 R2 out-of-sync / not checking in?

2014-03-03 Thread Nick Hobart
I'm standing up a Foreman front end for open source Puppet server. Every Linux box seems to be working and checking in just fine. The problem child is Windows 2012 R2. I can manually trigger an update with: puppet agent --test However, if I just let it sit there, it'll never check back in. A

[Puppet Users] Re: CFPropertyList usage

2014-03-03 Thread Jason Hatman
Well, that was just ignorance on my part. I have followed instructions at https://github.com/mosen/puppet-plist and now I'm up and running. This provider has the ability to use either CFPropertyList or PlistBuddy for plist modification. -- You received this message because you are subscribed

Re: [Puppet Users] How to force a puppet service to restart - Not restarting automatically when config is initially updated.

2014-03-03 Thread jcbollinger
On Saturday, March 1, 2014 9:40:57 AM UTC-6, Jeff Bachtel wrote: > > While implementing restart is good, if for some reason you were unable to > do that you need only set *hasrestart => false* for the service resource, > per http://docs.puppetlabs.com/references/latest/type.html#service . That

[Puppet Users] Re: CFPropertyList usage

2014-03-03 Thread jcbollinger
On Friday, February 28, 2014 9:33:41 AM UTC-6, Jason Hatman wrote: > > I've been looking all over for usage examples for CFPropertyList. I'm > trying to make a test manifest to create a simple plist and it keeps saying > that it can't find class CFPropertyList. I downloaded the zip from > htt

Re: [Puppet Users] Excluding hostnames from a module via parameter

2014-03-03 Thread José Luis Ledesma
You are comparing a string (hostname) with an array. Instead of != you should use something like: If ! $::hostname in $exclude Regards, El 03/03/2014 16:33, "cko" escribió: > Hi, > here is what I'm trying to do: > > I want to be able to exclude certain hostnames/ from a module by passing > the

Re: [Puppet Users] Puppet module template mentioned at contributor summit

2014-03-03 Thread Robin Bowes
We're currently arguing^w discussing the use of the params class in conjunction with hiera lookups and we've arrived at what I think is a pretty good pattern. Let me explain by way of example, using the venerable ntp application class ntp{ include ::ntp::params Class['::ntp::params']-> cl

Re: [Puppet Users] Puppet module template mentioned at contributor summit

2014-03-03 Thread Christopher Wood
We could have been talking in my cube. My points when I'm discussing this with coworkers generally go like so... If you use this: class { name: } You will only be able to declare that name once. If you declare classes like this: include ::name include ::name::otherclass Then you will be able

Re: [Puppet Users] Puppet module template mentioned at contributor summit

2014-03-03 Thread Robin Bowes
Hi Christopher, On 3 Mar 2014, at 17:55, Christopher Wood wrote: > We could have been talking in my cube. My points when I'm discussing this > with coworkers generally go like so... > > If you use this: > > class { name: } > > You will only be able to declare that name once. If you declare c

Re: [Puppet Users] Puppet module template mentioned at contributor summit

2014-03-03 Thread Christopher Wood
(inline) On Mon, Mar 03, 2014 at 06:24:47PM +, Robin Bowes wrote: >Hi Christopher, >On 3 Mar 2014, at 17:55, Christopher Wood <[1]christopher_w...@pobox.com> >wrote: > > We could have been talking in my cube. My points when I'm discussing > this with coworkers generally

[Puppet Users] Re: puppet master stopped loading facts since puppetdb installation

2014-03-03 Thread cko
I'm still having these issues. Here is some output that might help: https://gist.github.com/anonymous/1afccb3d54ae33b48544 Any ideas? On Tuesday, December 17, 2013 5:56:55 PM UTC+1, cko wrote: > > hey, > > so i just installed puppetdb on a dedicated server (with pgsql). > > I noticed that the

[Puppet Users] in-conditional with virtualized resource

2014-03-03 Thread Race Boyer
Hello everyone, I am trying virtualize my users and that works out just fine, but the problem is I have some aix users that need a particular group. So I thought it would be a good idea to add a conditional to the virtual resource, but I get stuck with this error: err: Failed to apply catalog:

Re: [Puppet Users] in-conditional with virtualized resource

2014-03-03 Thread José Luis Ledesma
The group resource name is not gid but title, so change the requiere parameter to Group[$title] Regards El 03/03/2014 23:33, "Race Boyer" escribió: > Hello everyone, > > I am trying virtualize my users and that works out just fine, but the > problem is I have some aix users that need a particula

Re: [Puppet Users] Puppet module template mentioned at contributor summit

2014-03-03 Thread Robin Bowes
(also inline) On 3 Mar 2014, at 19:25, Christopher Wood wrote: > (inline) > > On Mon, Mar 03, 2014 at 06:24:47PM +, Robin Bowes wrote: >> >> Additionally, it creates two places in which the parameters can be >> automatically set. eg. ntp::install::package_name and >> ntp::params::

Re: [Puppet Users] Re: Does r10k play nicely with Puppet Enterprise gems?

2014-03-03 Thread Adrien Thebo
Support for SVN in r10k is actually brand new and is going to be released shortly. It'll be available in 1.2.0 which is currently in RC; if all goes well then 1.2.0 final should be released on Thursday. The CHANGELOG ( https://github.com/adrienthebo/r10k/blob/master/CHANGELOG#L11-L12) gives a brief

Re: [Puppet Users] puppet post install launchd osx

2014-03-03 Thread Rudy McComb
Matthaus, Here is my output from that run cabimd011032:~ madmin$ sudo puppet agent --no-daemonize --verbose --logdest console Notice: Starting Puppet client version 3.4.3 Error: Could not run: Could not create PID file: /var/lib/puppet/run/agent.pid cabimd011032:~ madmin$ On Thursday, February

[Puppet Users] munin service wont' star

2014-03-03 Thread Tim Dunphy
Hey all, I notice with the munin module I wrote, the munin-node service won't start on the first puppet run. Run it a second time, and the service starts no problem. The problem here I believe is that puppet is attempting to start the service before the package is installed. So I tried to set

Re: [Puppet Users] munin service wont' star

2014-03-03 Thread xav
On Mon, 2014-03-03 at 21:07 -0500, Tim Dunphy wrote: > > Error: Failed to apply catalog: Could not find dependency > Package[munin-node] for Service[munin-node] > at /etc/puppet/environments/production/modules/munin/manifests/service.pp:8 > Looks to me like puppet isn't finding the declaration

Re: [Puppet Users] munin service wont' star

2014-03-03 Thread José Luis Ledesma
Although it is not incorrect, you should not bypass class boundaries, so it's better: require=>Class['munin::install'] And usually you may include the diferent classes for a module in init.pp chaining them there. Regards, El 04/03/2014 03:07, "Tim Dunphy" escribió: > Hey all, > > I notice wit