[Puppet Users] Re: manifest setting in puppet.conf does not work

2012-09-26 Thread Axel Bock
hm, since no one here seems to have an idea - maybe someone can answer me another question related to this: is there a "debug" mode on the puppet MASTER? this way I could maybe figure out what the master does and "thinks", and why he does not obey my little manifest setting. thanks & cheers

[Puppet Users] multiple puppet masters on multiple subnets

2012-09-26 Thread Alex Harvey
Hi all, I am interested to hear from anyone who might have deployed Puppet in a large organisation with a lot of subnets firewalled off from each other. I am considering to have, if possible, a 'master' Puppet Master controlling 'client' Puppet Masters that live on the firewalled subnets. I woul

Re: [Puppet Users] multiple puppet masters on multiple subnets

2012-09-26 Thread David Schmitt
Hi, without describing your threat analysis, there is little we can suggest. Depending on its contents, it might be enough to leverage(sic!) the existing ACL controls, confining each agent to certname specific locations or you'd have to have completely separate masters to avoid a central expl

Re: [Puppet Users] Re: Overriding variables.

2012-09-26 Thread Lorenzo Salvadorini
I've solved the identical problem using defines instead of classes. I know that hiera can be a better solution, but I'm waiting for next major release to adopt hiera. I've a generic nrpe::check define: each check is a define that use this generic definition, so my check_load.pp in nrpe module is

Re: [Puppet Users] Iterate over array to mount NFS directories

2012-09-26 Thread Luke Bigum
Hi Forrie, My example below uses a defined type (http://docs.puppetlabs.com/puppet/2.7/reference/lang_defined_types.html) to group two related resources together, in this case the File resource for the mount point and the Mount resource for the NFS mount itself. To answer your first question

Re: [Puppet Users] multiple puppet masters on multiple subnets

2012-09-26 Thread Mister Guru
On 26 September 2012 09:14, Alex Harvey wrote: > Hi all, > > I am interested to hear from anyone who might have deployed Puppet in a > large organisation with a lot of subnets firewalled off from each other. > > I am considering to have, if possible, a 'master' Puppet Master > controlling 'client

Re: [Puppet Users] Puppet windows -

2012-09-26 Thread Pavel Drobushevich
Hi Josh, I've installed puppet from official msi puppet-enterprise-2.5.0.msi. There are no any other ruby installation on this machine. Ruby version returns following info: 1.8.7 (2011-12-28 patchlevel 357) [i386-mingw32] It've been working about 2 months, but suddenly yesterday stopped. Thanks

[Puppet Users] Re: manifest setting in puppet.conf does not work

2012-09-26 Thread Andreas Paul
I have the same problem, but the other way around :) My puppet client only uses the node definitions in the environment specific site.pp Anyway you can debug the master with: puppet master --verbose --no-daemonize --debug On Wednesday, September 26, 2012 9:55:21 AM UTC+2, Axel Bock wrote: > >

[Puppet Users] Re: manifest setting in puppet.conf does not work

2012-09-26 Thread Axel Bock
ha, let's combine our problems and we have either a puppet master using NO definition, or a working system ;) thanks for the debug line :) greetings, axel. Am Mittwoch, 26. September 2012 15:38:46 UTC+2 schrieb Andreas Paul: > > I have the same problem, but the other way around :) > My puppet

[Puppet Users] Re: manifest setting in puppet.conf does not work

2012-09-26 Thread jcbollinger
On Monday, September 24, 2012 6:48:56 AM UTC-5, Axel Bock wrote: > > Any ideas here? I could use some :) > > I don't have any specific advice about this problem, but on general principles you may want to look at which section of your puppet.conf contains those settings. Behavior may differ dep

Re: [Puppet Users] Re: puppet --no-client ignore USR1

2012-09-26 Thread jcbollinger
On Monday, September 24, 2012 6:25:53 PM UTC-5, Fabrice Bacchella wrote: > > > Le 24 sept. 2012 à 15:48, jcbollinger a écrit : > > > > > I'm not well-versed in MCollective, but I would be surprised if it could > not issue requests asynchronously. Even if it can't natively do so, > whatever nod

[Puppet Users] Puppet 2.7, hiera 1.0 and hiera as an ENC

2012-09-26 Thread Guillem Liarte
This is the situation I have: All my hosts are the* same OS.* All my host are in the* same puppet environment,* so I cannot use %{environment} I have a module that sets all the *basic* functionality for the OS, resolution, authentication, security, packages, etc I have a module for each applica

[Puppet Users] Glassfish custom provider and 'file does not exist'

2012-09-26 Thread Gavin Williams
Hi there, I'm trying to setup Glassfish config management using puppet. I've found larstobi's module here which I've cloned and am starting to tweak, as it would appear that the mentioned module is based on Solaris, therefore I'm starting to add

[Puppet Users] deleting virtual users

2012-09-26 Thread erkan yanar
Moin, I started to virtualise user. Works fine so far. Playing a bit a problem popped up. given: User 'ahab' realized on a bunch of nodes node01 .. node08. How do I delete a realized user on a node? I was hoping to do something like realize(User['ahab']){ensure => absent } As this is not working

Re: [Puppet Users] deleting virtual users

2012-09-26 Thread Jo Rhett
Realizing doesn't allow overrides. To remove the user: @user ahab { ensure => absent } realize User['ahab'] This may mean you need to use inheritence for the class the user is defined in, creating a child class for the nodes you want to remove him on. On Sep 26, 2012, at 11:53 AM, erkan yanar w

Re: [Puppet Users] deleting virtual users

2012-09-26 Thread erkan yanar
On Wed, Sep 26, 2012 at 12:00:10PM -0700, Jo Rhett wrote: > Realizing doesn't allow overrides. To remove the user: > > @user ahab { ensure => absent } > realize User['ahab'] > > This may mean you need to use inheritence for the class the user is defined > in, creating a child class for the nodes

[Puppet Users] Announce: Facter 1.6.13-rc1 Available

2012-09-26 Thread Matthaus Owens
Facter 1.6.13-rc1 is a maintenance release candidate in the 1.6.x branch with bug fixes. Downloads are available at: * Source: https://downloads.puppetlabs.com/facter/facter-1.6.13-rc1.tar.gz RPMs are available at https://yum.puppetlabs.com/el or /fedora Rubygem available at http://rubygems.org

[Puppet Users] Announce: Puppet Dashboard 1.2.12-rc1 Available

2012-09-26 Thread Matthaus Owens
Puppet Dashboard 1.2.12-rc1 is a maintenance and bugfix release candidate of Puppet Dashboard. This release is available for download at: https://downloads.puppetlabs.com/dashboard/puppet-dashboard-1.2.12-rc1.tar.gz Debian packages are available at https://apt.puppetlabs.com RPM packages are ava

Re: [Puppet Users] deleting virtual users

2012-09-26 Thread Kristof Willaert
Hi, [snip] How do I delete a realized user on a node? > I was hoping to do something like > realize(User['ahab']){ensure => absent } > As this is not working, I wonder how to delete a realized virtual user. > If you use resource collection instead of the realize function, you can override the at

Re: [Puppet Users] deleting virtual users

2012-09-26 Thread erkan yanar
On Thu, Sep 27, 2012 at 12:11:54AM +0200, Kristof Willaert wrote: > Hi, > > [snip] > > How do I delete a realized user on a node? > > I was hoping to do something like > > realize(User['ahab']){ensure => absent } > > As this is not working, I wonder how to delete a realized virtual user. > > > >

[Puppet Users] Announce: Hiera 1.1.0-rc1 Available

2012-09-26 Thread Matthaus Owens
Hiera 1.1.0-rc1 is a release candidate in the 1.x branch with bug fixes and features. Downloads are available at: * Source: https://downloads.puppetlabs.com/hiera/hiera-1.1.0-rc1.tar.gz RPMs are available at https://yum.puppetlabs.com/el or /fedora Rubygem available at http://rubygems.org/gems/

Re: [Puppet Users] multiple puppet masters on multiple subnets

2012-09-26 Thread Peter Brown
Hi Alex, I attempted to set this up a while ago but never got to finish my module. I still have it somewhere and I will likely need to finish it soon as I need to do a similar setup soon for a PCI setup. Another option would be to put all your puppet code into a git repo and setup each master to

Re: [Puppet Users] Puppet 2.7, hiera 1.0 and hiera as an ENC

2012-09-26 Thread Tom Linkin
Guillem, I'm a little unsure of what you are trying to do with hiera. I think you're saying you want hiera to provide facts that you can use to then do lookups in hiera. I think this is a little bit of a chicken and egg style issue. I worked with Gary Hetzel on creating this ENC originally. I

Re: [Puppet Users] Re: ssh keys - registering multiple keys onto a same remote account

2012-09-26 Thread Stefan Schulte
On Thu, Sep 20, 2012 at 07:34:44PM -0700, Hiu wrote: > hi Paul, > > > I am pretty to code the puppet codes. I try the options that you suggested > about creating the define type. But, I am still stuck in the middle. > > Here is my code. > $pub_keys=['XX', 'Y', 'ZZ' ] > > define add

Re: [Puppet Users] require file/package not managed by puppet

2012-09-26 Thread Stefan Schulte
On Fri, Sep 21, 2012 at 05:40:52PM -0700, Justin Ryan wrote: > I would like to place a file with puppet only if a certain package is > installed on the system -- but assuming this package is not puppet-managed. > Checking for the presence of a non-puppet-managed file is also ok. Is this > possib