diff --git a/doc/_index.html b/doc/_index.html
index 6846631..bd8f09f 100644
--- a/doc/_index.html
+++ b/doc/_index.html
@@ -83,11 +83,6 @@
-
- prometheus_cd::main::dirs
-
-
-
prometheus_cd::main::files
diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html
index 01e58be..834be82 100644
--- a/doc/puppet_class_list.html
+++ b/doc/puppet_class_list.html
@@ -57,42 +57,35 @@
-
-
-
-
-
-
+
-
+
-
+
-
+
-
+
diff --git a/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Afiles.html b/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Afiles.html
index d154ff8..3d626a5 100644
--- a/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Afiles.html
+++ b/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Afiles.html
@@ -126,7 +126,7 @@
class prometheus_cd::main::files (
) inherits prometheus_cd::params {
require prometheus_cd::main::dirs
- if $ps_prom_host == fqdn {
+ if ($ps_prom_host == $fqdn) and ($manage_prometheus == true) {
file { $ps_main_file:
ensure => file,
owner => 'root',
diff --git a/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Aservice.html b/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Aservice.html
index 7307ffe..46a7254 100644
--- a/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Aservice.html
+++ b/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Aservice.html
@@ -128,9 +128,9 @@
class prometheus_cd::main::service (
) inherits prometheus_cd::params {
- require prometheus_cd::main::files
- require prometheus_cd::firewall::iptables
if ($ps_prom_host == $fqdn) and ($manage_prometheus == true) {
+ require prometheus_cd::main::files
+ require prometheus_cd::firewall::iptables
service { $ps_prom_service:
ensure => running,
hasstatus => true,
diff --git a/doc/puppet_classes/prometheus_cd_3A_3Aparams.html b/doc/puppet_classes/prometheus_cd_3A_3Aparams.html
index 651cb71..931149e 100644
--- a/doc/puppet_classes/prometheus_cd_3A_3Aparams.html
+++ b/doc/puppet_classes/prometheus_cd_3A_3Aparams.html
@@ -67,8 +67,6 @@
Inherited by:
- prometheus_cd::main::dirs
-
prometheus_cd::main::files
prometheus_cd::main::config