aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp4
-rw-r--r--manifests/utils.pp13
2 files changed, 16 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 6f05dd3..c2487a1 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -10,6 +10,7 @@ import "motd.pp"
import "sudo.pp"
import "sysctl.pp"
import "ups.pp"
+import "utils.pp"
class nodo {
include lsb
@@ -19,6 +20,7 @@ class nodo {
include sudo
include users::admin
include motd
+ include utils
# Set timezone and ntp config
#
@@ -74,6 +76,7 @@ class nodo::server inherits nodo {
include firewire
include sysctl
include ups
+ include utils::server
# Time configuration
case $ntpdate {
@@ -314,6 +317,5 @@ class nodo::web inherits nodo::vserver {
}
class nodo::proxy inherits nodo::vserver {
- # TODO: openssl?
include nginx
}
diff --git a/manifests/utils.pp b/manifests/utils.pp
new file mode 100644
index 0000000..2ec62b1
--- /dev/null
+++ b/manifests/utils.pp
@@ -0,0 +1,13 @@
+# Common utilities
+class utils {
+ package { [ 'screen', 'less', 'bzip2', 'openssl', 'lynx', 'wget' ]:
+ ensure => installed,
+ }
+}
+
+# Common utilities for servers
+class utils::server {
+ package { 'nload':
+ ensure => installed,
+ }
+}