Ask Your Question
0

Change directory on PE install

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

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
0

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

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 :).

[main]
    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 ...
(more)
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

Stats

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

Seen: 57 times

Last updated: Oct 08 '13