diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-13 11:37:56 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-13 11:37:56 -0300 |
commit | cd80dffa65d90834bb89b5e2a25c97a73dec511c (patch) | |
tree | e17f70f216c90eeccb5afef112e0210de295548d | |
parent | fe1c86b8f938283e9dd8196a8b11a9648f4b49e6 (diff) | |
download | puppet-nodo-cd80dffa65d90834bb89b5e2a25c97a73dec511c.tar.gz puppet-nodo-cd80dffa65d90834bb89b5e2a25c97a73dec511c.tar.bz2 |
Adding new rolesrefactor
-rw-r--r-- | manifests/role/bitcoin.pp | 10 | ||||
-rw-r--r-- | manifests/role/desktop.pp | 3 | ||||
-rw-r--r-- | manifests/role/kvm.pp | 3 | ||||
-rw-r--r-- | manifests/role/laptop.pp | 3 | ||||
-rw-r--r-- | manifests/role/nas.pp | 3 | ||||
-rw-r--r-- | manifests/role/nas/plug.pp | 3 | ||||
-rw-r--r-- | manifests/role/server.pp | 3 | ||||
-rw-r--r-- | manifests/role/vserver.pp | 3 |
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 { +} |