diff --git a/doc/file.README.html b/doc/file.README.html index dba52bc..4de8ff0 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -84,6 +84,8 @@
manage directories
install node.rb from the foreman for puppetdb
+manage puppet user settings (optional)
manage directories
install node.rb from the foreman for puppetdb
+manage puppet user settings (optional)
# File 'manifests/main/files.pp', line 6
@@ -181,6 +207,23 @@ class puppet_cd::main::files (
content => template($pt_puppet_conf_erb),
notify => Service[$pt_agent_service],
}
+ if $pt_use_puppetdb == true {
+ file { $pt_node_rb_file:
+ ensure => file,
+ owner => 'puppet',
+ group => 'puppet',
+ mode => '0550',
+ selrole => object_r,
+ seltype => foreman_enc_t,
+ seluser => system_u,
+ content => template($pt_node_rb_erb),
+ }
+ }
+ if $pt_use_puppetdb != true {
+ file { $pt_node_rb_file:
+ ensure => absent,
+ }
+ }
}
if $fqdn == $pt_pm_fqdn {
@@ -215,8 +258,17 @@ class puppet_cd::main::files (
content => template($pt_routes_erb),
notify => Service[$pt_server_service],
}
+ file { $pt_node_rb_file:
+ ensure => file,
+ owner => 'puppet',
+ group => 'puppet',
+ mode => '0550',
+ selrole => object_r,
+ seltype => foreman_enc_t,
+ seluser => system_u,
+ content => template($pt_node_rb_erb),
+ }
}
-
if $pt_use_puppetdb != true {
file { $pt_puppetdb_conf_file:
ensure => absent,
diff --git a/doc/puppet_classes/puppet_cd_3A_3Amain_3A_3Ainstall.html b/doc/puppet_classes/puppet_cd_3A_3Amain_3A_3Ainstall.html
index 5009249..7d7d0ac 100644
--- a/doc/puppet_classes/puppet_cd_3A_3Amain_3A_3Ainstall.html
+++ b/doc/puppet_classes/puppet_cd_3A_3Amain_3A_3Ainstall.html
@@ -120,12 +120,7 @@
22
23
24
-25
-26
-27
-28
-29
-30
+25
# File 'manifests/main/install.pp', line 6
@@ -137,11 +132,6 @@ class puppet_cd::main::install (
package { $pt_agent_pkg:
ensure => $pt_pkg_ensure,
}
- if $pt_use_puppetdb == true {
- package { $pt_puppetdb_pkg:
- ensure => $pt_pkg_ensure,
- }
- }
}
if $fqdn == $pt_pm_fqdn {
diff --git a/doc/puppet_classes/puppet_cd_3A_3Aparams.html b/doc/puppet_classes/puppet_cd_3A_3Aparams.html
index c7f666c..0ce6603 100644
--- a/doc/puppet_classes/puppet_cd_3A_3Aparams.html
+++ b/doc/puppet_classes/puppet_cd_3A_3Aparams.html
@@ -1150,7 +1150,9 @@
170
171
172
-173
+173
+174
+175
# File 'manifests/params.pp', line 59
@@ -1253,6 +1255,8 @@ class puppet_cd::params (
$pt_puppetdb_conf_erb = 'puppet_cd/puppetdb/puppetdb.conf.erb'
$pt_routes_file = "${pt_puppetdir}/routes.yaml"
$pt_routes_erb = 'puppet_cd/puppetdb/routes.yaml.erb'
+ $pt_node_rb_file = "${pt_puppetdir}/node.rb"
+ $pt_node_rb_erb = 'puppet_cd/puppetdb/node.rb.erb'
## r10k
$pt_r10k_file = "${pt_r10k_dir}/r10k.yaml"