aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/utils.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-03-22 22:11:47 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-03-22 22:11:47 -0300
commit1b44048f33e795162212d2fdc77bcf0d9cdf0533 (patch)
treea854d2e5c1abbaba5eeff0d719df2a827c71a9ba /manifests/subsystems/utils.pp
parent7433f4dfc9ea4056871ef273368e9826ccf38517 (diff)
downloadpuppet-nodo-1b44048f33e795162212d2fdc77bcf0d9cdf0533.tar.gz
puppet-nodo-1b44048f33e795162212d2fdc77bcf0d9cdf0533.tar.bz2
Module organization
Diffstat (limited to 'manifests/subsystems/utils.pp')
-rw-r--r--manifests/subsystems/utils.pp75
1 files changed, 75 insertions, 0 deletions
diff --git a/manifests/subsystems/utils.pp b/manifests/subsystems/utils.pp
new file mode 100644
index 0000000..92061eb
--- /dev/null
+++ b/manifests/subsystems/utils.pp
@@ -0,0 +1,75 @@
+# Common utilities
+class utils {
+ package { [ 'screen', 'less', 'bzip2', 'openssl', 'lynx', 'wget', 'unzip' ]:
+ ensure => installed,
+ }
+}
+
+# Common utilities for physical
+class utils::physical {
+ package { 'nload':
+ ensure => installed,
+ }
+}
+
+# Common utilities for storage
+class utils::storage {
+ package { 'clamav':
+ ensure => installed,
+ }
+}
+
+# Common utilities for web
+class utils::web {
+ package { 'ffmpeg':
+ ensure => installed,
+ }
+}
+
+# Common utilities for desktop
+class utils::desktop {
+ # Package dosemu used because of the pcf fonts
+ package { [ 'awesome', 'alsa-tools-gui', 'mutt',
+ 'irssi', 'offlineimap', 'wyrd',
+ 'mp3blaster', 'iceweasel', 'eterm',
+ 'libpam-mount', 'locales', 'fluxbox',
+ 'gdm', 'ecryptfs-utils', 'newsbeuter',
+ 'bitlbee', 'nicotine', 'silc',
+ 'irssi-plugin-silc', 'conky', 'rxvt',
+ 'vim-gtk', 'gobby', 'bogofilter',
+ 'gnupg-agent', 'xterm', 'bash-completion',
+ 'fetchmail', 'dosemu', 'xfonts-terminus',
+ 'gnumeric', 'alsa-utils', 'sc',
+ 'gawk', 'telnet', 'fpm',
+ 'procmail', 'msmtp', 'netpbm',
+ 'gqview', 'antiword', 'mairix',
+ 'whois', 'mozilla-plugin-gnash' ]:
+ ensure => installed,
+ }
+
+ # Gem packages
+ package { 'capistrano':
+ ensure => installed,
+ provider => gem,
+ require => Package['rubygems'],
+ }
+
+ if !defined(Package['git-core']) {
+ package { 'git-core':
+ ensure => installed,
+ }
+ }
+
+ if !defined(Package['ruby']) {
+ package { 'ruby':
+ ensure => installed,
+ }
+ }
+
+ if !defined(Package['rubygems']) {
+ package { 'rubygems':
+ ensure => installed,
+ require => Package['ruby'],
+ }
+ }
+}