All, I have --confdir=/etc/puppet/common in my /etc/init.d/puppetmaster and /etc/init.d/puppet files, vardir set to /var/lib/puppet in /etc/puppet/common/puppet.conf, and yet, every time I run puppetca it creates /etc/puppet/ssl. Anyone know why? Doug. -- 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 this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Set ssldir? On Mar 31, 2011 1:41 PM, "Douglas Garstang" <doug.garstang@gmail.com> wrote:> All, > > I have --confdir=/etc/puppet/common in my /etc/init.d/puppetmaster and > /etc/init.d/puppet files, vardir set to /var/lib/puppet in > /etc/puppet/common/puppet.conf, and yet, every time I run puppetca it > creates /etc/puppet/ssl. Anyone know why? > > Doug. > > -- > 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 this group, send email topuppet-users+unsubscribe@googlegroups.com.> For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.>-- 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 this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
I have ssldir set to $vardir/ssl in /etc/puppet/puppet.conf. On Thu, Mar 31, 2011 at 2:55 PM, Scott Smith <scott@ohlol.net> wrote:> Set ssldir? > On Mar 31, 2011 1:41 PM, "Douglas Garstang" <doug.garstang@gmail.com> > wrote: > > All, > > > > I have --confdir=/etc/puppet/common in my /etc/init.d/puppetmaster and > > /etc/init.d/puppet files, vardir set to /var/lib/puppet in > > /etc/puppet/common/puppet.conf, and yet, every time I run puppetca it > > creates /etc/puppet/ssl. Anyone know why? > > > > Doug. > > > > -- > > 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 this group, send email to > puppet-users+unsubscribe@googlegroups.com. > > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > > > -- > 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 this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- Regards, Douglas Garstang http://www.linkedin.com/in/garstang Email: doug.garstang@gmail.com Cell: +1-805-340-5627 -- 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 this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi, I will assume that you''re talking about the master only and not about the clients that connect to it. Do you have two puppet.conf files? One in /etc/puppet and one in /etc/puppet/common or is that a typo? Cause the obvious question is is it reading the right file? Is ssldir set under main section? Do you want to grep for ssldir over /etc/puppet? In 2.6.x I had no trouble moving that directory to /var/lib. Cheers On 01/04/2011, at 8:58, Douglas Garstang <doug.garstang@gmail.com> wrote:> I have ssldir set to $vardir/ssl in /etc/puppet/puppet.conf. > > On Thu, Mar 31, 2011 at 2:55 PM, Scott Smith <scott@ohlol.net> wrote: > Set ssldir? > > On Mar 31, 2011 1:41 PM, "Douglas Garstang" <doug.garstang@gmail.com> wrote: > > All, > > > > I have --confdir=/etc/puppet/common in my /etc/init.d/puppetmaster and > > /etc/init.d/puppet files, vardir set to /var/lib/puppet in > > /etc/puppet/common/puppet.conf, and yet, every time I run puppetca it > > creates /etc/puppet/ssl. Anyone know why? > > > > Doug. > > > > -- > > 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 this group, send email to puppet-users+unsubscribe@googlegroups.com. > > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. > > > -- > 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 this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. > > > > -- > Regards, > > Douglas Garstang > http://www.linkedin.com/in/garstang > Email: doug.garstang@gmail.com > Cell: +1-805-340-5627 > > -- > 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 this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.-- 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 this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Thu, Mar 31, 2011 at 3:53 PM, Denmat <tu2bgone@gmail.com> wrote:> Hi, > > I will assume that you''re talking about the master only and not about the > clients that connect to it. >It seems to only be a bug with puppetca. Yes, master only. Did you try using puppetca?> > Do you have two puppet.conf files? One in /etc/puppet and one in > /etc/puppet/common or is that a typo? Cause the obvious question is is it > reading the right file? >I don''t have a puppet.conf in /etc/puppet: -bash-3.2# cd /etc/puppet -bash-3.2# ls -l total 8 drwxr-xr-x 6 puppet puppet 4096 Mar 31 20:43 common drwxr-xr-x 5 puppet puppet 4096 Mar 31 20:59 extdata It should be reading the right file... The /etc/init.d/puppetmaster file has: PUPPETMASTER_OPTS="--confdir=/etc/puppet/common" and my /etc/puppet/common/puppet.conf looks like: [main] vardir = /var/lib/puppet logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl external_nodes = /etc/puppet/common/bin/getnode.sh node_terminus = exec autosign = true [prod_current] modulepath = /etc/puppet/common/env/prod_current/modules manifest = /etc/puppet/common/env/prod_current/manifests/site.pp [prod_legacy] modulepath = /etc/puppet/common/env/prod_legacy/modules manifest = /etc/puppet/common/env/prod_legacy/manifests/site.pp [agent] classfile = $vardir/classes.txt localconfig = $vardir/localconfig listen = true usecacheonfailure = false runinterval = 1800 report = true server = puppet.pax.livegamer.com environment = prod_current> > Is ssldir set under main section? Do you want to grep for ssldir over > /etc/puppet? > >Yep. Doug. -- 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 this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
tu2Bgone@gmail.com
2011-Apr-01 05:20 UTC
Re: Re: [Puppet Users] puppetca and /etc/puppet/ssl
Hi, man puppetca ... For example, ´ssldir´ is a valid configuration parameter, so you can specify ´--ssldir directory´ as an argument. ... have tried specifying the directory on the command line? Also, do you run RedHat style hosts, because they will read in any options in /etc/sysconfig/puppet (that aren''t hashed out)? - Debian style hosts probably have a similar file in /etc/defaults. What particular version are you using? Cheers, On , Douglas Garstang <doug.garstang@gmail.com> wrote:> On Thu, Mar 31, 2011 at 3:53 PM, Denmat tu2bgone@gmail.com> wrote:> Hi,> I will assume that you''re talking about the master only and not about the > clients that connect to it.> It seems to only be a bug with puppetca. Yes, master only. Did you try > using puppetca?> Do you have two puppet.conf files? One in /etc/puppet and one in > /etc/puppet/common or is that a typo? Cause the obvious question is is it > reading the right file?> I don''t have a puppet.conf in /etc/puppet:> -bash-3.2# cd /etc/puppet > -bash-3.2# ls -l > total 8 > drwxr-xr-x 6 puppet puppet 4096 Mar 31 20:43 common> drwxr-xr-x 5 puppet puppet 4096 Mar 31 20:59 extdata> It should be reading the right file...> The /etc/init.d/puppetmaster file has:> PUPPETMASTER_OPTS="--confdir=/etc/puppet/common"> and my /etc/puppet/common/puppet.conf looks like:> [main] > vardir = /var/lib/puppet > logdir = /var/log/puppet > rundir = /var/run/puppet> ssldir = $vardir/ssl > external_nodes = /etc/puppet/common/bin/getnode.sh > node_terminus = exec > autosign = true > [prod_current] > modulepath = /etc/puppet/common/env/prod_current/modules> manifest = /etc/puppet/common/env/prod_current/manifests/site.pp > [prod_legacy] > modulepath = /etc/puppet/common/env/prod_legacy/modules > manifest = /etc/puppet/common/env/prod_legacy/manifests/site.pp> [agent] > classfile = $vardir/classes.txt > localconfig = $vardir/localconfig > listen = true > usecacheonfailure = false > runinterval = 1800 > report = true> server = puppet.pax.livegamer.com > environment = prod_current> Is ssldir set under main section? Do you want to grep for ssldir over > /etc/puppet?> Yep.> Doug.> --> 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 this group, send email to > puppet-users+unsubscribe@googlegroups.com.> For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en.-- 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 this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.