Skip to content

Releases: basvandervlies/cf_surfsara_lib

1.6.0

08 Jan 20:08
424d9de
Compare
Choose a tag to compare

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

12 May 10:24
c15fc0a
Compare
Choose a tag to compare
  • drop support for CFengine 3.7 and 3.10 Code is removed
  • Added run_class option to copy_files
  • scl_mustach_copy can now handle debug output for string and list
  • scl_service_rotate_files logic rewrite so that it works as expected
  • scl_copy_files and scl_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", ""), uses resolv.template_2_destination
    • scl_mustache_service_autorun("resolv", "resolv_other_bundle"), uses resolv_other_bundle.template_2_destination

1.4.1

12 Jul 13:45
4a48cdb
Compare
Choose a tag to compare
  • ported to cfengine => 3.20, rxdirs default option changed to false for those release (scl_service_copy_dirs will fail)

1.4.0

08 Jun 12:17
Compare
Choose a tag to compare
  • 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 by scl for all json/mustache files
  • cf_bundles_dir is replaced by standard shortcut data 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

04 May 15:02
74d8d05
Compare
Choose a tag to compare
  • 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

26 Jan 13:18
09e07dd
Compare
Choose a tag to compare
  • 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

20 Dec 14:39
38ebc2d
Compare
Choose a tag to compare
  • Added support for CFEngine build system (cbfs)
  • template directory has been changed to templates/scl
  • copy_files, copy_dirs and install_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

10 Nov 18:44
d2298a3
Compare
Choose a tag to compare
  • the library is called SCL and the library is rewritten with this prefix (major change)
  • slurm now supports configless mode by setting the class SLURM_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

28 Mar 16:29
2e9fbe1
Compare
Choose a tag to compare
  • SCL module installation for masterfiles framework was wrong

0.9.88

17 Mar 23:08
96b5596
Compare
Choose a tag to compare
  • Services updates: apache, pam, slurm
  • Meta tag autorun is renamed to service_'name'
  • for detailed description see Changelog link