HomeSoftware Heritage

Bump version to 3.0.0-rc0 (#186)

Description

Bump version to 3.0.0-rc0 (#186)

97dd16fa32886b5b0f77a6f38a4953d4c1511c0e was a breaking change. Bumping
the version helps consuming modules to make a distinction with the
following code:

    $metadata = load_module_metadata('systemd')
    if SemVer($metadata['version']) >= SemVer('3.0.0') {}

My use cases is:

    systemd::unit_file { 'myservice.socket':
      content => file('mymodule/myservice.socket'),
      enable  => true,
      active  => true,
    }
    systemd::unit_file { 'myservice.service':
      content => file('mymodule/myservice.service'),
      enable  => true,
      active  => true,
    }
    $metadata = load_module_metadata('systemd')
    if SemVer($metadata['version']) >= SemVer('3.0.0') {
      Systemd::Unit_file['myservice.socket'] -> Systemd::Unit_file['myservice.service']
    }

This allows me to maintain Puppet 5 support for a bit longer while also
working with the latest version.

Details

Provenance
Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>Authored on Mar 18 2021, 8:01 AM
GitHub <noreply@github.com>Committed on Mar 18 2021, 8:01 AM
ardumontPushed on Aug 3 2021, 4:15 PM
Parents
R139:97dd16fa3288: Drop Puppet 4 and 5 support + daemon-reload code (#171)
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed R139:f9f848e2a709: Bump version to 3.0.0-rc0 (#186) (authored by Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>).Mar 18 2021, 8:01 AM