diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-02-05 18:26:26 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-02-05 18:26:26 -0200 |
commit | 32e172081aaf11bb6c4df92d2d231e54bf7d4535 (patch) | |
tree | 2ec21bab1862353c438f5bb59b41844fd48ac413 /manifests | |
parent | 6d66d27fabd514480f449f1923995b7b22d10647 (diff) | |
download | puppet-nodo-32e172081aaf11bb6c4df92d2d231e54bf7d4535.tar.gz puppet-nodo-32e172081aaf11bb6c4df92d2d231e54bf7d4535.tar.bz2 |
Creating minimum classes for network applications
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/subsystems/utils/debian.pp | 2 | ||||
-rw-r--r-- | manifests/subsystems/utils/network.pp | 41 |
2 files changed, 32 insertions, 11 deletions
diff --git a/manifests/subsystems/utils/debian.pp b/manifests/subsystems/utils/debian.pp index bec24e0..e1d4d43 100644 --- a/manifests/subsystems/utils/debian.pp +++ b/manifests/subsystems/utils/debian.pp @@ -6,7 +6,7 @@ class utils::personal::debian { } # Misc - package { [ 'fortunes-br', 'unrar', 'recode', 'figlet', 'p7zip-full', 'unison', 'funcoeszz' ]: + package { [ 'fortunes-br', 'unrar', 'recode', 'figlet', 'p7zip-full', 'funcoeszz' ]: ensure => installed, } } diff --git a/manifests/subsystems/utils/network.pp b/manifests/subsystems/utils/network.pp index 551120f..ecb92c5 100644 --- a/manifests/subsystems/utils/network.pp +++ b/manifests/subsystems/utils/network.pp @@ -1,14 +1,35 @@ -class utils::network { +class utils::network::irssi { + package { [ 'irssi', 'bitlbee', 'irssi-plugin-silc', 'irssi-scripts', 'irssi-plugin-otr' ]: + ensure => installed, + } +} + +class utils::network::torrent { + package { [ 'rtorrent' ]: + } +} + +class utils::network::minimal { + include utils::network:irssi + include utils::network:torrent + + package { 'unison': + ensure => installed, + } +} + +class utils::network inherits utils::network::mininal { # Network - package { [ 'mutt', 'irssi', 'offlineimap', 'epiphany-browser', - 'newsbeuter', 'bitlbee', 'nicotine', 'silc', - 'irssi-plugin-silc', 'bogofilter', 'fetchmail', 'procmail', - 'msmtp', 'mairix', 'konqueror', 'bittorrent', - 'irssi-scripts', 'links', 'twinkle', 'bittornado', - 'rtorrent', 'iceweasel', 'irssi-plugin-otr', 'transmission', - 'openvpn', 'amule', 'pssh', 'pidgin', - 'pidgin-encryption', 'pidgin-openpgp', 'pidgin-otr', 'pidgin-privacy-please', - 'pidgin-plugin-pack', 'sslscan' ]: + package { [ 'mutt', 'offlineimap', 'epiphany-browser', + 'newsbeuter', 'nicotine', 'silc', + 'bogofilter', 'fetchmail', 'procmail', + 'msmtp', 'mairix', 'konqueror', + 'bittorrent', 'links', 'twinkle', + 'bittornado', 'iceweasel', 'transmission', + 'openvpn', 'amule', 'pssh', + 'pidgin', 'pidgin-encryption', 'pidgin-openpgp', + 'pidgin-otr', 'pidgin-privacy-please', 'pidgin-plugin-pack', + 'sslscan' ]: ensure => installed, } |