[Puppet Users] Puppet Configuration - Running --configprint generates long list of values

2012-06-20 Thread Mike Reed
Hello all,

I fairly new to puppet and google groups so I'll apologize in advance for 
not conforming to normal posting methods.

I've recently installed puppetmaster on a fresh copy of Ubuntu 10.04LTS and 
after running: sudo puppet --configprint all, I get a long list of 
parameters and values echoed back to my shell.  My question is where do 
these parameters and values come from?  I've taken a look at my puppet.conf 
file (which I believe is located in the proper place of: 
/etc/puppet/puppet.conf) and it looks like this:

[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates

[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN 
ssl_client_verify_header = SSL_CLIENT_VERIFY

Clearly these values of the ''--configprint -all command are coming from 
somewhere else and I can't seem to find the answer.  

I've read that puppet will read values from a users home directory if the 
puppet service is not running as root but I'm not sure that's something I 
should be concerned with at the moment.

My thanks to everybody's help in advance.

Cheers,

Mike

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/H2P51DT0WfMJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet Configuration - Running --configprint generates long list of values

2012-06-20 Thread Craig White

On Jun 20, 2012, at 12:38 PM, Mike Reed wrote:

 Hello all,
 
 I fairly new to puppet and google groups so I'll apologize in advance for not 
 conforming to normal posting methods.
 
 I've recently installed puppetmaster on a fresh copy of Ubuntu 10.04LTS and 
 after running: sudo puppet --configprint all, I get a long list of parameters 
 and values echoed back to my shell.  My question is where do these parameters 
 and values come from?  I've taken a look at my puppet.conf file (which I 
 believe is located in the proper place of: /etc/puppet/puppet.conf) and it 
 looks like this:
 
 [main]
 logdir=/var/log/puppet
 vardir=/var/lib/puppet
 ssldir=/var/lib/puppet/ssl
 rundir=/var/run/puppet
 factpath=$vardir/lib/facter
 templatedir=$confdir/templates
 
 [master]
 # These are needed when the puppetmaster is run by passenger
 # and can safely be removed if webrick is used.
 ssl_client_header = SSL_CLIENT_S_DN 
 ssl_client_verify_header = SSL_CLIENT_VERIFY
 
 Clearly these values of the ''--configprint -all command are coming from 
 somewhere else and I can't seem to find the answer.  
 
 I've read that puppet will read values from a users home directory if the 
 puppet service is not running as root but I'm not sure that's something I 
 should be concerned with at the moment.

--configprint will supplement anything not specifically configured in 
puppet.conf with its own defaults. Thus you can 'override' any of the defaults 
by specifically declaring them in the appropriate section of puppet.conf

Craig

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet Configuration - Running --configprint generates long list of values

2012-06-20 Thread Mike Reed
Thank you for the reply Craig.  That makes sense and points me in the right 
direction.

Thanks again,

Mike

On Wednesday, June 20, 2012 1:06:09 PM UTC-7, Craig White wrote:


 On Jun 20, 2012, at 12:38 PM, Mike Reed wrote: 

  Hello all, 
  
  I fairly new to puppet and google groups so I'll apologize in advance 
 for not conforming to normal posting methods. 
  
  I've recently installed puppetmaster on a fresh copy of Ubuntu 10.04LTS 
 and after running: sudo puppet --configprint all, I get a long list of 
 parameters and values echoed back to my shell.  My question is where do 
 these parameters and values come from?  I've taken a look at my puppet.conf 
 file (which I believe is located in the proper place of: 
 /etc/puppet/puppet.conf) and it looks like this: 
  
  [main] 
  logdir=/var/log/puppet 
  vardir=/var/lib/puppet 
  ssldir=/var/lib/puppet/ssl 
  rundir=/var/run/puppet 
  factpath=$vardir/lib/facter 
  templatedir=$confdir/templates 
  
  [master] 
  # These are needed when the puppetmaster is run by passenger 
  # and can safely be removed if webrick is used. 
  ssl_client_header = SSL_CLIENT_S_DN 
  ssl_client_verify_header = SSL_CLIENT_VERIFY 
  
  Clearly these values of the ''--configprint -all command are coming 
 from somewhere else and I can't seem to find the answer.   
  
  I've read that puppet will read values from a users home directory if 
 the puppet service is not running as root but I'm not sure that's something 
 I should be concerned with at the moment. 
  
 --configprint will supplement anything not specifically configured in 
 puppet.conf with its own defaults. Thus you can 'override' any of the 
 defaults by specifically declaring them in the appropriate section of 
 puppet.conf 

 Craig

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/64QGtHcvLRQJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.