refactor: reoganise the puppetserver profile
- manage puppetserver package - set order for puppetserver classes - for profiles::puppet::server class: - set param types using stdlib where possible - set default values for all params - move configuration data to hieradata - wait for enc_role fact to match role - exclude puppet::client from puppermaster nodes
This commit is contained in:
@@ -87,6 +87,9 @@ lookup_options:
|
||||
profiles::consul::client::node_rules:
|
||||
merge:
|
||||
strategy: deep
|
||||
profiles::puppet::server::dns_alt_names:
|
||||
merge:
|
||||
strategy: deep
|
||||
|
||||
facts_path: '/opt/puppetlabs/facter/facts.d'
|
||||
|
||||
@@ -237,3 +240,11 @@ profiles::base::hosts::additional_hosts:
|
||||
aliases:
|
||||
- prodinf01n22
|
||||
- repos.main.unkin.net
|
||||
|
||||
profiles::puppet::server::dns_alt_names:
|
||||
- "%{facts.networking.fqdn}"
|
||||
- "%{facts.networking.hostname}"
|
||||
- puppetmaster.main.unkin.net
|
||||
- puppet.main.unkin.net
|
||||
- puppetmaster
|
||||
- puppet
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
profiles::puppet::server::dns_alt_names:
|
||||
- puppetca.main.unkin.net
|
||||
- puppetca
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
profiles::puppet::server::dns_alt_names:
|
||||
- puppetca.main.unkin.net
|
||||
- puppetca
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
profiles::puppet::server::dns_alt_names:
|
||||
- puppetca.main.unkin.net
|
||||
- puppetca
|
||||
@@ -0,0 +1,3 @@
|
||||
---
|
||||
profiles::packages::install:
|
||||
- puppetserver
|
||||
Reference in New Issue
Block a user