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 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 wrote: > How do I initiate a certificate request

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

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

Re: [Puppet Users] Re: facter + ssh = tput errors

2011-06-23 Thread Nathan Clemons
Sounds like a bug with facter handling headless running where a TTY is not allocated (thus the error about $TERM not being set). -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Thu, Jun 23, 2011 at 7:56 PM, josbal wrote: > Hi Den, >

Re: [Puppet Users] Turn off client autoupdate

2011-06-24 Thread Nathan Clemons
ss 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 wrote: > By default puppet node connects to server periodically and looks if &g

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 comm

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 wrote: > And how is it poss

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 comm

Re: [Puppet Users] Different users within same exec

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

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 wrote: > Consider

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

2011-06-28 Thread Nathan Clemons
I believe the error is saying that using: mode=> 755, inside the exec doesn't make sense. It's not a file resource, exec doesn't specify a mode. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Tue, Jun 28, 2011

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 wrote: > > On Jun 28, 2011, at 11:14 AM, Cosimo Streppone wrote: > >

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 wrote: > Hi > > I have been trying to use class dependency and had no lu

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] 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 wrote: > From the sudoer

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

Re: [Puppet Users]

2011-09-29 Thread Nathan Clemons
you guys have some plans 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 wrote: > http://biggerbras.ca/store/site.php?html50 > > -- > You received this message because yo

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

2011-10-12 Thread Nathan Clemons
=> "mysql", mode => 644, notify => Service["mysql"], require => File["/etc/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 wrote: >

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/ status"

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

2011-10-18 Thread Nathan Clemons
class 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 wrote: > Thanks for the opinion. > I understand your concern, but I have a need to do exactly that. > > Making a long story sh

[Puppet Users] Abstracting filebucket source?

2011-05-16 Thread Nathan Clemons
ically from inside the manifests? 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@googl

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, M

Re: [Puppet Users] autosign by hostname not working?

2011-05-19 Thread Nathan Clemons
Why not just sign them manually with puppetca --list and if nothing suspicious shows up, puppetca --sign --all? I'm not sure it makes sense to autosign a list of hosts instead of everything from a domain when you can sign things on a host by host basis and sign requests in bulk. -- N

Re: [Puppet Users] PC EU feedback: exported resource syntax is too magical, hard to read

2011-05-21 Thread Nathan Clemons
I would prefer the verbose form as it definitely is much easier to read. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, May 20, 2011 at 1:24 PM, Randall Hansen wrote: > http://projects.puppetlabs.com/issues/7612 > > The

Re: [Puppet Users] PC EU feedback: long online docs pages should be broken up

2011-05-21 Thread Nathan Clemons
I don't think the issue is necessarily that it's all on one page, the hard part for me is that one section bleeds into the next section. It's hard to tell where one leaves off and the next one starts. Some form of break between sections would make it much more readable. -- Nath

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

2011-05-21 Thread Nathan Clemons
I'm pretty sure there is an open bug on this, I was looking around on this the other day. It's related to using stored configs and Puppet/ruby not closing the connections to the database servers. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning

Re: [Puppet Users] PC EU feedback: virtual resource operator is too magical, hard to read

2011-05-21 Thread Nathan Clemons
Verbosity is preferred for readability. +1 -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, May 20, 2011 at 1:20 PM, Randall Hansen wrote: > http://projects.puppetlabs.com/issues/7605 > > The virtual resource operator: >

Re: [Puppet Users] PC EU feedback: spaceship operator too magical, hard to read

2011-05-21 Thread Nathan Clemons
I am very much in favor of this. The current spaceship operator is just confusing, hands down. collect and search would be much nicer. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, May 20, 2011 at 1:20 PM, Randall Hansen wrote: > h

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 wrote: > HI > > How can i copy a directory from puppet master to client > >

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

2011-05-24 Thread Nathan Clemons
an 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:4

Re: [Puppet Users] installing puppet client

2011-05-24 Thread Nathan Clemons
es it's nice 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 wrote: > On 24 May 2011 23:55, CHEBRIAN wrote: >

Re: [Puppet Users] enabling of 'thin_storeconfigs'

2011-05-25 Thread Nathan Clemons
part 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

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 comm

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. --

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

2011-06-01 Thread Nathan Clemons
exec. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Wed, Jun 1, 2011 at 9:19 AM, hyzhang 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

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, 20

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 On

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] puppet clients

2011-06-14 Thread Nathan Clemons
ws how all the pieces fit together. http://www.apress.com/catalogsearch/result/?q=puppet&submit=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 wrote: > > On Jun 14, 2011, at 9:35 A

Re: [Puppet Users] array in template

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

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 wrote: > On Tue, 14 Jun 2011 17:01:20 +0200, j...@squirk.org wrote: > > > > hi, &g

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 w

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 wrote: > If you want your environments to never be able to affect one another then > your module paths should not contain any common direc