diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-09-23 20:21:41 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-09-23 20:21:41 -0300 |
commit | 0427a314c3b8bef2a46dac43f7bea41eb33612fd (patch) | |
tree | 8caf5c5d1181f50a89413598f99c3351ad12cb94 /manifests/utils/web | |
parent | db03a0e084e5f15fe67a7de1d4fbec0d9a404536 (diff) | |
download | puppet-nodo-0427a314c3b8bef2a46dac43f7bea41eb33612fd.tar.gz puppet-nodo-0427a314c3b8bef2a46dac43f7bea41eb33612fd.tar.bz2 |
Utils: more cleanup and organization
Diffstat (limited to 'manifests/utils/web')
-rw-r--r-- | manifests/utils/web/console.pp | 10 | ||||
-rw-r--r-- | manifests/utils/web/gui.pp | 45 | ||||
-rw-r--r-- | manifests/utils/web/hardened.pp | 9 |
3 files changed, 64 insertions, 0 deletions
diff --git a/manifests/utils/web/console.pp b/manifests/utils/web/console.pp new file mode 100644 index 0000000..646cb9e --- /dev/null +++ b/manifests/utils/web/console.pp @@ -0,0 +1,10 @@ +class nodo::utils::web::console { + package { [ + 'links', + 'elinks', + 'surfraw', + 'w3m', + ]: + ensure => installed, + } +} diff --git a/manifests/utils/web/gui.pp b/manifests/utils/web/gui.pp new file mode 100644 index 0000000..c87b16d --- /dev/null +++ b/manifests/utils/web/gui.pp @@ -0,0 +1,45 @@ +class nodo::utils::web::gui { + # Web: GUI + package { [ + 'firefox-esr', + 'chromium', + 'chromium-l10n', + 'xul-ext-https-everywhere', + 'xul-ext-refcontrol', + #'xul-ext-pentadactyl', + #'xul-ext-stylish', + #'maildir-utils', + #'libical-parser-perl', + #'geoip-bin', + #'rig', + #'mailplate', + #'sup-mail', + #'connect-proxy', + #'avahi-discover', + #'mdns-scan', + #'davfs2', + #'ssvnc', + #'mairix', + #'openvpn', + #'nicotine', + #'sshfs', + ]: + ensure => installed, + } + + # Browser alternative + file { "/etc/alternatives/x-www-browser": + ensure => "/usr/bin/firefox-esr", + owner => root, + group => root, + require => Package['firefox-esr'], + } + + # Browser alternative: manpage + file { "/etc/alternatives/x-www-browser.1.gz": + ensure => "/usr/share/man/man1/firefox-esr.1.gz", + owner => root, + group => root, + require => Package['firefox-esr'], + } +} diff --git a/manifests/utils/web/hardened.pp b/manifests/utils/web/hardened.pp new file mode 100644 index 0000000..e5582d6 --- /dev/null +++ b/manifests/utils/web/hardened.pp @@ -0,0 +1,9 @@ +class nodo::utils::web::hardened inherits nodo::utils::web::gui { + package { [ + 'torbrowser-launcher', + 'xul-ext-requestpolicy', + 'xul-ext-certificatepatrol', + ]: + ensure => present, + } +} |