Re: [Puppet Users] Arrays and case statements

2014-02-21 Thread Eugene Vilensky
On Fri, Feb 21, 2014 at 3:47 PM, Kim Scarborough chow...@gmail.com wrote: Is what I'm trying possible? Am I going about this totally the wrong way? Check out how classifying your data using Hiera can resolve and simplify this: http://docs.puppetlabs.com/hiera/1/index.html#why-hiera -- You

Re: [Puppet Users] Would have triggered 'refresh' from 2 events in /var/log/messages

2013-11-25 Thread Eugene Vilensky
On Mon, Nov 25, 2013 at 1:19 PM, Stuart Cracraft smcracr...@gmail.com wrote: We would like to know what would Puppet be changing if it were not running in --noop mode. Not sure about the .rc file, but I usually smoke test with --test. If that's not enough, add --verbose:

Re: [Puppet Users] puppet.conf

2013-11-25 Thread Eugene Vilensky
On Mon, Nov 25, 2013 at 1:10 PM, Stuart Cracraft smcracr...@gmail.com wrote: Is there a way to prevent puppet from taking actions other than logging using the puppet.conf file variables instead of via --noop? Yes:

Re: [Puppet Users] ensuring a directory is empty

2013-11-25 Thread Eugene Vilensky
On Mon, Nov 25, 2013 at 12:31 PM, Stuart Cracraft smcracr...@gmail.com wrote: I'm looking for something like: file { /home/someuser/.ssh: ensure = present-but-recreate-if-existing } Well, you still want ensure = directory. But take a look at the purge param:

Re: [Puppet Users] set password to never expire for a user

2013-11-25 Thread Eugene Vilensky
On Mon, Nov 25, 2013 at 11:25 AM, Stuart Cracraft smcracr...@gmail.com wrote: What is the Puppet directive to ensure a password never expires? Hi Stuart, A password property like that is usually operating system specific, and as such, you're looking for documentation about whether your

Re: [Puppet Users] How come that module is not executed in Windows?

2013-11-20 Thread Eugene Vilensky
On Wed, Nov 20, 2013 at 11:01 AM, Roger Yu rogery...@gmail.com wrote: when i run vagrant provision, i do see manifest and module folders are mounted and ssh into vm, I can find files in the following path [default] -- /tmp/vagrant-puppet/manifests [default] -- /tmp/vagrant-puppet/modules-0

Re: [Puppet Users] Re: Freebsd + Puppet 3.2.2 pkg_add -f ?

2013-08-21 Thread Eugene Vilensky
On Tue, Aug 20, 2013 at 2:15 PM, joel johnston joeldjohns...@gmail.com wrote: The url is bad/wrong. For some reason it is injecting this %2F in front of pub where it SHOULD just be /pub/ %2F is a '/' in url encoding, maybe there is a trailing slash somewhere you can remove which will allow

[Puppet Users] tagmail and Puppet::Parser::AST::Resource err

2013-08-21 Thread Eugene Vilensky
Hello, I have an event tagged err, which is not being forwarded by tagmail correctly. The entry in JSON: { level: err, message: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid

[Puppet Users] Windows puppet service

2013-07-31 Thread Eugene Vilensky
Hello, Even with the service set to stopped, I have a windows puppet agent that seems to be applying its catalog trying to install puppet-3.2.3.msi over and over every minute. There are ruby processes in tasklist, and killing them helps, but the problem persists if the service restarts. Where

Re: [Puppet Users] proxy required

2013-05-07 Thread Eugene Vilensky
On Tue, May 7, 2013 at 5:39 PM, Francesco ffragol...@gmail.com wrote: Hy I m new to puppet. I 'd like to install epel.repo on a my node and this is the module that I ve created class epel { package { 'epel': provider = 'rpm', ensure = installed, source =

[Puppet Users] case statement exec

2012-10-31 Thread Eugene Vilensky
Hello, I'm trying to send parameters to an Exec (exec1) based on values, using a case statement. I've tried putting the two versions of the exec in a case block, which failed (exec1 is a dependency of exec2, and exec2 complained it could not find exec1), and a case statement can't go directly

Re: [Puppet Users] augeas only add if doesn't exist

2012-10-15 Thread Eugene Vilensky
On Oct 14, 2012, at 12:40 PM, Dominic Cleal dcl...@redhat.com wrote: You're missing quotes around nrpe, the command should be: set /files/etc/hosts.allow/*[process='nrpe']/client[last()+1] 1.1.1.1 rodjek's example has the quotes in, so just a transcription error. Totally works for an

[Puppet Users] augeas only add if doesn't exist

2012-09-24 Thread Eugene Vilensky
Hello, I'm trying to add an entry to /etc/hosts.allow only if the entry for 'client' (daemon) does not already exit. In this #puppet log: http://www.puppetlogs.com/puppet/%23puppet-2012-05-03.log.html rodjek links a gist which should do exactly that: https://gist.github.com/18c50d8800840696bac0

[Puppet Users] RHEL group management with AD

2012-07-14 Thread Eugene Vilensky
Greetings, My question is about using Puppet to manage RHEL6 users' local group memberships when the users are served from AD using Winbind. I have RHEL6 x86_64 machines joined to a Windows 2003-level domain using Winbind with Kerberos for auth. To add a user-type to a local group, it appears

[Puppet Users] Re: RHEL group management with AD

2012-07-14 Thread Eugene Vilensky
On Jul 14, 2012, at 1:40 PM, Eugene Vilensky evilen...@gmail.com wrote: Have there been any known work arounds? (I think I'm hitting issue 1583: http://projects.puppetlabs.com/issues/1583) I should note unlike issue 1583, winbind enum groups is set to on in my configuration. -- You

[Puppet Users] Augeas EL6 RPMs

2012-03-26 Thread Eugene Vilensky
Hello, the puppetlabs yum repo provides a later version of Augeas for EL5 users but not for EL6. Does anyone currently build the latest Augeas for EL6? Thank you, Eugene -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group,

Re: [Puppet Users] Use onlyif in EXEC

2012-03-14 Thread Eugene Vilensky
On Monday, March 12, 2012 5:52:53 PM UTC-5, ed209 wrote: Checkout the 'creates' property, it seems like a cleaner way of doing this: http://docs.puppetlabs.com/references/2.6.8/type.html#exec Pardon the newbie question, but does work on or de-reference symlinks? On Tue, Mar 13, 2012 at