[Puppet Users] Bind9 & Ubuntu Lucid

2011-08-31 Thread Steven VanDevender
Craig White writes: > Seems that every cycle, puppet thinks that bind9 service is stopped and > wants to restart... > > info: Applying configuration version '1314822598' > notice: /Stage[main]/Bind::Service/Service[bind9]/ensure: ensure changed > 'stopped' to 'running' > notice: Finished

Re: [Puppet Users] Updating /etc/puppet ?

2011-09-01 Thread Steven VanDevender
Aaron Grewell writes: > Technically true, but administratively confusing IMHO. We put our all our Puppet data (but not the puppetmaster config) in a Subversion repository. Everyone does editing in their own working copy checked out from that Subversion repository. Commits to the repository trig

Re: [Puppet Users] Updating /etc/puppet ?

2011-09-01 Thread Steven VanDevender
Douglas Garstang writes: > Was that in reply to my original post, or a subsequent reply? You did see > where I said /etc/puppet was a working copy, right? It sounds like you need to get to the point where no one does their edits under /etc/puppet on the puppetmaster, because you're obviously run

Re: [Puppet Users] Updating /etc/puppet ?

2011-09-01 Thread Steven VanDevender
Douglas Garstang writes: > On Thu, Sep 1, 2011 at 1:35 PM, Steven VanDevender wrote: > > > Douglas Garstang writes: > > > Was that in reply to my original post, or a subsequent reply? You did > > see > > > where I said /etc/puppet was a working copy,

Re: [Puppet Users] Yum questions

2011-11-04 Thread Steven VanDevender
Sam Roza writes: > So I use createrepo to make a local repo somewhere-for instance, the puppet > server-and then use that to do the install? If you are reluctant to create a local yum repository (maybe you don't have many custom packages) you can just source a package from a web server or the li

[Puppet Users] Mounting Swap

2011-11-04 Thread Steven VanDevender
Douglas Garstang writes: > All, > > Trying to mount swap. Using: > > mount { > 'swap': > device => '/dev/xvdq1', > atboot => true, > ensure => mounted, > fstype => 'swap', > options => 'defaults'; > } > > This is g

Re: [Puppet Users] is puppet the right tool for me?

2010-04-09 Thread Steven VanDevender
Daniel Pittman writes: > Dmitry V'yal writes: > > Evan Hisey wrote: > >> You forgot a biggy bonus of puppet, no matter what size you support. I > >> have several small ( as in 1-3) groups of very different machines, > >> and with puppet I can rebuild them very quickly on when they need to >

[Puppet Users] mount order

2010-04-13 Thread Steven VanDevender
ed-rfmd writes: > Is there a way to control the order of the mounts? > We have a few second level directories in /a that need to mount after / > a is mounted but it appears that /a is being mounted after /a/1 and /a/ > 2. If I do a manual mount -a everything is accessible. Sounds like you need

[Puppet Users] Using a set of recipes to build stuff from source...

2010-05-19 Thread Steven VanDevender
Peter Berghold writes: > Hi folks, > > I'm a newbie to this wonderful tool called puppet and so far I'm loving it. > > One of the first set of recipes (classes?) I wrote for my environment was to > build some packages from source and install them. Stuff like apache httpd, > nagios and othe

Re: [Puppet Users] Re: External Nodes

2010-05-20 Thread Steven VanDevender
Douglas Garstang writes: > On Fri, May 14, 2010 at 1:38 PM, Paul Lathrop wrote: > > You are getting a bunch of misguided answers to this. I'm also > > perplexed by your assertion that external nodes requires you to write > > custom scripts to parse node manifests. > > > > No, you cannot put

Re: [Puppet Users] Re: External Nodes

2010-05-20 Thread Steven VanDevender
Douglas Garstang writes: > > classes: [ ] > > parameters: { } > > > > So if you need different Apache versions on two different nodes, your > > node classifier could supply this for node1: > > > > classes: [ apache-server ] > > parameters: { apache_version=2.0.63 } > > > > and this for

Re: [Puppet Users] More External Nodes

2010-05-21 Thread Steven VanDevender
Douglas Garstang writes: > On Thu, May 20, 2010 at 10:06 PM, Paul Lathrop > wrote: > > If you don't see a use, don't use the feature. However, when you have > > an issue and people suggest external nodes is the answer, you might > > consider listening. > > Paul, I initially asked about a

[Puppet Users] which is more efficient?

2010-06-30 Thread Steven VanDevender
Marcus, Allan B writes: > We need to put a script into /usr/local/bin. Which is more efficient, > put the text into a variable and use content =>, or put the file on > the puppetmaster server and use source => Why do you care about the efficiency of this? It's more important to make things eas

[Puppet Users] First boot with Puppet

2010-10-14 Thread Steven VanDevender
Michal Ludvig writes: > Hi guys, > > I'm installing Puppet on RHEL5 systems using KickStart but struggle with > the first boot. > > Here's my situation: > 1) kickstart installs the system, including puppet from our local repo > 2) after reboot I have to login and set the hostname and I

[Puppet Users] Re: best way of handling source installs

2011-03-01 Thread Steven VanDevender
russell.fulton writes: > I know this and agree with it in principle. It is just that at the > moment I am extremely hard > pressed and really don't have the time to work my way through figuring > out how to build rpms > from scratch. The package Daniel pointed out looks very promising in >

Re: [Puppet Users] Re: best way of handling source installs

2011-03-02 Thread Steven VanDevender
Dr. Ed Morbius writes: > While you're considering providers, another case we encounter fairly > frequently are just general crap ISV or HW vendor-provided blob shell > installers. Usually a self-unpacking shell script, which may itself > include various internal packaging formats (tarballs, RP

Re: [Puppet Users] Re: best way of handling source installs

2011-03-02 Thread Steven VanDevender
Dr. Ed Morbius writes: > In the specific pathological case I'm thinking of (Dell's iSCSI > management tools), the net end result is rather poorly defined and spans > a significant chunk of the filesystem -- mostly under /opt/dell, but > some stray (and largely undocumented) bits, mostly under /

[Puppet Users] exec : creates parameter does not create the file

2009-06-26 Thread Steven VanDevender
Swati Tiwari writes: > Hello guys, > > I am facing this problem. I have an exec resource which has a create > parameter. The catalog runs properly but the file is not created, has anyone > faced such a problem? > My manifest is > > class example > { > exec { "sources": >

[Puppet Users] external nodes and environments

2009-08-07 Thread Steven VanDevender
I'd like to extend our Puppet installation to support split production and development environments. We're using Subversion to manage Puppet configurations and already have the recommended /etc/puppet layout to handle a separate development branch. What I'd like to do is have a centralized sourc

[Puppet Users] Best Practices Rewrite - First Draft

2009-10-12 Thread Steven VanDevender
Julian Simpson writes: > I swear people who use Puppet are more fertile. Congratulations, Paul! Or at least using Puppet frees up time for side projects. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Use

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread Steven VanDevender
Michael T. Halligan writes: > I think what Doug is trying to ask is, how the hell do we make sure > that resources get applied in a predictable order? Use "require" or "before". That's why they're in Puppet. -- You received this message because you are subscribed to the Google Groups "Pup

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread Steven VanDevender
Paul Lathrop writes: > 2) Why does puppet manage dependencies the way it does? > 3) How can I keep dependencies manageable? > > The answer to #2 is more complicated, and has been hashed over before > on the list, but I'll comment that some people just don't like the > dependency model in pup

Re: [Puppet Users] How to read client certificate's CN

2009-12-01 Thread Steven VanDevender
Miguel Armas writes: > 2009/12/1 Ohad Levy : > > Hi, > > > > Why not use cobbler external nodes feature to avoid all of this all > > together > > Because right now only some nodes will use cobbler, I already have > >250 hosts and I don't want to change all my setup We recently set up Cob

Re: [Puppet Users] Timestamps need to be in sync on all puppetmasters?

2009-12-08 Thread Steven VanDevender
Tony G. writes: > They are supposed to have GMT: In these modern times UTC is generally a better universal standard than GMT. > But the timezone file in */etc/localtime* is the same on them: > md5sum /usr/share/zoneinfo/* 2>/dev/null|grep $(md5sum /etc/localtime|cut > -d" " -f1) > fcccbcf95

Re: [Puppet Users] Configuring Networking

2009-12-15 Thread Steven VanDevender
Douglas Garstang writes: > On Tue, Dec 15, 2009 at 3:47 PM, Peter Meier wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > >> First question... are definitions executed in the order they appear? > > > > puppet doesn't execute anything. it manages resources and defines are >

[Puppet Users] capacity planning with puppet.

2010-02-18 Thread Steven VanDevender
R P Herrold writes: > On Thu, 18 Feb 2010, Nigel Kersten wrote: > > > How, if at all, do any of you do capacity planning with Puppet? > > somewhat orthogonal to the question, but after reading this > piece: > http://www.usenix.org/publications/login/2010-02/pdfs/bjorgeengen.pdf > at

Re: [Puppet Users] exec -> creates question

2010-03-04 Thread Steven VanDevender
Pete Emerson writes: > If you don't care about the contents of the file, just whether it's > there or not: > > unless => "/usr/bin/file MYFILE" > > or > > unless => "/usr/bin/stat MYFILE" > > or > > unless => "/bin/ls MYFILE" > > should all be pretty lightweight Actually, if al

[Puppet Users] troubleshooting quiet puppet client

2010-03-11 Thread Steven VanDevender
chalex writes: > # puppetmasterd --version > 0.24.7 > > # puppetd --version > 0.25.4 > > Just upgraded that puppetd client, and now it doesn't do anything: Upgrade the puppetmaster before upgrading any puppet clients. -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Quiesce Puppet?

2010-03-19 Thread Steven VanDevender
Douglas Garstang writes: > On Fri, Mar 19, 2010 at 2:33 PM, Alan Sparks > wrote: > > Douglas Garstang wrote: > >> Is there a way to quiesce the puppet daemon, such that it stays > >> running, but does not run updates, until instructed again to do so? > >> > >> We have puppet deploying our

Re: [Puppet Users] Quiesce Puppet?

2010-03-19 Thread Steven VanDevender
Douglas Garstang writes: > On Fri, Mar 19, 2010 at 2:49 PM, Steven VanDevender > wrote: > > Douglas Garstang writes: > >  > On Fri, Mar 19, 2010 at 2:33 PM, Alan Sparks > > wrote: > >  > > Douglas Garstang wrote: > >  > >> Is there

Re: [Puppet Users] Inline include

2010-03-19 Thread Steven VanDevender
Douglas Garstang writes: > Thanks, but for the simple reason you can't revision control external > nodes, they are just not feasible. Wait, what? You can totally implement an external node classifier that takes its data from a version-controlled source. -- You received this message because yo

[Puppet Users] Replacing a puppet server

2010-03-31 Thread Steven VanDevender
LOhit writes: > Hi, > > Since puppet doesn't have HA/fail over capabilities as of now. How does one > mitigate a puppet master failure( Ex. Hardware). When you replace the server > and configure the Puppet masterd, the clients may no longer be able to > communicate with the server, since the

Re: [Puppet Users] New to Puppet -- why the puppet user

2012-11-26 Thread Steven VanDevender
Jerald Sheets writes: > Because standard systems administration practice is to rarely if ever > run anything at all as root. This practice, generally speaking, will > not pass ITIL, SOX, HIPAA, or PCI compliance auditing, and if > something like Puppet (which has complete run of your system) r

Re: [Puppet Users] New to Puppet -- why the puppet user

2012-11-26 Thread Steven VanDevender
st run in a dedicated user/group. The agents, however, need root access to do their jobs. Unfortunately I failed to notice that was a top-posted reply. Sorry. > On Mon, Nov 26, 2012 at 3:41 PM, Steven VanDevender > wrote: > > > Jerald Sheets writes: > > > Because standard

[Puppet Users] Install configs initially then stop managing those files

2008-10-21 Thread Steven VanDevender
TomTom writes: > > Hello All, > I am trying to build up some dev boxes. These boxes are obviously > very different from our other production/QA environments. > > I have a need to allow developers to configure certain config files > such as httpd.conf. What I need to do is have puppet pu

[Puppet Users] Anyone attending LISA 08 next week...?

2008-11-03 Thread Steven VanDevender
Juri Rischel Jensen writes: > Hi All > > Luke and I are attending LISA08 in San Diego next week. Are there any > other Puppeteers who are attending? Or living in the area and > interested in a meet-up with me and Luke...? I'll be at LISA. Is Luke planning on running a Puppet BOF as he

[Puppet Users] wildcards in file type?

2008-11-07 Thread Steven VanDevender
Paul Lathrop writes: > When a file in the directory changes, it will change the mtime of the > directory which will trigger an event on any resources which subscribe > to the directory. > > I have used this method a number of times to great success. The mtime on the directory won't change u

[Puppet Users] puppet 0.24.6 conf/redhat/client.init broken in RHEL versions < 5

2008-12-08 Thread Steven VanDevender
The conf/redhat/client.init script (installed in /etc/init.d) in 0.24.6 has this "status" method: status) status -p "$pidfile" $puppetd RETVAL=$? ;; Unfortunately the '-p "$pidfile"' option is available in Red Hat Server 5 but not earlier versions, where it produces an

[Puppet Users] Environment variable access inside an exec

2009-06-04 Thread Steven VanDevender
Brandon Whalen writes: > > I've spent some time looking at the example recipes and reading the docs on > a problem, but I'm still stumped. I'm trying to add some options to my fstab > and am finding some problems. I'm using the environment option to create an > environment variable MNT_OPTS

[Puppet Users] tweaking emacs puppet mode ?

2012-12-17 Thread Steven VanDevender
Philip Brown writes: > I enjoy the puppet mode that comes with emacs by default. > However... people in our organization prefer a slightly different formating > standard. > > Would anyone be able to tell me what tweaks I could put in my .emacs file, > to make it so that code gets autoforma

Re: [Puppet Users] tweaking emacs puppet mode ?

2012-12-17 Thread Steven VanDevender
Philip Brown writes: > > > On Monday, December 17, 2012 1:02:20 PM UTC-8, Steven VanDevender wrote: > > > > Philip Brown writes: > > > ... > > > So, one to change the tabstops thing, and one to make the closing brace > > > outdent

[Puppet Users] Selector within a resource -- location & syntax

2013-08-05 Thread Steven VanDevender
root writes: > > Can anyone tell me why this is legal: > > file { "/etc/cron.d": > owner => "root", > group => "root", > mode => $operatingsystem ? { >'Solaris' => "0755", >default => "0700", > } > } > > > .

[Puppet Users] Puppet calls the ENC twice for some nodes.

2013-09-09 Thread Steven VanDevender
pierra mathieu writes: > Hi everyone, > > I have an issue setting up Puppet with an ENC. > For some nodes, puppet calls my ENC twice with a 2 sec interval. Why is that a problem? Your ENC should always return the same data for the same node, and it should be efficient enough that it can be

Re: [Puppet Users] roll back update

2014-01-22 Thread Steven VanDevender
Jason Antman writes: > There's nothing existing that I know of that works in the GUI-based way > you seem to be talking about. Because, well, we *nix people usually > don't do that. > I've really only worked on RPM-based systems, so I'm not sure if this is > still applicable in the debian wor

[Puppet Users] run bash script from puppet

2014-08-06 Thread Steven VanDevender
Cathal O Mul writes: > i am new to puppet > I want to run a file called remove > This file removes a file > File remove > rm test101 > How do i get puppet to run this file ? In this specific case it would probably be better to use a Puppet "file" resource to perform the removal of the file:

[Puppet Users] scripts

2014-08-06 Thread Steven VanDevender
Cathal O Mul writes: > I have a file call pr.sh it is a scrip I would like puppet to run it > how would I go about doing this This is what Puppet "exec" resources are for, although one should use those sparingly and only if what you want to accomplish can't be done using some other resource type