Ask Your Question

Change directory on PE install

asked 2013-10-08 15:00:35 -0600

Is there some way I can have the Puppet Enterprise 3.0.1 installer set confdir and/or vardir to an alternate directory before it completes the install?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-08 21:41:09 -0600

Ancillas gravatar image

The "right" way is to use a puppet_master module to manage your puppet master.

A shortcut way is to modify the installer by tweaking the erb/puppet.conf.erb file. Unfortunately, you'll have to modify the installer every time you want to install a new version. If you choose this path, make sure the process is documented for your other team members :).

    certname = <%= @agent_certname %>
<% if @platform_name =~ /aix/i -%>
    vardir = /opt/freeware/var/lib/pe-puppet
    logdir = /opt/freeware/var/log/pe-puppet
    rundir = /opt/freeware/var/run/pe-puppet
<% else -%>
    vardir = /var/opt/lib/pe-puppet
    logdir = /var/log/pe-puppet
    rundir = /var ...
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-10-08 15:00:35 -0600

Seen: 76 times

Last updated: Oct 08 '13