summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-05-03 11:08:46 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-05-03 12:12:12 +0200
commit6f0806ec2643cb28646d9b0b31bd2c4f07fbfc9c (patch)
tree5aeef17d0387a0fe708e64edf37d467cf00740b4
parentPuppetboard: Change require to after on puppetdb (diff)
downloadprofiles-6f0806ec2643cb28646d9b0b31bd2c4f07fbfc9c.tar.gz
profiles-6f0806ec2643cb28646d9b0b31bd2c4f07fbfc9c.tar.xz
See last commit for rationalle.
-rw-r--r--manifests/puppetboard.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/puppetboard.pp b/manifests/puppetboard.pp
index 6d49da8..acb7330 100644
--- a/manifests/puppetboard.pp
+++ b/manifests/puppetboard.pp
@@ -25,7 +25,6 @@ class profiles::puppetboard (
class { 'puppetboard':
manage_git => true,
manage_virtualenv => true,
- after => Class['puppetdb'],
puppetdb_port => $puppetdb_port,
# Required for /metrics/ to work
puppetdb_host => $puppetdb_host,
@@ -35,6 +34,10 @@ class profiles::puppetboard (
default_environment => '*',
}
+ if defined(Class['puppetdb']) {
+ Class['puppetdb'] -> Class['puppetboard']
+ }
+
class { '::profiles::letsencrypt':
provider => apache,
}