Re: [Puppet Users] Problem retreiving catalog

2013-04-26 Thread Ohad Levy
On Thu, Apr 25, 2013 at 5:24 PM, gen...@allantgroup.com < andyr...@gmail.com> wrote: > > > On Thursday, April 25, 2013 3:19:55 AM UTC-5, ohad wrote: > >> >> >> On Thu, Apr 25, 2013 at 2:00 AM, gen...@allantgroup.com < >> andyr7...@gmail.com> wrote: >> >>> I updated some of my gems, and I think

[Puppet Users] Re: Puppet and internal modules...

2013-04-26 Thread Gavin Williams
Joe, Cheers for the response... N yeh, part of me almost doesn't want to relinquish control, as I know how it should work etc... However I am only 1 man, and cant keep up with current demands... ;) With regards to code deployment, the typical model is J2EE apps deployed into Glassfish 3 do

Re: [Puppet Users] How do I check whether an imported resource has already been defined?

2013-04-26 Thread Patricia Jung
Hi John and all, Am 25.04.2013 um 17:22 schrieb jcbollinger : > On Wednesday, April 24, 2013 7:28:55 AM UTC-5, Patricia Jung wrote: > please consider the following scenario: Puppet is supposed to set up similar > (but not necessarily identical) groups of hosts for a range of customers. For > ea

[Puppet Users] Using puppet to install puppet modules

2013-04-26 Thread Jonathan Gazeley
Hi people, I use puppet forge to install various modules on my puppetmaster. I'm thinking about the build process if I build a new puppetmaster. Manually reinstalling the modules is prone to error if I forget which modules I used to have. I looked at this module[1] as a way of making puppet

[Puppet Users] Re: How do I automagically remove old versions of jar files?

2013-04-26 Thread jcbollinger
On Thursday, April 25, 2013 1:26:05 PM UTC-5, Nick Fagerlund wrote: > > > > tidy {'/tmp/jars': > recurse => true, > matches => "my_jar.*.jar", > } > > This example would kill all files matching that shell glob pattern UNLESS > there's already a puppet resource for them, so it would leave the

Re: [Puppet Users] Using puppet to install puppet modules

2013-04-26 Thread Trevor Vaughan
I usually package the modules that I want in the native package manager of the system. Much easier to track and the 'package' statement works just fine. Trevor On Fri, Apr 26, 2013 at 6:19 AM, Jonathan Gazeley < jonathan.gaze...@bristol.ac.uk> wrote: > Hi people, > > I use puppet forge to ins

[Puppet Users] Re: Puppet and internal modules...

2013-04-26 Thread jcbollinger
On Friday, April 26, 2013 3:27:11 AM UTC-5, Gavin Williams wrote: > > Joe, > > Cheers for the response... > > N yeh, part of me almost doesn't want to relinquish control, as I know how > it should work etc... However I am only 1 man, and cant keep up with > current demands... ;) > > With reg

[Puppet Users] Re: Access facts values in Puppet provider

2013-04-26 Thread jcbollinger
On Friday, April 26, 2013 12:06:54 AM UTC-5, Andriy Yurchuk wrote: > > I'm writing a custom Puppet service provider and I need to access one of > my facts value inside provider to then be able to use the value inside > startcmd/stopcmd. There is a confine which can test whether a fact exists,

Re: [Puppet Users] How do I check whether an imported resource has already been defined?

2013-04-26 Thread jcbollinger
On Friday, April 26, 2013 5:05:35 AM UTC-5, Patricia Jung wrote: > > Hi John and all, > > Am 25.04.2013 um 17:22 schrieb jcbollinger: > > On Wednesday, April 24, 2013 7:28:55 AM UTC-5, Patricia Jung wrote: > > please consider the following scenario: Puppet is supposed to set up > similar (bu

[Puppet Users] Get class members

2013-04-26 Thread Andrei-Florian Staicu
Hi, For clusters, we use a script called allnodes, that let's us easily execute stuff on (surprise) all cluster nodes. The script is easily deployed by puppet, but uses a config file, which is just the list of hostnames. We cannot get this list dynamically from the cluster (for example via hasys -

[Puppet Users] Re: Access facts values in Puppet provider

2013-04-26 Thread Andriy Yurchuk
Found out this can be done via Facter['my_fact'].value On Friday, April 26, 2013 8:06:54 AM UTC+3, Andriy Yurchuk wrote: > > I'm writing a custom Puppet service provider and I need to access one of > my facts value inside provider to then be able to use the value inside > startcmd/stopcmd. There

[Puppet Users] using a "test" within an if in a manifest

2013-04-26 Thread Kubes
Does puppet have a similar syntax in a manifest? if [ -f /somefile ] { ... } Looking to test for -d -p -b, etc I know that exec has this feature, but am looking to conditionally mount. I have thought of other use cases too. Thanks! -- You received this message because you are subscribed t

Re: [Puppet Users] Using puppet to install puppet modules

2013-04-26 Thread Ryan Coleman
On Fri, Apr 26, 2013 at 3:19 AM, Jonathan Gazeley < jonathan.gaze...@bristol.ac.uk> wrote: > How have other people handled this? > In addition to Puppet's built-in `puppet module` tool, there's a project called librarian-puppet that lets you express your Forge modules in a bundler like way. http:

[Puppet Users] [ANN] puppet-cleaner 0.1.1

2013-04-26 Thread Gerardo Santana Gómez Garrido
puppet-cleaner is a set of tools that helps you keep your manifests compliant with the style guide. Website: https://github.com/santana/puppet-cleaner/ How to install: sudo gem install puppet-cleaner This is a maintenance release that fixes a run-time error. Thanks to github user blindsey

[Puppet Users] Announce: Module puppetlabs/postgresql 2.2.0 Available

2013-04-26 Thread Ken Barber
A new release of the puppetlabs/postgresql module is now available on the Forge: https://forge.puppetlabs.com/puppetlabs/postgresql/2.2.0 Changelog This feature release introduces a number of new features and bug fixes. First of all it includes a new class named `postgresql::python` wh

[Puppet Users] how do you test and release puppet changes?

2013-04-26 Thread Derek Olsen
We are in the process of evaluating our puppet related test and release process and interested in knowing what other folks are doing. We are in a position that is not ideal but is not unique from what I can tell. Our current testing process is basically the responsibility of each person making

[Puppet Users] passwordless ssh

2013-04-26 Thread Bert Cauwelier
What is the best and easy't way to let all nodes ssh passwordless to each other ? -- 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...@goog

[Puppet Users] Create a file which lists all server names with a given environment variable

2013-04-26 Thread phundisk
I am presuming that this is something I need to do with stored configs, but there might also be another way to do it. I am looking to create a file called /root/production.servers which will list all my production servers. All production servers have the puppet variable of $environment='produc

Re: [Puppet Users] passwordless ssh

2013-04-26 Thread Dan White
Two different questions. Best: http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/ Easiest ? Fastest ? Cheapest ? Pick one, maybe two. You ain't gonna get all three “Sometimes I think the surest sign that intelligent life exists

Re: [Puppet Users] passwordless ssh

2013-04-26 Thread Jerald Sheets
Stay careful that if you're in a PCI/SOX/ITIL environment, it may be against policy to provide this between hosts under certain circumstances. YMMV. On Apr 26, 2013, at 1:46 PM, Dan White wrote: > Two different questions. > > Best: > http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ss

Re: [Puppet Users] passwordless ssh

2013-04-26 Thread Bert Cauwelier
thx, any possible instant working puppet module for distributing the key's and allow passwordless ssh 2013/4/26 Jerald Sheets > Stay careful that if you're in a PCI/SOX/ITIL environment, it may be > against policy to provide this between hosts under certain circumstances. > YMMV. > > > On Apr

Re: [Puppet Users] passwordless ssh

2013-04-26 Thread Jerald Sheets
Not here. I'm in one of those environments. :) On Apr 26, 2013, at 2:04 PM, Bert Cauwelier wrote: > thx, any possible instant working puppet module for distributing the key's > and allow passwordless ssh > > > > 2013/4/26 Jerald Sheets > Stay careful that if you're in a PCI/SOX/ITIL env

[Puppet Users] Help me with a local Linux account management module

2013-04-26 Thread David Reagan
I'm pretty much brand new to Puppet. I've read the tutorials on puppet labs, and most of Pro Puppet. But there's still a lot I don't get. So I figured I'd learn by doing. My current goal is to write a user account wrapper. It would only be for local Linux accounts only, only on Ubuntu for now.

Re: [Puppet Users] Help me with a local Linux account management module

2013-04-26 Thread Ashley Penney
On Fri, Apr 26, 2013 at 4:08 PM, David Reagan wrote: > I'm pretty much brand new to Puppet. I've read the tutorials on puppet > labs, and most of Pro Puppet. But there's still a lot I don't get. So I > figured I'd learn by doing. > > My current goal is to write a user account wrapper. It would on

[Puppet Users] Re: how do you test and release puppet changes?

2013-04-26 Thread Gerardo Santana Gómez Garrido
Hi Derek, when testing puppet-cleaner I wrote puppet-diff[1], which compiles the catalogs for two given manifests (before and after changes) and compares their YAML representation, previously removing some irrelevant stuff. That helped me test that some transformations, like whitespace changes