Re: [Puppet Users] Re: Using foo::params, inheritance, and parameterized classes simultaneously?

2012-01-17 Thread Nigel Kersten
this? Alternatively, can you > make a recommendation for module best practices going forward. > Have you looked at Hiera yet Ryan? An awful lot of this is baked into it, and you may find you don't need to set these at the ENC level. -- Nigel Kersten Product Manager, Puppet Labs -- You re

Re: [Puppet Users] Re: How to handle multiple modules requiring the same packages

2012-01-19 Thread Nigel Kersten
On Wed, Jan 18, 2012 at 3:52 AM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > > Is there a good reason that this function is even retained in recent > versions of puppet? I have yet to encounter an instance where it can be > used cleanly. > I'll start another thread about this, but I'd

[Puppet Users] RFC: Deprecate defined() function for Telly.

2012-01-19 Thread Nigel Kersten
d the additional work you need to do to ensure that that dependency is always fulfilled overcomes any simplicity advantage that might otherwise exist." -- Nigel Kersten Product Manager, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet

Re: [Puppet Users] Re: RFC: Deprecate defined() function for Telly.

2012-01-23 Thread Nigel Kersten
ther pair of cents. > > Cheers, > Felix > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email t

Re: [Puppet Users] Cross-module (package) dependencies

2012-01-24 Thread Nigel Kersten
On Tue, Jan 24, 2012 at 4:42 AM, Walter Heck wrote: > What if there was some standardised way modules expose a sort of list > of requirements or an API of some sort? I had this thought the other day, but more focused around the higher level problem of dependency specification and consumption th

Re: [Puppet Users] Cross-module (package) dependencies

2012-01-24 Thread Nigel Kersten
On Tue, Jan 24, 2012 at 4:34 PM, Walter Heck wrote: > > I had this thought the other day, but more focused around the higher > level > > problem of dependency specification and consumption than Packages in > > particular. > Yeah, since that is something that is currently kind of difficult to > im

Re: [Puppet Users] Cross-module (package) dependencies

2012-01-25 Thread Nigel Kersten
t;>> Groups "Puppet Users" group. >>> To post to this group, send email to puppet-users@googlegroups.com. >>> To unsubscribe from this group, send email to >>> puppet-users+unsubscr...@googlegroups.com. >>> For more options, visit this group at >&g

Re: [Puppet Users] Issues with new puppet install...

2012-01-25 Thread Nigel Kersten
, Shark River Technical Solutions LLC > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppe

Re: [Puppet Users] Issues with new puppet install...

2012-01-25 Thread Nigel Kersten
t; (We moved to git-style subcommands a while ago) On Wed, Jan 25, 2012 at 1:03 PM, Peter Berghold wrote: > master and agent are on the same box. they should be the same version. > > > > On Wed, Jan 25, 2012 at 3:53 PM, Nigel Kersten wrote: > >> This looks like you've got a

Re: [Puppet Users] My ENC won't work, YAML is valid AFAIK

2012-01-25 Thread Nigel Kersten
ers/-/VChRtFes9wEJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > --

Re: [Puppet Users] Issues with new puppet install...

2012-01-25 Thread Nigel Kersten
> > # puppetmasterd --version > 2.7.9 > > On Wed, Jan 25, 2012 at 4:37 PM, Peter Berghold > wrote: > >> There is only one version of puppet (agent and master) on the system. >> This system was installed from bare metal this morning. >> >> On Jan 25, 2012

Re: [Puppet Users] RFC: Deprecate defined() function for Telly.

2012-01-25 Thread Nigel Kersten
g to do it inside all your manifests? If we have: * puppet module tool supporting dependencies and generating module metadata * classes not loading if their dependencies aren't satisfied (or at the least big warnings) do we really need defined()? -- Nigel Kersten Product Manager, Puppet La

Re: [Puppet Users] Re: constraint checking

2012-01-26 Thread Nigel Kersten
on control. Functionality I've found useful in the past here was: * check whether the changed manifests parse * verify whether foreign class dependencies are fulfilled * verify whether references to file sources actually exist etc etc -- Nigel Kersten Product Manager, Puppet Labs --

Re: [Puppet Users] Re: Cross-module dependencies

2012-01-28 Thread Nigel Kersten
I just wanted to post to this thread to primarily encourage you all to keep brainstorming, and to make it clear that I'm paying close attention. :) -- Nigel Kersten Product Manager, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Us

Re: [Puppet Users] Re: Cross-module dependencies

2012-01-30 Thread Nigel Kersten
the same goal. What kind of a repository do we want? -- Nigel Kersten Product Manager, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscr

Re: [Puppet Users] Catalog Service

2012-02-01 Thread Nigel Kersten
oogle Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users

Re: [Puppet Users] Search which the agent on which a specified module is been installed

2012-02-01 Thread Nigel Kersten
u are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.goo

Re: [Puppet Users] puppet-forge.. do I remember correctly?

2012-02-20 Thread Nigel Kersten
On Mon, Feb 20, 2012 at 7:06 AM, Peter Berghold wrote: > Do I remember correctly that puppet-forge is no longer accepting uploads? I don't think so. Did you run into a problem uploading? -- Nigel Kersten Product Manager, Puppet Labs -- You received this message because you are subsc

Re: [Puppet Users] puppet-forge.. do I remember correctly?

2012-02-20 Thread Nigel Kersten
or > messages. The file in question was a tar.gz file yet nothing I did seemed > to fix the problem. I'll try again later and see if I have better luck.. > Please let me know if you're still hitting that, and we'll chase it up. > > > > On Mon, Feb 20, 2012 at 1

Re: [Puppet Users] Re: Custom function issue

2012-02-22 Thread Nigel Kersten
e from this group, send email to > > > puppet-users+unsubscr...@googlegroups.com. > > > For more options, visit this group at > > >http://groups.google.com/group/puppet-users?hl=en. > > > > -- > > > > Gary Larizza > > Professional Services

Re: [Puppet Users] hiera for defines?

2012-02-23 Thread Nigel Kersten
On Thu, Feb 23, 2012 at 5:21 AM, Markus Falb wrote: > > And Question 3, finally: Does it make sense to you what I am trying to > do, actually? It feels significantly simpler for you to use hiera to pick out values that you then pass to instances of defines, rather than baking hiera into the def

Re: [Puppet Users] X509v3 Subject Alternative Name in puppet generated certs...

2012-03-10 Thread Nigel Kersten
On Fri, Mar 9, 2012 at 6:15 PM, Jonathan Proulx wrote: > I'm OK with flushing all my certs and starting over, but I have a > couple of questions.  How does the puppet CA populate the altName > field? and can I make it do what I want for both the CA and the non-CA > servers or do I just need to su

Re: [Puppet Users] Puppet Beginners: New list suggestion?

2012-04-03 Thread Nigel Kersten
gt; To post to this group, send email to puppet-users@googlegroups.com. >> > To unsubscribe from this group, send email to >> puppet-users+unsubscr...@googlegroups.com. >> > For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=

Re: [Puppet Users] Puppet Beginners: New list suggestion?

2012-04-03 Thread Nigel Kersten
to provide this as a service by us, and it's difficult to get that level of integration with StackExchange. I would like to point out that we've got a growing ServerFault community under the 'puppet' tag, and there are some great people answering Puppet questions there. This

Re: [Puppet Users] Puppet Beginners: New list suggestion?

2012-04-03 Thread Nigel Kersten
On Tue, Apr 3, 2012 at 1:13 PM, Nigel Kersten wrote: > > > On Tue, Apr 3, 2012 at 12:53 PM, Brian Gupta > wrote: >> >> On Tue, Apr 3, 2012 at 2:35 PM, Daniel Pittman >> wrote: >>> >>> On Mon, Apr 2, 2012 at 22:53, Denmat wrote: >>> &

Re: [Puppet Users] Puppet Beginners: New list suggestion?

2012-04-04 Thread Nigel Kersten
basic of the most basic puppet setup, so > I'm a fan No apologies necessary at all, and certainly no panic :) We also love hearing stories about Puppet pulling butts out of fires :) > > On 3 Apr 2012, at 21:13, Nigel Kersten wrote: > >> >> We do want to be running thi

Re: [Puppet Users] Telly: Nagios types moving into Module

2012-04-15 Thread Nigel Kersten
ups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> >> > -- > You received this message because you are sub

Re: [Puppet Users] New CA, why do clients with old certs still work?

2012-04-15 Thread Nigel Kersten
On Fri, Apr 13, 2012 at 11:40 AM, Chip Schweiss wrote: > I'm in the process of scalling my puppet master to two server with a > separate CA. My plan was to establish a new CA and reissue > certificates. Part way through the process I noticed a behavior that > seems a bit alarming. > > With one

Re: [Puppet-dev] Re: [Puppet Users] Telly: Nagios types moving into Module

2012-04-16 Thread Nigel Kersten
ple locations on disk that you want modules to be installed into, which doesn't fit very well with traditional package management systems. > > I think it's good to split out these things, as it would allow us to > properly add a nagios dep to the hypothetical puppet-module-nagi

Re: [Puppet-dev] Re: [Puppet Users] Telly: Nagios types moving into Module

2012-04-17 Thread Nigel Kersten
On Tue, Apr 17, 2012 at 10:34 AM, Tim Mooney wrote: > In regard to: Re: [Puppet-dev] Re: [Puppet Users] Telly: Nagios types...: > > > Todd, welcome and I feel your pain. Trust me, I pushed every way I >> could to use native packages as our module deliver mechanism. However >> we have some odd

Re: [Puppet Users] Determining if hiera (or any function) is installed on a node

2012-04-17 Thread Nigel Kersten
On Tue, Apr 17, 2012 at 11:08 AM, Geoff Davis wrote: > I'm doing some work on module development inside of a Vagrant VM of CentOS > 6.2. This VM has the community version of Puppet installed (2.7.13 I > think), but that doesn't include Hiera by default. > > My module is dependent on Nan Liu's pup

Re: [Puppet Users] What is the "false" directory?

2012-04-24 Thread Nigel Kersten
This should get reported as a bug though. We should probably only accept absolute paths for the 'path' parameter, and "false" should get interpreted as the boolean. On Tue, Apr 24, 2012 at 6:38 AM, Peter Bukowinski wrote: > Glad you got it sorted. You've discovered the importance of quoting and

Re: [Puppet Users] Migrate installation to different directory

2012-04-24 Thread Nigel Kersten
On Tue, Apr 24, 2012 at 11:18 AM, JA wrote: > Stefan; > > Thanks for the suggestion. However, we are running puppet via > Passenger. So, I assume I need to update the config.ru file. Do you > have any suggestions about that? Greatly appreciate your help and > advice! > Look for the ARGV line

Re: [Puppet Users] Using fact to determine node environment

2012-05-02 Thread Nigel Kersten
On Wed, May 2, 2012 at 4:19 AM, R.I.Pienaar wrote: > > > - Original Message - > > From: "John Kennedy" > > To: puppet-users@googlegroups.com > > Sent: Wednesday, May 2, 2012 11:59:49 AM > > Subject: [Puppet Users] Using fact to determine node environment > > > > We have a custom fact tha

Re: [Puppet Users] Using fact to determine node environment

2012-05-02 Thread Nigel Kersten
On Wed, May 2, 2012 at 8:18 AM, R.I.Pienaar wrote: > > > - Original Message - > > From: "Nigel Kersten" > > To: puppet-users@googlegroups.com > > Sent: Wednesday, May 2, 2012 4:10:16 PM > > Subject: Re: [Puppet Users] Using fact to determine

Re: [Puppet Users] Using fact to determine node environment

2012-05-02 Thread Nigel Kersten
On Wed, May 2, 2012 at 8:37 AM, R.I.Pienaar wrote: > > > > Unless something broke it recently, I ran for years with a fact > > > that > > > returned ":environment" and didn't set it in puppet.conf at all. > > > > yes, it broke. You'll get a mix of files from one environment and > > classes > > fr

Re: [Puppet Users] Using fact to determine node environment

2012-05-02 Thread Nigel Kersten
On Wed, May 2, 2012 at 8:53 AM, R.I.Pienaar wrote: > > > > > I think you're thinking of the ENC setting the environment, not a > > > > fact called 'environment' RI? > > > > > > nope. > > > > > > > > > Anyone got a bug # for this? > > > > pretty sure there was one but couldnt find it so I just kno

Re: [Puppet Users] Puppet 3.0 and Hiera

2012-05-06 Thread Nigel Kersten
On Sat, May 5, 2012 at 9:26 AM, Trevor Vaughan wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > With the integration of Hiera, is the extlookup functionality being > deprecated? > > If so, I would like to ask that the team add a Hiera backend for the > existing extlookup data sources.

Re: [Puppet Users] Puppet 3.0 and Hiera

2012-05-07 Thread Nigel Kersten
On Mon, May 7, 2012 at 7:22 AM, Derek J. Balling wrote: > > On May 3, 2012, at 1:05 PM, Pieter van de Bruggen wrote: > > As many of you may be aware, Hiera will be tightly integrated into Puppet > in the upcoming release of Puppet 3.0. > > What will this mean for sites that have specifically avoi

Re: [Puppet Users] Puppet 3.0 and Hiera

2012-05-07 Thread Nigel Kersten
On Mon, May 7, 2012 at 9:26 AM, Derek J. Balling wrote: > > On May 7, 2012, at 11:54 AM, Nigel Kersten wrote: > > Yes. If you're not planning to externalize data at all, the only > difference you'll see is that you'll now have Hiera installed on your > s

Re: [Puppet Users] Re: ANNOUNCE: Puppet Module Tool version 0.3.4

2012-05-11 Thread Nigel Kersten
>> >> James Turnbull >> >> -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/nMXLUbPYvfgJ. > To post to th

Re: [Puppet Users] Re: ANNOUNCE: Puppet Module Tool version 0.3.4

2012-05-11 Thread Nigel Kersten
(removed puppet-announce to try and head off more people compounding my error) On Fri, May 11, 2012 at 9:52 AM, Nigel Kersten wrote: > > > On Thu, May 10, 2012 at 8:27 PM, Matt wrote: > >> Reading the documentation so far, it looks like it has the option to >> quer

Re: [Puppet Users] Puppet / scalability

2012-05-14 Thread Nigel Kersten
t; group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- Nigel

Re: [Puppet Users] Puppet / scalability

2012-05-16 Thread Nigel Kersten
On Tue, May 15, 2012 at 7:03 AM, Erik Dalén wrote: > On 14 May 2012 18:35, Nigel Kersten wrote: > > > > > > On Sun, May 13, 2012 at 11:53 PM, Alex Harvey > wrote: > >> > >> Hi list, > >> > >> I am looking at configuration management

Re: [Puppet Users] Puppet/Hiera and Git workflow

2012-05-29 Thread Nigel Kersten
> To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- Nigel Kersten | http://puppetlabs.com | @nigelkersten Schedule Meetings at: http://tun

Re: [Puppet Users] Fwd: possible changes to puppet config file

2012-06-28 Thread Nigel Kersten
that you're defining an environment with the name "master" David ? Are you doing this in a block like: "[master]" or by using $environment in the modulepath/manifest directives ? -- Nigel Kersten | http://puppetlabs.com | @nigelkersten Schedule Meetings at: http://tungle.me/ni

Re: [Puppet Users] Ruby custom fact question/problem

2012-06-29 Thread Nigel Kersten
mail to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. -- Nigel Kersten | http://puppetlabs.com | @nigelkersten Sc

Re: [Puppet Users] functions and environments

2011-06-17 Thread Nigel Kersten
On Thu, Jun 16, 2011 at 1:59 PM, Gabriel Filion wrote: > On 11-06-16 03:47 PM, Nathan Clemons wrote: > > Or what you might want to do is to create a specific common directory > > for code that should be shared, and per-environment directories which > > contain code that should not be shared. If y

Re: [Puppet Users] Questions for puppet 2.6.8 client certificate management

2011-06-17 Thread Nigel Kersten
On Fri, Jun 17, 2011 at 7:15 AM, TJ Yang wrote: > > I am referring to puppet agent/client. > I hope future version can support this certificate reset/cleanup on > puppet agent. If you really do want agents to be able to clean certificates on the master, you can open up the API Access Control in

Re: [Puppet Users] puppet resource for group

2011-06-17 Thread Nigel Kersten
On Fri, Jun 17, 2011 at 3:50 AM, Andreas Kuntzagk < andreas.kuntz...@mdc-berlin.de> wrote: > Nigel Kersten wrote: > >> >> I feel we've produced inconsistencies here, and given I added the >> group membership support for OS X, it's largely my fault :) >&g

Re: [Puppet Users] special handling for template file with XML?

2011-06-20 Thread Nigel Kersten
On Thu, Jun 16, 2011 at 8:51 AM, Guy Matz wrote: > hi, > i get the following error when trying to use a template with XML in it: > Could not parse for environment production: Syntax error at '<' > > So I tried using the HTML & "codes" for special chars but now get: > "Could not parse for environm

Re: [Puppet Users] Puppet module layout

2011-06-20 Thread Nigel Kersten
On Sat, Jun 18, 2011 at 1:29 AM, Bruce Bushby wrote: > Hello > > I'm new to large scale puppet deployment and was hoping the list could > offer some pointers on "module layout" > > My initial "layout" was motivated by a need to "harden" our Linux > systems. I grouped the various hardening configs

Re: [Puppet Users] confused about file ensure/require

2011-06-21 Thread Nigel Kersten
27;' > debug: /Stage[main]/Ntp/Service[ntp]/subscribe: subscribes to > File[ntp.conf] > debug: /Stage[main]/Ntp/File[ntp.conf]/require: requires Package[ntp] > info: Applying configuration version '1308671777' > err: /Stage[main]/Ntp/File[ntp.conf]: Could not evalua

Re: [Puppet Users] environment ENC vs cmdline

2011-06-22 Thread Nigel Kersten
subscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- Nigel Kersten Product, Puppet Labs @nigelkersten -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] How to add extra lines in the existing files?

2011-06-23 Thread Nigel Kersten
On Thu, Jun 23, 2011 at 6:37 AM, Kinzel, David wrote: > >> this is not directly built into puppet. > > > >Is there any specific reason why this is not built into puppet? > > > >We've put __addifnosuchline [0] into cdist [1] as one of > >the most basic features, because it's often needed if you do

Re: [Puppet Users] How to add extra lines in the existing files?

2011-06-23 Thread Nigel Kersten
On Thu, Jun 23, 2011 at 7:46 AM, Nico -telmich- Schottelius < nico-puppet-us...@schottelius.org> wrote: > Nigel, > > Nigel Kersten [Thu, Jun 23, 2011 at 07:37:30AM -0700]: > > [...] > > > > It's simple enough at first, [...] > > > > that

Re: [Puppet Users] Re: Using require and notify across class resources cause a dependency cycle

2011-06-23 Thread Nigel Kersten
On Thu, Jun 23, 2011 at 6:01 AM, jcbollinger wrote: > > While I'm on my soapbox, this is one reason why I don't like > interclass dependencies very much, and why run stages (which magnify > this problem) need to be approached with caution. There is certainly > something to be said for the layer o

Re: [Puppet Users] How to add extra lines in the existing files?

2011-06-23 Thread Nigel Kersten
On Thu, Jun 23, 2011 at 8:00 AM, Kinzel, David wrote: > > I just think having some built-in functions for text patterns would be > lovely. There are many cases where something like addifnosuchline would > be perfectly valid. Just because it won't be the solution in all cases > doesn't mean it shou

Re: [Puppet Users] How to add extra lines in the existing files?

2011-06-23 Thread Nigel Kersten
On Thu, Jun 23, 2011 at 8:06 AM, Nico -telmich- Schottelius wrote: > Nigel Kersten [Thu, Jun 23, 2011 at 07:51:23AM -0700]: >> nico-puppet-us...@schottelius.org> wrote: >> [...] >> I am hesitant for us to put something like this in the core distribution >> though,

Re: [Puppet Users] How to add extra lines in the existing files?

2011-06-23 Thread Nigel Kersten
On Thu, Jun 23, 2011 at 9:25 AM, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > I am hesitant for us to put something like this in the core distribution though, simply because we know it's a maintenance problem over time. >>> >>> Fair enough. >>> >>> Though I imag

[Puppet Users] Re: Puppet on Windows

2011-06-23 Thread Nigel Kersten
ured in a public ticket people can watch very soon, I apologize for the lack of transparency here. -- Nigel Kersten Product, Puppet Labs @nigelkersten -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send emai

Re: [Puppet Users] Re: Puppet module layout

2011-06-23 Thread Nigel Kersten
d then /etc/puppet/modules/os/manifest/init.pp  would include the > various "pp" components for various hosts lists. > > Is this even possible? > > > > > On Jun 20, 5:50 pm, Nigel Kersten wrote: >> On Sat, Jun 18, 2011 at 1:29 AM, Bruce Bushby wrote: >> >> &g

Re: [Puppet Users] Package pre-requisites prior to file exec

2011-06-23 Thread Nigel Kersten
On Thu, Jun 23, 2011 at 4:07 PM, Craig White wrote: > class nginx::install { >  $prerequisites = [ "build-essential", "libcurl4-openssl-dev", "libssl-dev", > "zlib1g-dev" ] >  case $operatingsystem { >    centos, redhat: { >    } >    debian, ubuntu: { >      package { $prerequisites : ensure =>

Re: [Puppet Users] Package pre-requisites prior to file exec

2011-06-24 Thread Nigel Kersten
On Fri, Jun 24, 2011 at 10:38 AM, Craig White wrote: > Nevermind... under control - thanks for the fish Heh. Great timing, I was just typing up a reply. Craig, I'd appreciate it if we could try and work out what led you down the wrong path in terms of syntax so we can try to make sure it doesn't

Re: [Puppet Users] Package pre-requisites prior to file exec

2011-06-24 Thread Nigel Kersten
ell done! Glad to hear the docs weren't a big problem, but it does feel like there's something here that could maybe have been called out in a more obvious manner in the docs. -- Nigel Kersten Product, Puppet Labs @nigelkersten -- You received this message because you are subscribed

Re: [Puppet Users] Setting requirements using collection -vs- before/require meta-parameters

2011-06-25 Thread Nigel Kersten
ameters did not succeed:  In the bottom example, > Puppet would attempt to install packages contained in the class even > though the nfs share was not mounted. > > I realize that the top example is applying the relationship to all > 'nfs::client' defined types (which is fin

Re: [Puppet Users] Custom facts - chicken or the egg

2011-06-25 Thread Nigel Kersten
On Fri, Jun 24, 2011 at 4:28 PM, Craig White wrote: > 1. I want to require => > /etc/puppet/modules/custom/lib/facter/$SOME_CUSTOM_FACT is actually executed > and the fact is established before a particular package is > installed/configured. I can't seem to find the proper syntax for requiring

Re: [Puppet Users] Custom facts - chicken or the egg

2011-06-25 Thread Nigel Kersten
On Sat, Jun 25, 2011 at 11:54 AM, Daniel Pittman wrote: > Regardless of that, if you can submit a bug report about the failure, > that would be excellent.  Facter *shouldn't* be that easy to break. ;) Ugh. I missed that there was an error in this case, and yes, we totally shouldn't gag on such

Re: [Puppet Users] When will puppet versions later than 2.6.4 be available on macports?

2011-06-25 Thread Nigel Kersten
On Sat, Jun 25, 2011 at 6:23 PM, Henrik Lindberg wrote: > Title says it all... "When will puppet versions later than 2.6.4 be > available on macports?" um... when I fix the bug that it's currently suffering and is blocking updates? :) It is set to openmaintainer, so anyone can contribute patche

Re: [Puppet Users] Ruby script to download files without 'puppet agent'

2011-06-27 Thread Nigel Kersten
On Mon, Jun 27, 2011 at 7:27 AM, wrote: > We have often the Problem that some files need to be checked for updates > faster than the cycle of the puppet agent. I try to solve this with a > script which tries to download the files directly from the fileserver of > the puppetmaster. So far i couldn

Re: [Puppet Users] Ruby script to download files without 'puppet agent'

2011-06-27 Thread Nigel Kersten
On Mon, Jun 27, 2011 at 7:41 AM, wrote: > > On Mon, Jun 27, 2011 at 7:27 AM, wrote: > > > >> We have often the Problem that some files need to be checked for updates > >> faster than the cycle of the puppet agent. I try to solve this with a > >> script which tries to download the files directly

Re: [Puppet Users] gentoo linux and puppet

2011-06-27 Thread Nigel Kersten
On Wed, Jun 22, 2011 at 10:19 AM, Peter Berghold wrote: > > err: Could not retrieve catalog from remote server: Error 400 on SERVER: No > support for http method POST > To explain this error a bit more, we've moved the catalog retrieval to a POST rather than a GET to avoid the compile-time size li

Re: [Puppet Users] Re: Setting requirements using collection -vs- before/require meta-parameters

2011-06-27 Thread Nigel Kersten
On Mon, Jun 27, 2011 at 9:36 AM, Jon Jaroker wrote: > > After adding both forms of the dependency (the 'collection' as well as > 'before'), I have not had a failure for the past few days. > > I believe my syntax is right and that the issue is specific to the > dependency. I wonder if a timeout i

Re: [Puppet Users] Deployed but unmanaged file

2011-06-29 Thread Nigel Kersten
I've long wanted the equivalent of a "conffile" in Puppet. e.g. "replace this file if it's still the same as the one Puppet put down, but if it's been modified from the default, don't replace it" I've wanted this in the past for things like a user .rc file, where you want to be able to continuall

Re: [Puppet Users] Re: Setting requirements using collection -vs- before/require meta-parameters

2011-06-29 Thread Nigel Kersten
On Wed, Jun 29, 2011 at 9:54 AM, Jon Jaroker wrote: > > Please let me know if you want me to create a bug for this, or whether > you have debugging or workaround recommendations. > I'll read your post a bit more closely later on today, but a quick suggestion would be to use the --graph output on

Re: [Puppet Users] Re: Puppet agent creates certificates for localhost.localdomain and does not pick up the changed hostname

2011-06-30 Thread Nigel Kersten
On Thu, Jun 30, 2011 at 6:49 AM, jcbollinger wrote: > > Note that nscd in particular can be > configured to be stubbornly ignorant of changes to the authoritative > files. > Tell it like it is brother! /me considers forming the nscd-haters club... As an aside that really isn't that relevant to

Re: [Puppet Users] Re: undefined method error when installing Puppet Dashboard 1.1.1

2011-07-01 Thread Nigel Kersten
Has anyone bug reported this yet? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For m

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target "File[]"

2011-07-02 Thread Nigel Kersten
On Fri, Jul 1, 2011 at 6:24 PM, Michael Halligan wrote: > I'm running Puppet 2.7.1 on the master as well as the agent and just > received a new error which doesn't actually reference a module or a file, so > I'm somewhat stuck as to how to debug this. Any pointers? > The error is err: Could not r

Re: [Puppet Users] Re: Testing if a puppet class is going to be installed

2011-07-07 Thread Nigel Kersten
This need is why we've modified the default ACL in 2.7.x to allow you to retrieve your own node definitions easily. http://groups.google.com/group/puppet-dev/browse_thread/thread/fba16b6f26015daa "If you add a rule like this to puppet 2.7.0rc1 in auth.conf path ~ ^/node/([^/]+)$ method find allo

Re: [Puppet Users] help with user type

2011-07-09 Thread Nigel Kersten
r/sbin/usermod > -c My user' returned 6: usermod: myuser not found in /etc/passwd > > Running the client in debug, I don't see anything to suggest that > there's an attempt to add the user. That part isn't failing, it > simply isn't happening. What could

Re: [Puppet Users] Explanation of the metric section of a report

2011-07-09 Thread Nigel Kersten
nces/stable/type.html#file Have a look at recurse and checksum. -- Nigel Kersten Product Manager, Puppet Labs Twitter: @nigelkersten *Join us for **PuppetConf *<http://www.bit.ly/puppetconfsig> September 22nd and 23rd in Portland, Oregon, USA. * * -- You received this message because you are s

Re: [Puppet Users] Downgrading RubyGems using Package provider => gem

2011-07-09 Thread Nigel Kersten
On Fri, Jul 8, 2011 at 8:47 AM, Martin Willemsma wrote: > Hi Ryan, > > I experience the same. I'm using gem provider to manage puppet and > facter installed versions. When I recently upgraded a selection of > nodes to 2.7.1 I saw other not being removed like the way apt is > doing. > > I would lik

Re: [Puppet Users] Issue with puppet file serving api not parsing yaml content correctly

2011-07-09 Thread Nigel Kersten
`lock' > /opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in > `run' > /opt/ruby-1.8.6-p287/lib/ruby/1.8/sync.rb:229:in `synchronize' > /opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in > `run' > /opt/ruby-1.8.6-p287/lib/ruby/site

Re: [Puppet Users] Re: use puppet to manage user accounts on mysql

2011-07-10 Thread Nigel Kersten
ause you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.g

Re: [Puppet Users] Bizarre errors from puppetmaster 2.7.1

2011-07-10 Thread Nigel Kersten
ps > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users

Re: [Puppet Users] Re: use puppet to manage user accounts on mysql

2011-07-10 Thread Nigel Kersten
-users+unsubscr...@googlegroups.com. > > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this

Re: [Puppet Users] Explanation of the metric section of a report

2011-07-11 Thread Nigel Kersten
ke jars. > > Thanks again > > Haitao > > On Sat, Jul 9, 2011 at 9:28 AM, Nigel Kersten > wrote: > > > > > > On Fri, Jul 8, 2011 at 3:00 PM, Haitao Jiang > wrote: > >> > >> I just wondering if anyone can point me to the documentation on

Re: [Puppet Users] Re: Issue with puppet file serving api not parsing yaml content correctly

2011-07-11 Thread Nigel Kersten
t might give a > > better clue as to why. > > > > ken. > > > > -- > > "Join us for PuppetConf, September 22nd and 23rd in Portland, OR: > http://bit.ly/puppetconfsig"; > > -- > You received this message because you are subscribed to the Google Groups &

Re: [Puppet Users] Re: Issue with puppet file serving api not parsing yaml content correctly

2011-07-11 Thread Nigel Kersten
;yaml' just do the right thing? If not, I'd post to the puppet-dev list and see if the more developer-focused crowd can give you a better answer for 0.25.4. > > -- > Derek > > On Jul 11, 2:56 pm, Nigel Kersten wrote: > > On Mon, Jul 11, 2011 at 11:36 AM, Derek

Re: [Puppet Users] Run this only once!!

2011-07-12 Thread Nigel Kersten
On Tue, Jul 12, 2011 at 1:37 PM, Jacob Helwig wrote: > > This shouldn't actually be necessary. The pkgdmg provider should keep > track of which things it's installed, so it won't keep trying to install > the .dmg on every run. > > and for further detail, due to OS X not having a real package man

Re: [Puppet Users] puppet never finishing when there are thousands of resources

2011-07-12 Thread Nigel Kersten
d up being your fastest mitigation path. Even 2.6.9 if you can try it, there have been a few changes since 2.6.4. I tend to find that a visual scan of a dot file from a --graph run is a good way to look for explosions in complexity. -- Nigel Kersten Product Manager, Puppet Labs Twitter: @nigelk

Re: [Puppet Users] puppet manifest execution orders

2011-07-13 Thread Nigel Kersten
t series. http://docs.puppetlabs.com/learning/ordering.html -- Nigel Kersten Product Manager, Puppet Labs Twitter: @nigelkersten *Join us for **PuppetConf *<http://www.bit.ly/puppetconfsig> September 22nd and 23rd in Portland, Oregon, USA. * * -- You received this message because you

Re: [Puppet Users] Seemingly random failures after 2.7.1 upgrade

2011-07-13 Thread Nigel Kersten
ally does become a lot simpler if you avoid 'import' everywhere you can and just rely upon the class autoloader. -- Nigel Kersten Product Manager, Puppet Labs Twitter: @nigelkersten *Join us for **PuppetConf *<http://www.bit.ly/puppetconfsig> September 22nd and 23rd in Portland,

Re: [Puppet Users] Re: How to avoid the use of defined

2011-07-13 Thread Nigel Kersten
also use collections to do what you want, this is untested, but something like: Package <| title != "php" |> { require => Package['php'], notify => Service['httpd'] } should work I believe. -- Nigel Kersten Product Manager, Puppet Labs Twitter: @ni

Re: [Puppet Users] Re: puppet never finishing when there are thousands of resources

2011-07-13 Thread Nigel Kersten
given Class['a'] -> Class['b'], you get a > relationship between each of the n resources of Class['a'] and each of > the m resources of Class['b'], for n x m DAG edges. > Note that 2.7.x resolved this relationship explosion, which is one reason I sug

Re: [Puppet Users] Re: Seemingly random failures after 2.7.1 upgrade

2011-07-14 Thread Nigel Kersten
th for this environment. * whether you're using 'import' anywhere. > > Thanks in advance, > Gus > > On Jul 13, 11:03 am, Nigel Kersten wrote: > > On Tue, Jul 12, 2011 at 11:29 PM, Peter Meier >wrote: > > > > > > > > > Pup

Re: [Puppet Users] Re: What is the best practice to clean up installed components on a node?

2011-07-16 Thread Nigel Kersten
f. If you *really* want this you could implement it reasonably easily in a custom external node classifier, but it's rather unlikely this would make it into core. -- Nigel Kersten Product Manager, Puppet Labs Join us for PuppetConf <http://www.bit.ly/puppetconfsig> Sept 22/23 Portland, Or

Re: [Puppet Users] Re: Run this only once!!

2011-07-16 Thread Nigel Kersten
]], >> >    onlyif      => "test -e /var/db/.bindscript",} >> >> >   exec {'blahblah': >> >    command     =>'touch /var/db/.bindscript', >> >    path        =>['/usr/bin'] >> >> > } >> &

Re: [Puppet Users] Re: Ruby script to download files without 'puppet agent'

2011-07-18 Thread Nigel Kersten
>> ./puppet_sync_sudo2.pp: line 10: owner: command not found >> ./puppet_sync_sudo2.pp: line 11: syntax error near unexpected token `}' >> ./puppet_sync_sudo2.pp: line 11: `}' >> >> Any ideas? >> >> Greetings >> Andy > > -- > You rec

Re: [Puppet Users] Re: puppetmaster SSL_Read

2011-07-25 Thread Nigel Kersten
-- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.co

  1   2   3   4   5   6   7   8   9   10   >