aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-09-12 13:25:47 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-09-12 13:25:47 -0300
commit00dd59797ef6f50e04738f0368bbe713f87f66ca (patch)
treef1ca55a43e8173499659f1db05941bfcc9e0b815
parent4777aa628adf900bf3b754fc0b2f0426a0e3cb5c (diff)
downloadpuppet-nodo-00dd59797ef6f50e04738f0368bbe713f87f66ca.tar.gz
puppet-nodo-00dd59797ef6f50e04738f0368bbe713f87f66ca.tar.bz2
Move remaining import statements inside the nodo class
-rw-r--r--manifests/init.pp11
1 files changed, 4 insertions, 7 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 1751d9c..b147f44 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -2,13 +2,6 @@
# Nodo module.
#
-# Import required modules
-import "common"
-
-# Modules that still doesn't support autoloading
-import 'dhcp'
-import 'virtual'
-
class nodo(
$role = hiera('nodo::role', 'default'),
$location = hiera('nodo::location', 'default'),
@@ -20,6 +13,10 @@ class nodo(
filebucket { server: server => hiera('puppet::daemon::server', "puppet.${::domain}") }
File { backup => server }
+ # Modules that still doesn't support autoloading
+ import "common"
+ import 'dhcp'
+
# Include base class
include nodo::base