[Puppet Users] Re: Incomplete documentation regarding master-side client cert generation?

2008-11-21 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Don Jackson wrote: > I believe that the following paragraph from the wiki is at best not > clear about this, if not downright incomplete: > > Master-Side Client Certificate Generation > It's possible to generate certificates for clients on th

[Puppet Users] Incomplete documentation regarding master-side client cert generation?

2008-11-21 Thread Don Jackson
Hello, I previously sent the email below describing a problem I was having with generating the certs on the master, and distributing them to the client right after OS installation. Further research and testing shows that in addition to transferring the private key and the cert to the new c

[Puppet Users] Re: create a file only if directory exists

2008-11-21 Thread Hang Chan
> Then you'll probably have to copy down the configuration file into a > separate location, and use an exec to cp it into the proper destination > with an onlyif test. That sounds like a good suggestion. Have to stop being so straightforward with my thinking. On Nov 21, 11:30 am, Mike Renfro <[

[Puppet Users] Re: create a file only if directory exists

2008-11-21 Thread Mike Renfro
On 11/21/2008 10:18 AM, Hang Chan wrote: > I looked through his definitions and it only checks if the proper > packages exists before setting up his configuration files. site.pp also includes an apache::site definition that can create or remove a configuration file depending on if you call the

[Puppet Users] Re: create a file only if directory exists

2008-11-21 Thread Hang Chan
I looked through his definitions and it only checks if the proper packages exists before setting up his configuration files. I need to check if the directory exists as a condition. I don't want to create the directory if it doesn't, as it is created manually right now and needs to stay that way

[Puppet Users] Re: create a file only if directory exists

2008-11-21 Thread Mike Renfro
Hang Chan wrote: > I don't need puppet to create the /var/www/html/site1 directory as > that is created manually. Want puppet to check If the /var/www/html/ > site1 directory exists and create the /apps/apache/conf.d/site1.conf > file if it does. Also need puppet to delete the /apps/apache/conf

[Puppet Users] Re: create a file only if directory exists

2008-11-21 Thread Hang Chan
I'm trying to create a virtual host file only if the document root directory exists. I could care less what method I use as long as it works. Please let me know the best way to do this. I realize now that require won't accomplish what I want. I don't need puppet to create the /var/www/html/sit

[Puppet Users] Re: Could not request certificate: Certificate does not match private key

2008-11-21 Thread rmason
Hello, Thanks for responding. Quoting AJ Christensen <[EMAIL PROTECTED]>: > Make --server (client) match --certname (master) I'm not certain what you are telling me. > > puppetca --generate client.here.there > > Generating certificate for client.here.there > > > > Client: > > puppetd --waitfo