summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/puppetmaster.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/puppetmaster.pp b/manifests/puppetmaster.pp
index fa975ad..7e80792 100644
--- a/manifests/puppetmaster.pp
+++ b/manifests/puppetmaster.pp
@@ -12,6 +12,10 @@ class puppet::puppetmaster inherits puppet {
}
}
}
+ include puppet::puppetmaster::base
+}
+
+class puppet::puppetmaster::base inherits puppet::base {
File[puppet_config]{
source => [ "puppet://$server/files/puppet/master/puppet.conf",
@@ -44,6 +48,7 @@ class puppet::puppetmaster inherits puppet {
}
}
+
define puppet::puppetmaster::hasdb(
$dbtype = 'mysql',
$dbname = 'puppet',