diff options
Diffstat (limited to '')
-rw-r--r-- | manifests/puppetserver.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/puppetserver.pp b/manifests/puppetserver.pp index 80cf8f9..20bb69d 100644 --- a/manifests/puppetserver.pp +++ b/manifests/puppetserver.pp @@ -3,6 +3,11 @@ class profiles::puppetserver ( # ourselves Hash $hiera, ) { + + if defined(Class['profiles::puppetagent']) { + fail('Can only either be puppetagent or puppetserver (which is also a puppetagent), not both') + } + # required for the git hook ensure_packages(['ruby']) |