Project

General

Profile

Download (884 Bytes) Statistics
| Branch: | Tag: | Revision:
class foreman::config::enc (
$foreman_url = $foreman::params::foreman_url,
$facts = $foreman::params::facts,
$storeconfigs = $foreman::params::storeconfigs,
$puppet_home = $foreman::params::puppet_home,
$ssl_ca = $foreman::params::client_ssl_ca,
$ssl_cert = $foreman::params::client_ssl_cert,
$ssl_key = $foreman::params::client_ssl_key
) inherits foreman::params {

File { require => Class['::puppet::server::install'] }

file { '/etc/puppet/node.rb':
content => template('foreman/external_node.rb.erb'),
mode => '0550',
owner => 'puppet',
group => 'puppet',
}
file { "${puppet_home}/yaml":
ensure => directory,
recurse => true,
owner => 'puppet',
group => 'puppet',
}
file { "${puppet_home}/yaml/foreman":
ensure => directory,
owner => 'puppet',
group => 'puppet',
}
}
(1-1/3)