Project

General

Profile

« Previous | Next » 

Revision e08c8a21

Added by Dominic Cleal over 7 years ago

templates - sync from community-templates

View differences:

app/views/unattended/snippets/_puppet.conf.erb
name: puppet.conf
%>
<%
if @host.param_true?('enable-puppetlabs-pc1-repo') && (@host.operatingsystem.family == 'Debian' || @host.operatingsystem.family == 'Redhat')
os_family = @host.operatingsystem.family
os_name = @host.operatingsystem.name
if @host.param_true?('enable-puppetlabs-pc1-repo') && (os_family == 'Debian' || os_family == 'Redhat' || os_name == 'SLES')
var_dir = '/opt/puppetlabs/puppet/cache'
log_dir = '/var/log/puppetlabs/puppet'
run_dir = '/var/run/puppetlabs'

Also available in: Unified diff