aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/etc/locale.gen97
-rw-r--r--manifests/base/physical.pp4
-rw-r--r--manifests/role/nas.pp2
-rw-r--r--manifests/subsystem/inception.pp3
-rw-r--r--manifests/utils/microcode/amd64.pp15
-rw-r--r--manifests/utils/microcode/intel.pp11
-rw-r--r--manifests/utils/network/ftp.pp9
7 files changed, 137 insertions, 4 deletions
diff --git a/files/etc/locale.gen b/files/etc/locale.gen
index 4861ee7..6726392 100644
--- a/files/etc/locale.gen
+++ b/files/etc/locale.gen
@@ -421,3 +421,100 @@ pt_BR.UTF-8 UTF-8
# zh_TW.UTF-8 UTF-8
# zu_ZA ISO-8859-1
# zu_ZA.UTF-8 UTF-8
+# C.UTF-8 UTF-8
+# agr_PE UTF-8
+# ak_GH UTF-8
+# anp_IN UTF-8
+# ar_SS UTF-8
+# as_IN UTF-8
+# ayc_PE UTF-8
+# az_AZ UTF-8
+# az_IR UTF-8
+# bem_ZM UTF-8
+# bhb_IN.UTF-8 UTF-8
+# bho_IN UTF-8
+# bho_NP UTF-8
+# bi_VU UTF-8
+# bo_CN UTF-8
+# bo_IN UTF-8
+# brx_IN UTF-8
+# ca_ES@valencia UTF-8
+# ce_RU UTF-8
+# chr_US UTF-8
+# ckb_IQ UTF-8
+# cmn_TW UTF-8
+# cv_RU UTF-8
+# de_IT ISO-8859-1
+# de_IT.UTF-8 UTF-8
+# doi_IN UTF-8
+# dsb_DE UTF-8
+# dv_MV UTF-8
+# el_GR@euro ISO-8859-7
+# en_AG UTF-8
+# en_IL UTF-8
+# en_SC.UTF-8 UTF-8
+# en_ZM UTF-8
+# eo UTF-8
+# es_CU UTF-8
+# ff_SN UTF-8
+# hak_TW UTF-8
+# hif_FJ UTF-8
+# hne_IN UTF-8
+# ht_HT UTF-8
+# ia_FR UTF-8
+# kab_DZ UTF-8
+# kk_KZ.RK1048 RK1048
+# kok_IN UTF-8
+# ks_IN@devanagari UTF-8
+# lb_LU UTF-8
+# lij_IT UTF-8
+# ln_CD UTF-8
+# lzh_TW UTF-8
+# mag_IN UTF-8
+# mai_NP UTF-8
+# mfe_MU UTF-8
+# mhr_RU UTF-8
+# miq_NI UTF-8
+# mjw_IN UTF-8
+# mni_IN UTF-8
+# mnw_MM UTF-8
+# my_MM UTF-8
+# nan_TW UTF-8
+# nan_TW@latin UTF-8
+# nhn_MX UTF-8
+# niu_NU UTF-8
+# niu_NZ UTF-8
+# nl_AW UTF-8
+# os_RU UTF-8
+# pap_AW UTF-8
+# pap_CW UTF-8
+# ps_AF UTF-8
+# quz_PE UTF-8
+# raj_IN UTF-8
+# rif_MA UTF-8
+# sah_RU UTF-8
+# sat_IN UTF-8
+# sd_IN UTF-8
+# sd_IN@devanagari UTF-8
+# sgs_LT UTF-8
+# shn_MM UTF-8
+# shs_CA UTF-8
+# sm_WS UTF-8
+# sq_MK UTF-8
+# sw_KE UTF-8
+# sw_TZ UTF-8
+# syr UTF-8
+# szl_PL UTF-8
+# ta_LK UTF-8
+# tcy_IN.UTF-8 UTF-8
+# the_NP UTF-8
+# to_TO UTF-8
+# tpi_PG UTF-8
+# tt_RU UTF-8
+# tt_RU@iqtelif UTF-8
+# unm_US UTF-8
+# ur_IN UTF-8
+# wae_CH UTF-8
+# wal_ET UTF-8
+# yue_HK UTF-8
+# yuw_PG UTF-8
diff --git a/manifests/base/physical.pp b/manifests/base/physical.pp
index 035f5c7..42d2ce1 100644
--- a/manifests/base/physical.pp
+++ b/manifests/base/physical.pp
@@ -1,6 +1,10 @@
class nodo::base::physical inherits nodo::base::host {
include nodo::subsystem::sensors
+ # Install all available CPU microcode packages
+ include nodo::utils::microcode::intel
+ include nodo::utils::microcode::amd64
+
# Downtime monitoring
#
# Check https://tracker.debian.org/pkg/downtimed
diff --git a/manifests/role/nas.pp b/manifests/role/nas.pp
index 27d06bd..ca2059f 100644
--- a/manifests/role/nas.pp
+++ b/manifests/role/nas.pp
@@ -96,6 +96,8 @@ class nodo::role::nas(
virtualchroot => true,
}
+ include nodo::utils::network::ftp
+
# Enable anonymous ftp
file { '/etc/pure-ftpd/conf/NoAnonymous':
ensure => present,
diff --git a/manifests/subsystem/inception.pp b/manifests/subsystem/inception.pp
index 72df2e7..8698baa 100644
--- a/manifests/subsystem/inception.pp
+++ b/manifests/subsystem/inception.pp
@@ -9,8 +9,9 @@ define nodo::subsystem::inception(
user => $name,
provider => git,
source => "https://git.fluxo.info/${git_dev}/apps",
- revision => '958c2ffdeae9018980bf8aa5b6c63ce6bf301f4a',
+ revision => '2a58bb3945c96b02bd65d0d59b421fadc61a99ff',
submodules => true,
+ depth => 1,
require => [ File["/home/${name}"], User[$name] ],
}
diff --git a/manifests/utils/microcode/amd64.pp b/manifests/utils/microcode/amd64.pp
new file mode 100644
index 0000000..653f1f1
--- /dev/null
+++ b/manifests/utils/microcode/amd64.pp
@@ -0,0 +1,15 @@
+class nodo::utils::microcode::amd64 (
+ $ensure = 'installed',
+) {
+ # Microcode
+ #
+ # See https://wiki.debian.org/Microcode
+ package { [
+ 'amd64-microcode',
+ ]:
+ ensure => $architecture ? {
+ 'amd64' => $ensure,
+ default => absent,
+ },
+ }
+}
diff --git a/manifests/utils/microcode/intel.pp b/manifests/utils/microcode/intel.pp
index 10a32ef..fd3664b 100644
--- a/manifests/utils/microcode/intel.pp
+++ b/manifests/utils/microcode/intel.pp
@@ -2,11 +2,16 @@ class nodo::utils::microcode::intel (
$ensure = 'installed',
) {
# Microcode
- # See https://wiki.archlinux.org/index.php/Microcode
- # http://en.gentoo-wiki.com/wiki/Intel_Microcode
+ #
+ # See https://wiki.debian.org/Microcode
+ # https://wiki.archlinux.org/index.php/Microcode
+ # https://wiki.gentoo.org/wiki/Intel_microcode
package { [
'intel-microcode',
]:
- ensure => $ensure,
+ ensure => $architecture ? {
+ 'amd64' => $ensure,
+ default => absent,
+ },
}
}
diff --git a/manifests/utils/network/ftp.pp b/manifests/utils/network/ftp.pp
new file mode 100644
index 0000000..854769e
--- /dev/null
+++ b/manifests/utils/network/ftp.pp
@@ -0,0 +1,9 @@
+class nodo::utils::network::ftp (
+ $ensure = 'installed',
+) {
+ package { [
+ 'ftp',
+ ]:
+ ensure => $ensure,
+ }
+}