From cd80dffa65d90834bb89b5e2a25c97a73dec511c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 13 Apr 2013 11:37:56 -0300 Subject: Adding new roles --- manifests/role/bitcoin.pp | 10 ++++++++++ manifests/role/desktop.pp | 3 +++ manifests/role/kvm.pp | 3 +++ manifests/role/laptop.pp | 3 +++ manifests/role/nas.pp | 3 +++ manifests/role/nas/plug.pp | 3 +++ manifests/role/server.pp | 3 +++ manifests/role/vserver.pp | 3 +++ 8 files changed, 31 insertions(+) create mode 100644 manifests/role/bitcoin.pp create mode 100644 manifests/role/desktop.pp create mode 100644 manifests/role/kvm.pp create mode 100644 manifests/role/laptop.pp create mode 100644 manifests/role/nas/plug.pp create mode 100644 manifests/role/server.pp create mode 100644 manifests/role/vserver.pp (limited to 'manifests/role') 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 { +} -- cgit v1.2.3