diff options
-rw-r--r-- | manifests/subsystem/apt.pp | 3 | ||||
-rw-r--r-- | manifests/subsystem/sensors.pp | 30 | ||||
-rw-r--r-- | manifests/utils.pp | 7 | ||||
-rw-r--r-- | manifests/utils/office/console.pp | 5 | ||||
-rw-r--r-- | manifests/utils/office/gui.pp | 1 | ||||
-rw-r--r-- | manifests/utils/storage/archive.pp | 1 |
6 files changed, 32 insertions, 15 deletions
diff --git a/manifests/subsystem/apt.pp b/manifests/subsystem/apt.pp index 28db591..d2d531d 100644 --- a/manifests/subsystem/apt.pp +++ b/manifests/subsystem/apt.pp @@ -14,8 +14,9 @@ class nodo::subsystem::apt( default => 'enabled', } ) { + # This one is no longer necessary package { 'apt-transport-https': - ensure => installed, + ensure => absent, } # See https://www.cyberciti.biz/faq/howto-use-apt-get-with-ipv6-or-ipv4-transport-on-ubuntu-debian/ diff --git a/manifests/subsystem/sensors.pp b/manifests/subsystem/sensors.pp index 473def3..8a19831 100644 --- a/manifests/subsystem/sensors.pp +++ b/manifests/subsystem/sensors.pp @@ -22,6 +22,22 @@ class nodo::subsystem::sensors { } # + # drivetemp + # + # Just load this driver and lm-sensors will detect sensors automatically. + # + # https://www.baeldung.com/linux/hdd-ssd-temperature + # https://askubuntu.com/questions/1426482/tool-to-monitor-hdd-temperature-in-ubuntu-server-22-04 + # https://wiki.archlinux.org/title/Lm_sensors#S.M.A.R.T._drive_temperature + # https://github.com/philipl/drivetemp + + $drivetemp = lookup('nodo::sensors::drivetemp', undef, undef, 'present') + + nodo::subsystem::modprobe::module { 'drivetemp': + ensure => $drivetemp, + } + + # # hddtemp # @@ -37,18 +53,4 @@ class nodo::subsystem::sensors { default => absent, } } - - # - # drivetemp - # - # https://www.baeldung.com/linux/hdd-ssd-temperature - # https://askubuntu.com/questions/1426482/tool-to-monitor-hdd-temperature-in-ubuntu-server-22-04 - # https://wiki.archlinux.org/title/Lm_sensors#S.M.A.R.T._drive_temperature - # https://github.com/philipl/drivetemp - - $drivetemp = lookup('nodo::sensors::drivetemp', undef, undef, 'present') - - nodo::subsystem::modprobe::module { 'drivetemp': - ensure => $drivetemp, - } } diff --git a/manifests/utils.pp b/manifests/utils.pp index bd8f692..5847438 100644 --- a/manifests/utils.pp +++ b/manifests/utils.pp @@ -1,5 +1,12 @@ # Common utilities class nodo::utils inherits nodo::utils::base { + # Ensure every node are ready for offline operation + package { [ + 'apt-offline', + ]: + ensure => present, + } + package { [ 'pv', 'gcp', diff --git a/manifests/utils/office/console.pp b/manifests/utils/office/console.pp index b35247e..201adbb 100644 --- a/manifests/utils/office/console.pp +++ b/manifests/utils/office/console.pp @@ -17,6 +17,11 @@ class nodo::utils::office::console ( #'worklog', #'lolcat', #'aewan', + + # Needed by finder + # https://git.fluxo.info/finder + 'python3-prompt-toolkit', + 'python3-platformdirs', ]: ensure => $ensure, } diff --git a/manifests/utils/office/gui.pp b/manifests/utils/office/gui.pp index 6cde1aa..5f80288 100644 --- a/manifests/utils/office/gui.pp +++ b/manifests/utils/office/gui.pp @@ -4,6 +4,7 @@ class nodo::utils::office::gui ( package { [ 'libreoffice', 'libreoffice-gtk3', + 'pdfarranger', #'pdftk', ]: ensure => $ensure, diff --git a/manifests/utils/storage/archive.pp b/manifests/utils/storage/archive.pp index 336c74d..9eecc44 100644 --- a/manifests/utils/storage/archive.pp +++ b/manifests/utils/storage/archive.pp @@ -6,6 +6,7 @@ class nodo::utils::storage::archive ( 'convmv', 'rdfind', 'rclone', + 'onionshare', ]: #ensure => latest, ensure => $ensure, |