Releases: basvandervlies/cf_surfsara_lib
Releases · basvandervlies/cf_surfsara_lib
1.6.0
SCL enhancements:
- scl_mustache_service_autorun bug fix if called 2 times for same service with different bundles
- scl_service_copy_dirs will also set the destination directory permission to the specified perm
- renamed run_def_json.sh copy CLASSES ( eg, -DTEMPLATE_LOCAL_COPY, MUSTACHE_LOCAL_COPY and JSON_LOCAL_COPY ) to SCLOCAL
- DEBUG service (eg, -DDEBUG_slurm) will show for which classes the service is enabled
R: scl_services_run: 'slurm' is only enabled for class: `{ "SLURM_CLIENT", "SLURM_SERVER" }`
These services have bug fixes or new features:
- apache:
- service/daemon check matched unwanted processes, replace is with services: proise type
- apt:
- Added new class to be set on commandline to byopass schedule for debconf, APT_DEBCONF
- debian 12 and higher use non-free-firmware instead of non-free
- pam:
- made /etc/security/limits.sh configurable via mustache/json
- slurm:
- Added generation of job_container.conf, default mode is ignore the file JobContainerType=job_container/none
- Added support for slurmrestd service
- systemd service files are more configurable via mustache/json
- switch to group promise type and create slurm/slurmrestd logins for tarball installations
- Added nodeset_section to define Nodesets with as keyword the name of the Nodeset
- Added support for job_container_tmpfs
- Enabled default jwt support needed from slurmrestd, See AuthAlt keyword
1.5.0
- drop support for CFengine 3.7 and 3.10 Code is removed
- Added
run_class
option tocopy_files
scl_mustach_copy
can now handle debug output for string and listscl_service_rotate_files
logic rewrite so that it works as expectedscl_copy_files
andscl_service_install_tarballs
fix for run_bundle did not work must use class<file>_repaired
- added new scl library bodies:
scl_cmd_kept
: Only set class<value>_succeded
when command exits with value 0
- The json filenames that must be loaded can now contain variable names, eg:
"ssh": {
"json_files": [
"soil_$(def.cluster_role).json"
]
- New method for copy/expanding mustache templates
scl_mustache_service_autorun
, Each bundle can define templates to be used, eg:scl_mustache_service_autorun("resolv", "")
, usesresolv.template_2_destination
scl_mustache_service_autorun("resolv", "resolv_other_bundle")
, usesresolv_other_bundle.template_2_destination
1.4.1
- ported to cfengine => 3.20,
rxdirs
default option changed tofalse
for those release (scl_service_copy_dirs
will fail)
1.4.0
- A class will be set for each service that is enabled, eg:
SCL_SERVICE_NTP_ENABLED
- A class will be set for each inventory modules that is enabled, eg:
SCL_INVENTORY_LSCPU_ENABLED
sara_data
is replaced byscl
for all json/mustache filescf_bundles_dir
is replaced by standard shortcutdata
for all json/mustache files- Added some new scl bundlies:
scl_tidy_directory
,scl_tidy_files
- Added some new scl bodies:
scl_days_old_by_atime
Service variables are better resolved
- lscpu inventory module report if
jq
not found (#100) - jupyterhub, slurm, munge, resolv, node_exporter have bug fixes or new features
Version 1.2.0 resolve issue with undefined bodies/bundles
- Some service bundle still referenced an old company library
- Added a new bundle that can be used by services
scl_service_rotate_files
. - Jupyterhub and Postfix service enhancements
Version 1.1.0 added cfbs support
- Added support for CFEngine build system (cbfs)
- template directory has been changed to
templates/scl
copy_files
,copy_dirs
andinstall_tarballs
set classes if a file, directory or tarball has been changed- nsswitch, postifx (a lot of configs are supported), slurm have bug fixes or new features
- Added a new service
sssd
(System Security Services Daemon)
1.0.0
- the library is called
SCL
and the library is rewritten with this prefix (major change) - slurm now supports
configless
mode by setting the classSLURM_CONFIGLESS
- added a new library file boot.cf: This will run all bundles that have the tag
scl_boot
- added a new library file paths.cf: Extends the
paths
variable in cfengine masterfiles with some that is used by the SCL framework. - added a new module
mellanox
set class based on device type. - apache bug fix in access_log definition
0.9.89
- SCL module installation for masterfiles framework was wrong
0.9.88
- Services updates: apache, pam, slurm
- Meta tag autorun is renamed to service_'name'
- for detailed description see Changelog link