aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-08-05 14:17:45 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-08-05 14:17:45 -0300
commitb93d3fb89420f7ced9a17ed46802aa68cdf33ddc (patch)
treedc9aa12ae636935e185ecf1dde0cb14347d9c2d1
parent9ef24ec048fc367206c80fd521318a9c50c1fc74 (diff)
downloadpuppet-nodo-b93d3fb89420f7ced9a17ed46802aa68cdf33ddc.tar.gz
puppet-nodo-b93d3fb89420f7ced9a17ed46802aa68cdf33ddc.tar.bz2
Adding utils::plug
-rw-r--r--manifests/init.pp1
-rw-r--r--manifests/plug.pp1
-rw-r--r--manifests/subsystems/utils/plug.pp6
3 files changed, 8 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 32f253c..8721edd 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -74,6 +74,7 @@ import "subsystems/utils/personal.pp"
import "subsystems/utils/physical.pp"
import "subsystems/utils/storage.pp"
import "subsystems/utils/web.pp"
+import "subsystems/utils/plug.pp"
# Import nodo classes
import "nodo.pp"
diff --git a/manifests/plug.pp b/manifests/plug.pp
index a23538f..ca9ce19 100644
--- a/manifests/plug.pp
+++ b/manifests/plug.pp
@@ -1,2 +1,3 @@
class nodo::plug inherits nodo {
+ include utils::plug
}
diff --git a/manifests/subsystems/utils/plug.pp b/manifests/subsystems/utils/plug.pp
new file mode 100644
index 0000000..12fed33
--- /dev/null
+++ b/manifests/subsystems/utils/plug.pp
@@ -0,0 +1,6 @@
+# Common utilities for plug computers
+class utils::plug {
+ package { 'mtd-utils':
+ ensure => installed,
+ }
+}