aboutsummaryrefslogtreecommitdiff
path: root/manifests/base.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-14 17:01:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-14 17:01:18 -0300
commit32f6ff204ff1872d6abe0ee42ae60c281a26cb66 (patch)
treed031adab829467a0133993e0cfb7b8f833595f5a /manifests/base.pp
parentbd7a7e46e4b0a0f59e80c232d15c86dfb734555e (diff)
downloadpuppet-nodo-32f6ff204ff1872d6abe0ee42ae60c281a26cb66.tar.gz
puppet-nodo-32f6ff204ff1872d6abe0ee42ae60c281a26cb66.tar.bz2
Require users::admin
Diffstat (limited to 'manifests/base.pp')
-rw-r--r--manifests/base.pp6
1 files changed, 2 insertions, 4 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 700d23a..88af553 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -25,10 +25,8 @@ class nodo::base {
include concat::setup
include cron
- # Include admin accounts if you have this class
- if defined('::users:admin') {
- class { '::users::admin': }
- }
+ # Require admin accounts' class
+ require users::admin
# Puppet daemon
class { 'puppet::daemon':