Sanity Check Request: Environments in /etc/puppet/puppet.conf

64 views
Skip to first unread message

Dan White

unread,
Jan 23, 2013, 3:20:30 PM1/23/13
to Pupper Users Mailing List
It just struck me that any environment blocks in /etc/puppet/puppet.conf have meaning ONLY on the puppet master.

Is that accurate ?

“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)

Peter Brown

unread,
Jan 24, 2013, 11:22:08 PM1/24/13
to puppet-users
On 24 January 2013 06:20, Dan White <yg...@comcast.net> wrote:
It just struck me that any environment blocks in /etc/puppet/puppet.conf have meaning ONLY on the puppet master.

Is that accurate ?

Pretty much.
I am reasonably sure the only thing you can put in there is manifest and module paths.
It basically tells the master where to look for those files for each environment.


“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Dan White

unread,
Jan 25, 2013, 8:22:23 AM1/25/13
to puppet...@googlegroups.com
Thanks for the response.

I am planning to manage /etc/puppet/puppet.conf for all the client/agents and it struck me that there is very little one needs to manage if the server is not a puppet master.


“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)


From: "Peter Brown" <rendh...@gmail.com>
To: "puppet-users" <puppet...@googlegroups.com>
Sent: Thursday, January 24, 2013 11:22:08 PM
Subject: Re: [Puppet Users] Sanity Check Request: Environments in /etc/puppet/puppet.conf
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.

To post to this group, send email to puppet...@googlegroups.com.

Gary Larizza

unread,
Jan 25, 2013, 11:31:56 AM1/25/13
to puppet...@googlegroups.com
Yep,

Off the top of my head, you would most likely just want to manage the following:

* server
* certname
* environment
* pluginsync
* POSSIBLY vardir/ssldir

--
Gary Larizza
Professional Services Engineer

Dan White

unread,
Jan 25, 2013, 2:01:49 PM1/25/13
to puppet...@googlegroups.com
FWIW, the default file from the RPM is:

[main]
    # The Puppet log directory.
    # The default value is '$vardir/log'.
    logdir = /var/log/puppet

    # Where Puppet PID files are kept.
    # The default value is '$vardir/run'.
    rundir = /var/run/puppet

    # Where SSL certificates are kept.
    # The default value is '$confdir/ssl'.
    ssldir = $vardir/ssl

[agent]
    # The file in which puppetd stores a list of the classes
    # associated with the retrieved configuratiion.  Can be loaded in
    # the separate ``puppet`` executable using the ``--loadclasses``
    # option.
    # The default value is '$confdir/classes.txt'.
    classfile = $vardir/classes.txt

    # Where puppetd caches the local configuration.  An
    # extension indicating the cache format is added automatically.
    # The default value is '$confdir/localconfig'.
    localconfig = $vardir/localconfig

So I doubt I will need to worry about much more than an environment setting.


“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)


From: "Gary Larizza" <ga...@puppetlabs.com>
To: puppet...@googlegroups.com
Sent: Friday, January 25, 2013 11:31:56 AM
Reply all
Reply to author
Forward
0 new messages