aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/role/bitcoin.pp10
-rw-r--r--manifests/role/desktop.pp3
-rw-r--r--manifests/role/kvm.pp3
-rw-r--r--manifests/role/laptop.pp3
-rw-r--r--manifests/role/nas.pp3
-rw-r--r--manifests/role/nas/plug.pp3
-rw-r--r--manifests/role/server.pp3
-rw-r--r--manifests/role/vserver.pp3
8 files changed, 31 insertions, 0 deletions
diff --git a/manifests/role/bitcoin.pp b/manifests/role/bitcoin.pp
new file mode 100644
index 0000000..7e957ba
--- /dev/null
+++ b/manifests/role/bitcoin.pp
@@ -0,0 +1,10 @@
+class nodo::role::bitcoin inherits nodo::vserver {
+ include nodo::role::vserver
+ include onion
+ include onion::socks
+ include onion::ssh
+
+ class { 'bitcoind':
+ daemon_args => '-daemon -nolisten -proxy=127.0.0.1:9050',
+ }
+}
diff --git a/manifests/role/desktop.pp b/manifests/role/desktop.pp
new file mode 100644
index 0000000..164b2f3
--- /dev/null
+++ b/manifests/role/desktop.pp
@@ -0,0 +1,3 @@
+# General purpose desktop
+class nodo::role::desktop inherits nodo::desktop {
+}
diff --git a/manifests/role/kvm.pp b/manifests/role/kvm.pp
new file mode 100644
index 0000000..71f4fa7
--- /dev/null
+++ b/manifests/role/kvm.pp
@@ -0,0 +1,3 @@
+# A general purpose kvm instance
+class nodo::role::kvm inherits nodo::kvm {
+}
diff --git a/manifests/role/laptop.pp b/manifests/role/laptop.pp
new file mode 100644
index 0000000..0f9d407
--- /dev/null
+++ b/manifests/role/laptop.pp
@@ -0,0 +1,3 @@
+# General purpose laptop
+class nodo::role::laptop inherits nodo::laptop {
+}
diff --git a/manifests/role/nas.pp b/manifests/role/nas.pp
index 134216e..57610da 100644
--- a/manifests/role/nas.pp
+++ b/manifests/role/nas.pp
@@ -1,4 +1,7 @@
class nodo::role::nas {
+ # Minimal utilities
+ include nodo::utils::network::minimal
+
# Firewall rules
include firewall::nas
diff --git a/manifests/role/nas/plug.pp b/manifests/role/nas/plug.pp
new file mode 100644
index 0000000..4afb8aa
--- /dev/null
+++ b/manifests/role/nas/plug.pp
@@ -0,0 +1,3 @@
+class nodo::role::nas::plug inherits nodo::plug {
+ include nodo::role::nas
+}
diff --git a/manifests/role/server.pp b/manifests/role/server.pp
new file mode 100644
index 0000000..9eac72c
--- /dev/null
+++ b/manifests/role/server.pp
@@ -0,0 +1,3 @@
+# A general purpose server
+class nodo::role::server inherits nodo::server {
+}
diff --git a/manifests/role/vserver.pp b/manifests/role/vserver.pp
new file mode 100644
index 0000000..55a754d
--- /dev/null
+++ b/manifests/role/vserver.pp
@@ -0,0 +1,3 @@
+# A general purpose vserver
+class nodo::role::vserver inherits nodo::vserver {
+}