]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Adding raspberrypi support
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 9 May 2013 21:30:11 +0000 (18:30 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 9 May 2013 21:30:11 +0000 (18:30 -0300)
manifests/base/raspberrypi.pp [new file with mode: 0644]
manifests/role/raspberrypi.pp [new file with mode: 0644]

diff --git a/manifests/base/raspberrypi.pp b/manifests/base/raspberrypi.pp
new file mode 100644 (file)
index 0000000..b8f0fee
--- /dev/null
@@ -0,0 +1,13 @@
+class nodo::base:raspberrypi {
+  include syslog-ng
+  include nodo::utils::physical
+  include nodo::utils::storage::archive
+
+  monkeysphere_host { "${::hostname}": }
+
+  # class { [ 'ntpdate', 'firewall' ]:  }
+
+  backupninja::sys { "sys":
+    ensure     => present,
+  }
+}
diff --git a/manifests/role/raspberrypi.pp b/manifests/role/raspberrypi.pp
new file mode 100644 (file)
index 0000000..cfebe68
--- /dev/null
@@ -0,0 +1,3 @@
+class nodo::role::raspberrypi {
+  include nodo::base::raspberrypi
+}