feat: move puppetca role #351
@ -13,9 +13,3 @@ profiles::ssh::sign::principals:
|
|||||||
|
|
||||||
profiles::puppet::puppetca::is_puppetca: true
|
profiles::puppet::puppetca::is_puppetca: true
|
||||||
profiles::puppet::puppetca::allow_subject_alt_names: true
|
profiles::puppet::puppetca::allow_subject_alt_names: true
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.46
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@ -31,6 +31,9 @@ class profiles::puppet::server (
|
|||||||
Integer $facts_soft_limit = 4096,
|
Integer $facts_soft_limit = 4096,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
# add a bool for if this host is a ca, used in the auth.conf file
|
||||||
|
$is_ca = hiera('profiles::puppet::puppetca::is_puppetca', false)
|
||||||
|
|
||||||
file { '/etc/puppetlabs/puppet/puppet.conf':
|
file { '/etc/puppetlabs/puppet/puppet.conf':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
|
|||||||
@ -69,7 +69,9 @@ authorization: {
|
|||||||
pp_cli_auth: "true"
|
pp_cli_auth: "true"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
terraform
|
terraform<% if @is_ca -%>,
|
||||||
|
<%= scope['trusted']['certname'] %>
|
||||||
|
<%- end -%>
|
||||||
]
|
]
|
||||||
sort-order: 500
|
sort-order: 500
|
||||||
name: "puppetlabs cert status"
|
name: "puppetlabs cert status"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user