aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,
+ }
+}