[Pkg-puppet-devel] Managing options in puppet.conf: helper scripts or includes

Mathias Gug mathiaz at ubuntu.com
Mon Aug 2 20:07:16 UTC 2010


Hi,

While working on integration puppetmaster and apache+passenger I ran into the
following issue:

Two options need to be added to /etc/puppet/puppet.conf to configure the
puppetmaster to use apache2 SSL variables:

    [master] 
    ssl_client_header = SSL_CLIENT_S_DN
    ssl_client_verify_header = SSL_CLIENT_VERIFY

puppet.conf is a configuration file owned by the puppet-common package.
Thus the puppetmaster-passenger postinst script cannot automatically add
the necessary options to puppet.conf.

The solution suggested by the Debian policy is to have commands provided
by the puppet-common package to manage options in puppet.conf (eg
postconf from the postfix package). 

Another option is to have the puppet configuration engine support
include files (and/or .d directories).

What do you think?

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com



More information about the Pkg-puppet-devel mailing list