diff options
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, + } +} |