Re: [Puppet Users] How-To Question: Installing a service that does not come in an RPM ?

2011-10-18 Thread Nathan Clemons
The one thing that I'll mention is that you want to use hasstatus = true whenever possible, I've found, at least on older versions of Puppet (0.25.x). Sometimes the logic it tries to use otherwise doesn't quite work, but using the /etc/init.d/servicename status check seems to work fine. -- Nathan

Re: [Puppet Users] How-To Question: Installing a service that does not come in an RPM ?

2011-10-18 Thread Nathan Clemons
appropriately. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Tue, Oct 18, 2011 at 6:11 PM, Dan White y...@comcast.net wrote: Thanks for the opinion. I understand your concern, but I have a need to do exactly that. Making a long story short

Re: [Puppet Users] file server not right directory?

2011-10-12 Thread Nathan Clemons
/mysql] } -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Wed, Oct 12, 2011 at 2:49 PM, olympus stance olympus.sta...@gmail.comwrote: Hi Jacob, My init.pp file is a symbolic link to the mysql-server.pp in the classes directory. It looks

Re: [Puppet Users]

2011-09-29 Thread Nathan Clemons
in mind. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Thu, Sep 29, 2011 at 7:05 AM, Mark Ardiente mark_k...@yahoo.com wrote: http://biggerbras.ca/store/site.php?html50 -- You received this message because you are subscribed to the Google

Re: [Puppet Users] fighting packaging

2011-08-12 Thread Nathan Clemons
Isn't there an adminfile option to the package resource that will let you pass responses as if it were an interactive session? Not sure if it's supported for the apt provider, but worth looking into if you haven't already. -- Nathan Clemons http://www.livemocha.com The worlds largest online

Re: [Puppet Users] Re: Managing sudo via puppet using #includedir

2011-08-01 Thread Nathan Clemons
These are the perms we're using for that functionality: dr-xr-x--- 2 root root 4096 Jul 7 18:09 /etc/sudoers.d -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Mon, Aug 1, 2011 at 2:49 PM, treydock treyd...@gmail.com wrote: From the sudoer

Re: [Puppet Users] require = Class

2011-06-30 Thread Nathan Clemons
Are both of the .pp files being imported in site.pp / init.pp? -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Thu, Jun 30, 2011 at 5:19 PM, brijesh bridgepa...@gmail.com wrote: Hi I have been trying to use class dependency and had

Re: [Puppet Users] Puppet client do-overs

2011-06-30 Thread Nathan Clemons
What problem do you have with puppetstoreconfigclean.rb? The problem I usually have is that I forget it has to be run as root on the puppetmaster, I keep thinking I need to run it on the client machine. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning

Re: [Puppet Users] struggling with precedence/declarative language

2011-06-28 Thread Nathan Clemons
Did the error change, at least? If so, can you post the new error? -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Tue, Jun 28, 2011 at 11:23 AM, Craig White craig.wh...@ttiltd.comwrote: On Jun 28, 2011, at 11:14 AM, Cosimo Streppone wrote

Re: [Puppet Users] Re: Different users within same exec

2011-06-26 Thread Nathan Clemons
I agree with Daniel... if USER 1 is creating FOLDER 1 which is owned by root... why is COMMAND 1 not being run by the user root? -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Sun, Jun 26, 2011 at 11:01 AM, ssk1287 kulkarni.swar

Re: [Puppet Users] Turn off client autoupdate

2011-06-24 Thread Nathan Clemons
of switching over to using MCollective to trigger Puppet runs. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, Jun 24, 2011 at 1:47 AM, Sergey V. Arlashin sergey...@gmail.comwrote: By default puppet node connects to server periodically

Re: [Puppet Users] ssh_authorized_key and NIS user

2011-06-24 Thread Nathan Clemons
I'm wondering if the User provider has the capability to look up accounts via NIS. It's been a long time since I've used NIS, however, so I don't know if this is the problem for sure. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, Jun

Re: [Puppet Users] Turn off client autoupdate

2011-06-24 Thread Nathan Clemons
Under 0.25, we do puppet --onetime --no-daemonize. I'm not sure if that syntax changed in 2.6.x and above. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, Jun 24, 2011 at 7:14 AM, sergey sergey...@gmail.com wrote: And how

Re: [Puppet Users] Enable yum repositories as needed

2011-06-24 Thread Nathan Clemons
There's an open bug concerning this very issue, in regards to being able to specify which repos to use when installing an rpm using the package resource. http://projects.puppetlabs.com/issues/2247 -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community

Re: [Puppet Users] Different users within same exec

2011-06-24 Thread Nathan Clemons
Use su -c cmd user? -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, Jun 24, 2011 at 3:06 PM, ssk1287 kulkarni.swar...@gmail.com wrote: I have the following exec in my manifest : exec { some_exec: path = [ /bin,/usr/bin,/usr/local

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

2011-06-17 Thread Nathan Clemons
I could be wrong, as I'm still on 0.25 myself, but I think you want the --waitforcert seconds option. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, Jun 17, 2011 at 5:49 AM, TJ Yang tjyang2...@gmail.com wrote: How do I initiate

Re: [Puppet Users] Problem in wordpress moodule.

2011-06-17 Thread Nathan Clemons
Simple question, but does wordpress.tar.gz exist in /var/www/ ? I would expect that you would want your tar exec to depend on whatever is deploying the wordpress tar.gz file (another Exec or a File resource), so that you know it's there before you try to use it. -- Nathan Clemons http

Re: [Puppet Users] Re: Puppet recipe to copy and execute a shell file

2011-06-17 Thread Nathan Clemons
You want: file { blah: ... } exec {blah2: ... require = File['blah'] } That way you ensure the file is created before you try to run the exec. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, Jun 17, 2011 at 10:43 AM, Annie Rana

Re: [Puppet Users] puppet CA expired

2011-06-16 Thread Nathan Clemons
What's the length of time on the CA cert? -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Thu, Jun 16, 2011 at 10:40 AM, Jacob Helwig ja...@puppetlabs.com wrote: On Tue, 14 Jun 2011 17:01:20 +0200, j...@squirk.org wrote: hi, my

Re: [Puppet Users] puppet CA expired

2011-06-16 Thread Nathan Clemons
Thanks. I think having to go out across the board once every 5 years is quite acceptable, although advance warning from the master that it's going to happen would definitely be a good thing. Jean: Kudos to running Puppet for 5 years! :) -- Nathan Clemons http://www.livemocha.com The worlds

Re: [Puppet Users] functions and environments

2011-06-16 Thread Nathan Clemons
. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Thu, Jun 16, 2011 at 12:42 PM, Aaron Grewell aaron.grew...@gmail.comwrote: If you want your environments to never be able to affect one another then your module paths should not contain any

Re: [Puppet Users] array in template

2011-06-15 Thread Nathan Clemons
:~$ -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Wed, Jun 15, 2011 at 5:35 AM, romuald FREBAULT kurgan...@gmail.comwrote: thanks for your answer, i finally wrote % if architecture == i386 % stuff %else% stuff %end% 2011/6/14 Ken

Re: [Puppet Users] puppet clients

2011-06-14 Thread Nathan Clemons
the pieces fit together. http://www.apress.com/catalogsearch/result/?q=puppetsubmit=Go -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Tue, Jun 14, 2011 at 10:02 AM, Craig White craig.wh...@ttiltd.comwrote: On Jun 14, 2011, at 9:35 AM

Re: [Puppet Users] Creating Users and Hashing it's password.

2011-06-08 Thread Nathan Clemons
What I do is set the password on one host, and then copy the hash out of /etc/shadow into the Puppet definition to be set on the other hosts. By default the Puppet providers expect that the password field will be hashed as used on the system, not plaintext. -- Nathan Clemons http

Re: [Puppet Users] backup files whith bad arborescence

2011-06-03 Thread Nathan Clemons
I think this is done because file systems can bog down with too many files (or directories) inside one directory. By breaking down the hierarchy like they do, they help keep performance optimal. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community

Re: [Puppet Users] How do I enable repositories and install packages

2011-06-01 Thread Nathan Clemons
. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Wed, Jun 1, 2011 at 9:19 AM, hyzhang hyzh...@jcvi.org wrote: Hi, My shell script is as below. How do I translate them to puppet language? I think I can use exec directly. But is there a better way

Re: [Puppet Users] Re: Open Source Team planning meeting summary

2011-06-01 Thread Nathan Clemons
I'd suggest looking into http://projects.puppetlabs.com/issues/3238 if you have a chance. It's been open a long time and is an inconvenience when using stored configs. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Tue, May 31, 2011 at 5:08

Re: [Puppet Users] enabling of 'thin_storeconfigs'

2011-05-25 Thread Nathan Clemons
everything's been working fine so I've been holding off. Will I need to rewrite parts of my config? (I'm not doing much fancy, mostly user/service/package/file management with a side of Nagios.) -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Wed

Re: [Puppet Users] Client updates

2011-05-25 Thread Nathan Clemons
Mcollective with mc-puppet should work if you patch it to not daemonize (you'll need to adjust the timeouts as well, of course). Errors running will bubble up to the list of nodes that failed the run. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community

Re: [Puppet Users] Client updates

2011-05-25 Thread Nathan Clemons
Mcollective hides successes and only shows you failures, keeping the signal to noise ratio very high. If you run puppet without daemonizing, anything that causes the config to not be applied successfully is going to show up as an error. -- Nathan Clemons http://www.livemocha.com The worlds

Re: [Puppet Users] Client updates

2011-05-25 Thread Nathan Clemons
It depends on how you use it. In our environment, we don't leave the Puppet daemon running. We only do on-demand runs... that way changes only happen when we push them out. Your mileage obviously may vary, but if you're looking for tight control, that's something to consider. -- Nathan Clemons

Re: [Puppet Users] Re: Puppetmaster leaving files open with too many files open error

2011-05-24 Thread Nathan Clemons
be managing as many hosts via Puppet as they do without being affected by a bug like this, unless they're not using stored configs (which would surprise me). -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Tue, May 24, 2011 at 2:42 PM, Todd

Re: [Puppet Users] installing puppet client

2011-05-24 Thread Nathan Clemons
to see all of the output, even if it takes longer without parallelization). -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Tue, May 24, 2011 at 4:03 PM, John Warburton jwarbur...@gmail.comwrote: On 24 May 2011 23:55, CHEBRIAN ksd@gmail.com

Re: [Puppet Users] How can i copy a directory

2011-05-23 Thread Nathan Clemons
Try looking into the recurse = true parameter. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Mon, May 23, 2011 at 3:05 AM, Sumith Sudhakaran sumit...@gmail.comwrote: HI How can i copy a directory from puppet master to client I have

Re: [Puppet Users] Abstracting filebucket source?

2011-05-17 Thread Nathan Clemons
That did the trick perfectly. I thought you always had to specify the puppet server in the puppet URL, I didn't realize you could leave that off and have it autodetected. Thank you! -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Tue, May 17

[Puppet Users] Abstracting filebucket source?

2011-05-16 Thread Nathan Clemons
? Thanks! -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community -- 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