[Puppet Users] node regex not working in 2.7.9

2012-02-22 Thread Christopher Johnston
Anyone know of any issues in 2.7.9 when trying to use a regex pattern for matching a hostname? If I specify the following below the client never loads the proper class, but if I put the fully qualified name in it works fine. Fails: node /somehost.*/ { include some::class } Works: node /someh

[Puppet Users] Re: node regex not working in 2.7.9

2012-02-23 Thread Christopher Johnston
Anyone have any ideas here? All these manifests worked fine in 2.5 puppet and suddenly broke in 2.7.9 when we upgraded. On Feb 22, 2012, at 8:42 PM, Christopher Johnston wrote: > Anyone know of any issues in 2.7.9 when trying to use a regex pattern for > matching a hostname? If I s

Re: [Puppet Users] Re: node regex not working in 2.7.9

2012-02-23 Thread Christopher Johnston
and are very convenient for our environment as we are very particular about hostname standards since our servers are generally service oriented and require a specific class for that service. -Chris On Thu, Feb 23, 2012 at 9:34 AM, jcbollinger wrote: > > > On Feb 22, 7:42 pm, Ch

Re: [Puppet Users] Re: node regex not working in 2.7.9

2012-02-23 Thread Christopher Johnston
I think I found my issue, we may have had doubling of node types. One file has node /someregex/, and another has node theactualhost, so could be that we are duplicating node definition/namespaces. -Chris On Thu, Feb 23, 2012 at 1:37 PM, Christopher Johnston wrote: > John, > > Thx

[Puppet Users] Facts loading 4-5x

2012-03-28 Thread Christopher Johnston
Is there any reason why my facts are loading 4-5x (I have even seen 6x) on puppet client runs? I am running 2.7.9, I remember running 2.6 and seeing usually 2x. Is there a known bug here or some configuration problem that could be causing this? Some of my facts collect/parse a bunch of data and

Re: [Puppet Users] Puppet / scalability

2012-05-14 Thread Christopher Johnston
3k? I know of larger but can't comment on who they are, but they are close to 8-10k nodes AFAIK if not more by now. On Mon, May 14, 2012 at 2:53 AM, Alex Harvey wrote: > Hi list, > > I am looking at configuration management tool options. > > I have a large fleet (> 3,000 hosts) and highly hetero

Re: AW: [Puppet Users] OT: Monitoring solutions

2012-06-25 Thread Christopher Johnston
I use pnp4nagios with icinga, and use the graphite branch (some mods required). Otherwise the RRD setup works well too. On Mon, Jun 25, 2012 at 8:58 AM, Kyle Sexton wrote: > Curious if Icinga has integrated graphing or if it's an add-on since it's > based on Nagios. Overall you are pleased wit

[Puppet Users] catalog format

2011-07-21 Thread Christopher Johnston
debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; using pson How can I change this to default to yaml? I didn't see any options in puppet.conf. -Chris -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group,

[Puppet Users] Re: catalog format

2011-07-21 Thread Christopher Johnston
thost'; cannot compile warning: Not using cache on failed catalog On Thu, Jul 21, 2011 at 11:58 AM, Christopher Johnston wrote: > debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; using > pson > > How can I change this to default to yaml? I didn't see a

[Puppet Users] 2.7.6 yumrepo not working

2011-11-01 Thread Christopher Johnston
Just upgraded to 2.7.6 and the yumrepo type does not write out our yum configs correctly, anyone experiencing this? Documentation hasn't changed from what I can tell for this type. # facter -version 1.6.2 # puppetd --version 2.7.6 # facter architecture x86_64 # facter operatingsystem Fedora # fac

Re: [Puppet Users] 2.7.6 yumrepo not working

2011-11-01 Thread Christopher Johnston
gt; > > puppet/factor shouldn't resolve these variables, they go to the repo > > file and are resolved by yum or whatever. > > > > On Tue, Nov 1, 2011 at 10:45 AM, Christopher Johnston > > mailto:chjoh...@gmail.com>> wrote: > > > > Just upgr

[Puppet Users] Re: [Puppet-dev] Re: When the lint accumulates...

2011-12-20 Thread Christopher Johnston
Is there a minimum version of ruby or puppet for it to work? I am open to running this on my entire puppet tree (close to 53 modules and growing). puppet-lint /etc/puppet/manifests /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.7/bin/../lib/puppet-lint/plugin.rb:43: warning: parenthesize argument(s)

[Puppet Users] Puppet Inventory Service

2012-01-03 Thread Christopher Johnston
I have multiple masters (40+) that reside in remote locations, I want to have them send puppet inventory data to a central inventory with mysql. Once the data is there I would like puppet dashboard installation use that data. I have not been able to get the remote masters to send their data back t

[Puppet Users] Re: Puppet Inventory Service

2012-01-04 Thread Christopher Johnston
Puppet dev can help? I modified auth.conf and it did not seem to help. On Tue, Jan 3, 2012 at 1:54 PM, Christopher Johnston wrote: > I have multiple masters (40+) that reside in remote locations, I want to > have them send puppet inventory data to a central inventory with mysql. > Once

Re: [Puppet Users] Puppet Inventory Service

2012-01-04 Thread Christopher Johnston
= puppet). I don't have one signed CA that every master is using. path /facts auth any method save allow * On Wed, Jan 4, 2012 at 12:36 PM, Nan Liu wrote: > On Tue, Jan 3, 2012 at 10:54 AM, Christopher Johnston > wrote: > > I have multiple masters (40+) that reside in remote loc

Re: [Puppet Users] Puppet Inventory Service

2012-01-04 Thread Christopher Johnston
; On Wed, Jan 4, 2012 at 11:31 AM, Christopher Johnston > wrote: > > If it is a requirement that I have a signed CA, that could be an issue > as I > > have two puppet masters in each datacenter that has its own shared CA > across > > those two puppet masters only (ce

Re: [Puppet Users] Puppet Inventory Service

2012-01-04 Thread Christopher Johnston
PM, Christopher Johnston > wrote: > > My inventory server is a puppetmaster, but its master of itself and is > only > > being using for inventory services. If I point new clients to it will > work > > fine. > > > > So think of my setup like this: > > > &g

Re: [Puppet Users] copying file(s) from agent to master??

2012-01-09 Thread Christopher Johnston
I think you want to use the filebucket setup for this, I am not 100% familiar with it though. On Mon, Jan 9, 2012 at 10:50 AM, Sans wrote: > Is there a way to copy file(s) from the Puppet agent back to the > master? I know it sounds silly but that's what I need to do. This is > one of the s/w-ta

Re: [Puppet Users] scaling projections for dashboard database?

2012-01-09 Thread Christopher Johnston
How often are you running puppet?  I have 1200 nodes running a few times a week and our growth is nothing like that. Original message Subject: Re: [Puppet Users] scaling projections for dashboard database? From: Jo Rhett To: puppet-users@googlegroups.com CC: On Jan 9, 201

Re: [Puppet Users] File Size

2010-04-07 Thread Christopher Johnston
Nfs is not always feasible in controlled environments. I run kernels with the nfs stack completely removed to cut out kernel bloat (for size). Rsync integration into puppet directly would be attractive and very useful. Sent from my iPhone On Apr 7, 2010, at 8:07 PM, Michael DeHaan wr

Re: [Puppet Users] dependencies

2010-04-08 Thread Christopher Johnston
Thu, Mar 18, 2010 at 8:49 AM, Christopher Johnston > wrote: > > Yup the yum manifest sets up my configuration files for the various repos > > (ie, we have a development repos for our lab that only goes on lab > systems > > and production hosts the production repo). > > &g

Re: [Puppet Users] Puppet high-availability

2010-04-13 Thread Christopher Johnston
How to deal with ssl certs, I have a similar situation where I have two puppetmasters per site and I would like to see them both handle serving puppet data at anytime from a VIP (primary/failover) type of operation. Sent from my iPhone On Apr 13, 2010, at 7:26 PM, Patrick wrote: On Ap

Re: [Puppet Users] Puppet high-availability

2010-04-14 Thread Christopher Johnston
On Wed, Apr 14, 2010 at 9:42 AM, Michael DeHaan wrote: > On Tue, Apr 13, 2010 at 7:39 PM, Christopher Johnston > wrote: > > How to deal with ssl certs, I have a similar situation where I have two > > puppetmasters per site and I would like to see them both handle serving

Re: [Puppet Users] Puppet high-availability

2010-04-14 Thread Christopher Johnston
, David Schmitt wrote: > > On 4/14/2010 3:42 PM, Michael DeHaan wrote: > >> > >> On Tue, Apr 13, 2010 at 7:39 PM, Christopher Johnston > >> wrote: > >>> > >>> How to deal with ssl certs, I have a similar situation where I have two >

Re: [Puppet Users] Replacing a puppet server

2010-04-14 Thread Christopher Johnston
Can you describe how to set this up? On Wed, Mar 31, 2010 at 11:23 AM, Ohad Levy wrote: > LOhit, > > The main two things to take into account are: > >1. keep your manifests elsewhere, IMHO puppetmasters always gets RO >copy of your puppet data (e.g. from a VCS). >2. Solve the SSL he

[Puppet Users] best way to disable a class

2010-05-03 Thread Christopher Johnston
Say I have two classes: package::stable -- installs a specific version of a pkg package::devel -- installs the latest version in the repo The class package::stable would be specific for 90% of my machines in my environment, but on occasion we have to override the package version we want to ins

Re: [Puppet Users] best way to disable a class

2010-05-03 Thread Christopher Johnston
I figured it out I think by inheriting package::stable and then using the Package resource (note cap P) to override it. Thx! On Mon, May 3, 2010 at 7:04 PM, Russ Allbery wrote: > Christopher Johnston writes: > > > Say I have two classes: > > > package::stable -- instal

Re: [Puppet Users] puppet for switches

2010-05-05 Thread Christopher Johnston
That would be very cool indeed, manifests would get quite big though in really large environments (think 100k end points). Juniper and Cisco support would be great. Sent from my iPhone On May 5, 2010, at 4:15 AM, Nicolas Szalay wrote: - "Geoff Crompton" a écrit : | This might be a

[Puppet Users] autosigning - restart required?

2010-05-19 Thread Christopher Johnston
Is a restart of puppet required for autosgining to take effect? I have added a dozen or so new host entries and they don;t seem to take effect unless I restart puppet (in this case I am using passenger so makes it a bit difficult). Seems this is a bug of some sort. -Chris -- You received this

Re: [Puppet Users] autosigning - restart required?

2010-05-19 Thread Christopher Johnston
Doesn't seem to be consistent... Have tried this on a few of my masters and it works sometimes, and sometimes not.,.. On Wed, May 19, 2010 at 9:18 AM, Ohad Levy wrote: > not required :) > > On Wed, May 19, 2010 at 9:07 PM, Christopher Johnston > wrote: > >> Is a rest

Re: [Puppet Users] Six Puppet Questions

2010-05-19 Thread Christopher Johnston
"4) Failover: What are people doing these days for puppet failover? My gut says to keep the configs in SVN, and always have another host on stand by. However, there's an issue with that: the puppet nodes wouldn't be able to just be re-pointed, because the client SSL certificates would be validated

Re: [Puppet Users] Six Puppet Questions

2010-05-19 Thread Christopher Johnston
The masters would get certname = puppet, so the cert filename would end up being puppet.pem. You can then create a DNS entry for the VIP called puppet... You just have to copy that cert to the secondary nodes as well as keeping the client certs in sync so when a failover happens you have the clie

Re: [Puppet Users] Six Puppet Questions

2010-05-19 Thread Christopher Johnston
y certificates are signed. > > Keeping on this same subject, perhaps you can answer the fileserver.conf > question as well - if a node does not have a signed cert, can it still > access the fileserver, regardless of the allow/deny rules inside > fileserver.conf? > > -Matt > &g

[Puppet Users] augeas type and /etc/services

2010-06-02 Thread Christopher Johnston
Has anyone attempted to use the augeas type to add a service? I got the service to add no problem, but having some difficulties to get the match to work to prevent duplicate entries from adding. Since the service-name[*] has endless number of entries I used a glob so it checks all the entries but

Re: [Puppet Users] augeas type and /etc/services

2010-06-03 Thread Christopher Johnston
rote: > On Jun 2, 2010, at 4:03 PM, Christopher Johnston wrote: > > > Has anyone attempted to use the augeas type to add a service? I got the > service to add no problem, but having some difficulties to get the match to > work to prevent duplicate entries from adding. Since the ser

Re: [Puppet Users] augeas type and /etc/services

2010-06-03 Thread Christopher Johnston
rst entry in the file (by removing it). So still not the behavior I am looking for. I should be able to append to the bottom of the file but have onlyif() sort through the entire file and verify a match. Any other ideas? On Thu, Jun 3, 2010 at 12:04 PM, Christopher Johnston wrote: &g

Re: [Puppet Users] augeas type and /etc/services

2010-06-03 Thread Christopher Johnston
Rob McBroom wrote: > On Jun 3, 2010, at 12:04 PM, Christopher Johnston wrote: > > > # puppet -ddd foo1.pp > > Could not parse for environment production: Syntax error at 'set > /files/etc/services/service-name[port = '1002'] app_tcp'; expected ']' a

Re: [Puppet Users] augeas type and /etc/services

2010-06-03 Thread Christopher Johnston
I am on 25.4... On Thu, Jun 3, 2010 at 1:59 PM, Rob McBroom wrote: > On Jun 3, 2010, at 1:40 PM, Christopher Johnston wrote: > > > Now if I single quote the port number in the [] I get another error.. > which likely means using the '' is not correct. > > &g

Re: [Puppet Users] augeas type and /etc/services

2010-06-03 Thread Christopher Johnston
HA, yes I added commas. You know what the problem was, my ordering. I had app_tcp first and not port 1002 so thats likely why it was not getting picked up. Worked, but hit another snag. Now try adding another app name, same port but for udp, it will just get overwritten. -Chris On Thu, Jun 3

Re: [Puppet Users] augeas type and /etc/services

2010-06-04 Thread Christopher Johnston
I tried using the "alias" option as an identifier, but have not been succesful with it. I will play that a little bit more as I think that may be the only way to do it that I know of. On Thu, Jun 3, 2010 at 10:55 PM, Rob McBroom wrote: > On Jun 3, 2010, at 3:05 PM, Christopher J

Re: [Puppet Users] augeas type and /etc/services

2010-06-04 Thread Christopher Johnston
Let me give this a whirl will let you know how I make out On Fri, Jun 4, 2010 at 10:42 AM, Rob McBroom wrote: > These types of paths seem to match the correct thing as well: > >/files/etc/services/service-name[port = '443' and protocol = 'tcp'] >/files/etc/services/*[port = '443' and prot

Re: [Puppet Users] augeas type and /etc/services

2010-06-04 Thread Christopher Johnston
What version of augeas are you using? I am on 0.5.3 I don't think support has been added to do some of that functionality I am going to upgrade On Fri, Jun 4, 2010 at 10:33 AM, Rob McBroom wrote: > On Jun 4, 2010, at 10:20 AM, Christopher Johnston wrote: > > > I tried using t

Re: [Puppet Users] augeas type and /etc/services

2010-06-04 Thread Christopher Johnston
;][protocol = 'tcp']/port 7302", or changes => ["set service-name[port = '7302' and protocol = 'tcp']/port 7302", On Fri, Jun 4, 2010 at 12:58 PM, Rob McBroom wrote: > On Jun 4, 2010, at 11:55 AM, Christopher Johnston wrote: > > > What ve

Re: [Puppet Users] augeas type and /etc/services

2010-06-04 Thread Christopher Johnston
: > On Jun 4, 2010, at 1:03 PM, Christopher Johnston wrote: > > > I tested the new version from the CLI, I noticed it is quite different > and more powerful features. But I wonder if puppet has caught to support > them in the augeas provider. If I set this below it fails and either &

[Puppet Users] puppetqd and remote mysql server

2010-06-07 Thread Christopher Johnston
Has anyone been using this in production to store facts remotely in a distributed environment? I have been testing it in my lab where latency and bandwith to a remote mysql server is very good so it works well. But if I attempt to use it across a wan with ~150ms puppetqd seems to die. If I don't

[Puppet Users] Re: puppetqd and remote mysql server

2010-06-07 Thread Christopher Johnston
uppet/state/clientconfigs.sqlite3 On Mon, Jun 7, 2010 at 3:22 PM, Christopher Johnston wrote: > Has anyone been using this in production to store facts remotely in a > distributed environment? I have been testing it in my lab where latency and > bandwith to a remote mysql server is v

Re: [Puppet Users] Re: puppetqd and remote mysql server

2010-06-09 Thread Christopher Johnston
dashboard instead of having dozens of dashboards for each location. -Chris On Tue, Jun 8, 2010 at 2:40 PM, donavan wrote: > > On Jun 7, 1:00 pm, Christopher Johnston wrote: > > Think I found the issue from an strace, the rubygems-sqlit3 rpm was > > missing.. still curious on

Re: [Puppet Users] Re: puppetqd and remote mysql server

2010-06-09 Thread Christopher Johnston
last > known cache. > in any case, sqlite will never really work with many processes trying to > lock the file (it is a file after all), so you should really evaluate it > with some other db engine. > > hope this helps, > Ohad > > On Wed, Jun 9, 2010 at 11:50 PM, Christoph

Re: [Puppet Users] Storeconfigs connection pool problem

2010-06-10 Thread Christopher Johnston
I have the same issue as well, seems puppetqd uses sqlite for caching? On Wed, Jun 9, 2010 at 4:11 PM, Jason Koppe wrote: > Queuing support from ActiveMQ doesn't even make a difference for me -- I > thought the purpose of adding the queuing support was to queue the data in > puppetqd's memory

Re: [Puppet Users] Provisioning VM in Xen via Puppet - Howto??

2010-06-11 Thread Christopher Johnston
Thomas I don't see your GIT repo, looks to be offline. On Fri, May 14, 2010 at 5:11 AM, Dan Carley wrote: > On 12 May 2010 16:13, Thomas Bellman wrote: > >> [..] >> I don't create the logical volumes automatically, nor do I >> partition or create filesystems on them automatically, to lessen >>

Re: [Puppet Users] Provisioning VM in Xen via Puppet - Howto??

2010-06-14 Thread Christopher Johnston
My git clone was failing, will try again On Mon, Jun 14, 2010 at 9:33 AM, Thomas Bellman wrote: > On 2010-06-11 21:20, Christopher Johnston wrote: > > Thomas I don't see your GIT repo, looks to be offline. >> > > I don't see any problems when I ch

Re: [Puppet Users] augeas and sendmail aliases

2010-06-17 Thread Christopher Johnston
I was never able to get this working properly for /etc/services, there is support in augeas now to do the matches properly but I think the ruby bindings are not up to date with the new changes which ended up making puppet fail. On Thu, Jun 17, 2010 at 9:06 AM, Rob McBroom wrote: > On Jun 16, 20

Re: [Puppet Users] header for puppet managed files

2010-06-21 Thread Christopher Johnston
Similar setup as well: # pwd /etc/puppet/templates # cat header.erb ## # # # This file is centrally managed, any manual changes will be OVERWRITTEN

Re: [Puppet Users] Re: Management of MySQL grant tables?

2010-06-21 Thread Christopher Johnston
Module works great! Thx! I made some slight mods to it for my environment but works great. On Wed, May 19, 2010 at 11:44 AM, Ken wrote: > > I found a github reference to a package that might do it ( > http://github.com/camptocamp/puppet-mysql) but I can't understand > > what it is, how it work

Re: [Puppet Users] Storeconfigs connection pool problem

2010-06-21 Thread Christopher Johnston
, Jason Koppe wrote: > I'm not sure, I can't seem to find README.queuing or much documentation > about how it's supposed to work. I'll checkout the code this weekend if > there aren't responses here. > > > On Thu, Jun 10, 2010 at 9:32 AM, Christopher Johns

Re: [Puppet Users] sysctl

2010-06-25 Thread Christopher Johnston
There was one just posted on the list 2 days ago if you do a search. Works well. There is this one too. http://git.puppet.immerda.ch/?p=module-sysctl.git;a=summary On Fri, Jun 25, 2010 at 10:19 AM, nottings wrote: > Does anyone out there have a module or type for managing sysctl? > Where can I

[Puppet Users] Creating a directory fails

2010-07-14 Thread Christopher Johnston
I don't see anything out of the ordinary here, seems like its not honoring the type as a directory but as a file any ideas? err: //bind::slave/File[/var/named/chroot]: Failed to generate additional resources using 'eval_generate': Cannot manage files of type characterSpecial file { '/var/named/ch

Re: [Puppet Users] Creating a directory fails

2010-07-15 Thread Christopher Johnston
xists or if /var/named/chroot is a symlink. > > On Jul 14, 2010, at 2:24 PM, Christopher Johnston wrote: > > > I don't see anything out of the ordinary here, seems like its not > honoring the type as a directory but as a file any ideas? > > > > err: //bind::slave/

Re: [Puppet Users] Creating a directory fails

2010-07-15 Thread Christopher Johnston
te: > I might know the problem. Do you have device files or sockets in > /var/named/chroot? If so puppet might be trying to manage the permissions > on stuff in that folder and failing the sanity check when is sees they > aren't regular files. > > > On Jul 15, 2010, at 7

Re: [Puppet Users] Creating a directory fails

2010-07-15 Thread Christopher Johnston
Sure! On Thu, Jul 15, 2010 at 11:27 AM, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > One minor complaint, the debug output from puppetd doesn't really explain > > what the exact issue is and where its failing. ie, would be good if it > said > > it was attempting to

Re: [Puppet Users] Re: Management of MySQL grant tables?

2010-07-27 Thread Christopher Johnston
David, Curious on how you handle doing a grant of *.* (all attributes) I looked through your puppet type and I see you are individually listing every type out but you are missing event_priv and trigger_priv as grant types. -Chris On Mon, Jun 21, 2010 at 11:51 AM, David Schmitt wrote: > On 5/19

Re: [Puppet Users] Re: Management of MySQL grant tables?

2010-07-28 Thread Christopher Johnston
2010 12:41 AM, Christopher Johnston wrote: >> David, >> >> Curious on how you handle doing a grant of *.* (all attributes) I looked >> through your puppet type and I see you are individually listing every >> type out but you are missing event_priv and trigger_priv as grant types

Re: [Puppet Users] manage_internal_file_permissions, /etc/sysconfig, and/or command line startup...

2010-07-28 Thread Christopher Johnston
Try using a bind mount instead of symlink Sent from my iPhone On Jul 27, 2010, at 6:48 PM, Tom wrote: > Okay, maybe I'm being dense...but I'm missing something here. > > First off, using puppet 2.6 on centos 5.5. > > I want to store /etc/puppet and /var/lib/puppet elsewhere...but have > symbo

Re: [Puppet Users] Catching failure with templates

2010-07-28 Thread Christopher Johnston
To solve your pathing issue you could create a define to autocomplete the path for you. Sent from my iPhone On Jul 27, 2010, at 11:24 AM, Rob McBroom wrote: > So, I’m using templates for the first time and I wanted to test the case > where the values used by the template don’t exist. I get

[Puppet Users] render template

2010-07-29 Thread Christopher Johnston
Is there a way in puppet to make the client render a template from a module and have it spit the contents of the template to stdout or to a file so it can be looked at before deploying? -Chris -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

Re: [Puppet Users] Bootstrap

2010-08-02 Thread Christopher Johnston
Kinda crazy. It would be better to just build a custom embedded OS (pxe boot it), then have a script that kicks off on boot-up to configure the image then the other way around. That how I handle it at my company, stateless. On Sat, Jul 31, 2010 at 5:30 AM, parag kale wrote: > Hey, > I want the

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Christopher Johnston
Can you paste gem list? On Mon, Aug 2, 2010 at 1:17 PM, Russell Jackson wrote: > I'm having a hell of a time with mod_passenger. Where would I even begin > to investigate where this exception is coming from? My configuration > works fine with the 2.6.0 webrick server. > > > [Thu Jul 29 18:03:00

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Christopher Johnston
Looks good from what I can tell, did you setup the config.ru? On Mon, Aug 2, 2010 at 1:25 PM, Russell Jackson wrote: > On 08/02/2010 10:26 AM, Christopher Johnston wrote: > > Can you paste gem list? > > # gem list > > *** LOCAL GEMS *** > > actionmailer

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Christopher Johnston
I have not played with 2.6.0 yet, but I do have it working fine with .25 just fine. On Mon, Aug 2, 2010 at 1:38 PM, Russell Jackson wrote: > On 08/02/2010 10:35 AM, Christopher Johnston wrote: > > Looks good from what I can tell, did you setup the config.ru? > > > > Can I t

[Puppet Users] variable confusion

2010-08-09 Thread Christopher Johnston
Why can't variables be reassigned with a setup like this? node /.*mydomain.com/ { import mydomain.pp } node /*.yourdomain.com/ { import yourdomain.pp } In manifest mydomain.pp and yourdomain.pp I have variables that are specific to that site that I want to import only for that site (ie, dns_

Re: [Puppet Users] Re: Push changes to clients

2010-08-13 Thread Christopher Johnston
listen = true ignoreschedules = true Cant you just use those two options to allow puppetruns to work and not have the client attempt to do updates? On Fri, Aug 13, 2010 at 6:44 AM, matonb wrote: > Is there a puppet.conf equivalent to --no-client ? > > All the nodes are RHEL a

[Puppet Users] Question about types and using a default/inherited value

2010-08-13 Thread Christopher Johnston
I have some types like below that have about 10 files or directories in a single type to keep my manifests looking clean and easier to maintain. Since some of them all use the same options (user, group, mode, etc) with the same values is there a way to set them globally once and have all of them ge

Re: [Puppet Users] Re: Push changes to clients

2010-08-17 Thread Christopher Johnston
Wont that also ignore the scheduled 30min runs? I believe thats what Craig wanted if I'm not mistaken. Sent from my iPhone On Aug 13, 2010, at 1:32 PM, Patrick Mohr wrote: > > On Aug 13, 2010, at 7:21 AM, Christopher Johnston wrote: >> ignoreschedules = true > >

Re: [Puppet Users] Debugging errors with external nodes

2010-08-20 Thread Christopher Johnston
Do you have a defaut node in nodes.pp? Sent from my iPhone On Aug 20, 2010, at 5:18 PM, Douglas Garstang wrote: > How do I debug errors with external nodes? When my client connects, > the following appears on the puppetmaster when running in debug mode. > It's not feasible to always be runnin

Re: [Puppet Users] Parsing yaml report locallly

2010-08-22 Thread Christopher Johnston
Great idea Sent from my iPhone On Aug 22, 2010, at 9:58 AM, "R.I.Pienaar" wrote: > hello, > > - "Chris" wrote: > >> Hi >> >> Is there a way to parse the yaml reports on locally on the puppet >> clients. What I'd like to offer our sysadmins is a command that will >> give them some info w

[Puppet Users] Facter ignores interfaces with non eth names

2010-10-04 Thread Christopher Johnston
Does facter support NICs that are not named ethX? I happen to use custom names on my systems. Just a quick look at the code I don't see why it wouldn't but the behavior I am seeing is very different. -- You received this message because you are subscribed to the Google Groups "Puppet Users" gro

Re: [Puppet Users] Facter ignores interfaces with non eth names

2010-10-04 Thread Christopher Johnston
I am using 1.58, I see the issue though. I have interfaces called wan and lan without a \d+ at the end. Looks they are getting skipped. I will play with the regex to see whats up. On Mon, Oct 4, 2010 at 5:50 PM, Gary Law wrote: > On 4 October 2010 22:35, Christopher Johnston wrote: >

Re: [Puppet Users] Facter ignores interfaces with non eth names

2010-10-05 Thread Christopher Johnston
PM, Christopher Johnston wrote: > >> Does facter support NICs that are not named ethX? I happen to use custom >> names on my systems. Just a quick look at the code I don't see why it >> wouldn't but the behavior I am seeing is very different. -- >> >

Re: [Puppet Users] Facter ignores interfaces with non eth names

2010-10-05 Thread Christopher Johnston
q end def self.get_all_interface_output On Tue, Oct 5, 2010 at 9:37 AM, Christopher Johnston wrote: > Yes, but by X you mean they are represented with a digit? I have systems > that do not have interfaces represented with the name and then a digit (WAN, > LAN, BACKUP, etc). The regex looks to

[Puppet Users] config_version

2010-12-07 Thread Christopher Johnston
So I got this working by calling an external script to run a git rev-parse and to dump the current revision, looks like it works. But I think what is of value here is to be able to see what the individual hosts current config_version is currently at since its last run. This is useful to determine

Re: [Puppet Users] config_version

2010-12-07 Thread Christopher Johnston
On Tue, Dec 7, 2010 at 2:22 PM, Ohad Levy wrote: > AFAIK, its also a fact, which makes it really easy to report with Foreman. > > Ohad > > On Tue, Dec 7, 2010 at 8:41 PM, Christopher Johnston > wrote: > >> So I got this working by calling an external script to run a

[Puppet Users] Templates and loops..

2009-11-22 Thread Christopher Johnston
How come this doesnt work? I write this in a normal ruby script it works just fine. <% for cpu in (0..processorcount) %> I want to loop through the number of processor so a specific action can be taken to generate content for a file. I get an error on the master of: bad value for range at /etc

Re: [Puppet Users] Templates and loops..

2009-11-23 Thread Christopher Johnston
r1 => Intel(R) Xeon(R) CPU X5570 @ 2.93GHz processor2 => Intel(R) Xeon(R) CPU X5570 @ 2.93GHz processor3 => Intel(R) Xeon(R) CPU X5570 @ 2.93GHz processorcount => 4 On Mon, Nov 23, 2009 at 5:11 AM, Julian Simpson wrote: > 2009/11/19 Christopher John

Re: [Puppet Users] Usage of "schedule"

2009-11-23 Thread Christopher Johnston
I would like to schedule puppet to only run EVERYTHING once a day at a specific time, what would be the best approach to do that? -Chris On Mon, Nov 23, 2009 at 9:21 AM, Thomas Bellman wrote: > mk wrote: > > > What I want to do is puppet client( puppetd ) tries to syncronize /etc/ > > hosts per

Re: [Puppet Users] Templates and loops..

2009-11-23 Thread Christopher Johnston
number). -Chris On Mon, Nov 23, 2009 at 5:35 PM, Julian Simpson wrote: > 2009/11/23 Christopher Johnston : > > Its definitely there.. I even put a <%= processorcount %> to make sure > the > > variable is set. > > <% processorcount.to_i-1 %> > > <% for cpu

Re: [Puppet Users] Templates and loops..

2009-11-25 Thread Christopher Johnston
gt; <% for cpu in (0..processorcount.to_i) %> > <%= cpu %> > <%end%> > > <% processorcount.to_i.times do |cpu| %> > <%= cpu %> > <%end%> > > Ohad > > > > On Thu, Nov 19, 2009 at 11:22 PM, Christopher Johnston > wrote: > >> How come th

Re: [Puppet Users] Templates and loops..

2009-11-25 Thread Christopher Johnston
Ignore me, I had a typo. I had put the parentheses around (0..(processorcount.to_i-1) but I forgot the closing ')' -Chris On Wed, Nov 25, 2009 at 11:30 AM, Peter Meier wrote: > > ah! I am still learning ruby here so appreciate the time spent to show > me > > this. > > > > Shouldn't this also

[Puppet Users] Service Type Question

2009-12-02 Thread Christopher Johnston
When the service type runs, is it possible to have it forceful shutdown a service if the process name does not match the pattern? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com.

Re: [Puppet Users] Best practice for modules used for multiple environments

2009-12-10 Thread Christopher Johnston
I do this exactly the same way, we just use the domainname fact and match that to the site. All really depends on the environment of course. Works perfectly, one thing you might want to stick is a default at the bottom which either provides a failsafe set of attributes and/or fails so you can pic

Re: [Puppet Users] Config variables in templates

2010-01-12 Thread Christopher Johnston
I believe the variables are pulled in from your puppet configs and/or facts only. I don't believe the values in puppet.conf are used. Correct me if I am wrong though. -Chris On Tue, Jan 12, 2010 at 12:24 PM, JL wrote: > Is it possible to use configuration variables in templates? For > exampl

Re: [Puppet Users] Re: Config variables in templates

2010-01-12 Thread Christopher Johnston
Ok cool! That will come in handy. Sent from my iPhone On Jan 12, 2010, at 12:56 PM, JL wrote: Never mind, that's what I was looking for Trevor, thanks. On Jan 12, 12:56 pm, JL wrote: I was hoping there was a way to do it with ruby, but I am just learning the language. I know that "puppet

[Puppet Users] creating directories

2010-01-12 Thread Christopher Johnston
What is the best way to have puppet create (mkdir) directories? I am currently using exec types, but is it possible to use a file type for this? -Chris -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet

Re: [Puppet Users] creating directories

2010-01-12 Thread Christopher Johnston
; > > On Tue, Jan 12, 2010 at 4:34 PM, Christopher Johnston > wrote: > > What is the best way to have puppet create (mkdir) directories? I am > > currently using exec types, but is it possible to use a file type for > this? > > -Chris > > -- > > You received

Re: [Puppet Users] hosts update trouble

2010-01-22 Thread Christopher Johnston
How do you disable autorun? Sent from my iPhone On Jan 22, 2010, at 3:29 PM, Carl Caum wrote: I've run in to the same problem. I've started to solve this problem by getting rid of puppetmasters and puppetd. Instead I'm building a new management tool called Puppeteer. I'm almost ready to

Re: [Puppet Users] hosts update trouble

2010-01-25 Thread Christopher Johnston
set > > listen = true > > and that will disable runs and just run when triggered by authorized nodes. > Others will know more about that than me. Anyone care to jump in? > > On Jan 22, 2010, at 7:14 PM, Christopher Johnston wrote: > > > How do you disable autorun?

Re: [Puppet Users] hosts update trouble

2010-01-26 Thread Christopher Johnston
Confused, does puppetrun require webrick or mongrel (please say no). # puppetrun --host labhost --ping --foreground --debug Failed to load ruby LDAP library. LDAP functionality will not be available debug: Parsing /etc/puppet/puppet.conf debug: Puppet::Network::Client::Runner: defining puppetrunne

Re: [Puppet Users] New employee: Michael DeHaan

2010-02-01 Thread Christopher Johnston
Welcome Mike, glad to see you are on board. -Chris On Mon, Feb 1, 2010 at 5:04 PM, Luke Kanies wrote: > Hello everyone, > > We're very excited to announce that Michael DeHaan, the founder of the > Cobbler project, has joined Reductive Labs, starting today: > > Michael lives in Raleigh, North Ca

Re: [Puppet Users] Cascaded conditionals possible ?

2010-02-16 Thread Christopher Johnston
I found it easier to create a detector based recipe which applied usable variables/arrays then passed them down into a template. Sent from my iPhone On Feb 16, 2010, at 7:05 AM, Trevor Vaughan wrote: I haven't tried it that way, but it would seem that that wouldn't work to me. It does

Re: [Puppet Users] Cascaded conditionals possible ?

2010-02-16 Thread Christopher Johnston
['10.2.38.11','10.128.38.20'] } > } > >resolv_conf { "location_based_resolv": >domainname => "$domain", >searchpath => [$domain], > nameservers => $nameserv, >} > } &

[Puppet Users] dependencies

2010-03-09 Thread Christopher Johnston
I am noticing sometimes I have to do 2 puppet runs to get all dependencies to fully satisfy and for my system to configure itself at boot time. Most of my environment is completely stateless so its important that everything gets configured at runtime (I am currently doing puppet --test at boot up

  1   2   >