]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Move remaining import statements inside the nodo class
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 12 Sep 2015 16:25:47 +0000 (13:25 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 12 Sep 2015 16:25:47 +0000 (13:25 -0300)
manifests/init.pp

index 1751d9ce2fc4a84a92ee4ecc70a1169e2a28f410..b147f44023bbe0516eb0f03bfa437bed0a24cc66 100644 (file)
@@ -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