Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: voxpupuli/puppet-systemd
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.12.0
Choose a base ref
...
head repository: voxpupuli/puppet-systemd
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.0.0
Choose a head ref
  • 7 commits
  • 17 files changed
  • 5 contributors

Commits on Feb 17, 2021

  1. Correct path in use_stub_resolver documentation (#177)

    d1c2ec3 added use_stub_resolver as a
    parameter but there's a mismatch between the code and documentation.
    While in practice /var/run is a symlink to /run and the mismatch doesn't
    really matter, it's better to have them match to avoid confusion.
    ekohl authored Feb 17, 2021
    Configuration menu
    Copy the full SHA
    8f68b0d View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2021

  1. Drop Puppet 4 and 5 support + daemon-reload code (#171)

    * Drop Puppet 4 and 5 support
    
    This picks version 6.1.0 as a new lower bound since that contains code
    to automatically run daemon-reload if needed. Versions 4 and 5 are EOL.
    
    * Drop daemon-reload code
    
    Since Puppet 6.1.0 it's no longer needed to run daemon-reload manually
    when restarting a service. That means it's possible to drop this code.
    
    * Implement a workaround for PUP-9473.
    
    Prior to this commit, the follow code did not suffer from PUP-9473:
    
        systemd::unit_file { 'myservice.service':
          ensure => absent,
          active => true,
        }
    
    That's because the module considers that an invalid state and fails to
    compile.
    
    The follow code did trigger the bug:
    
        systemd::unit_file { 'myservice.service':
          ensure => absent,
        }
    
        service { 'myservice':
          ensure  => running,
          require => Systemd::Unit_file['myservice.service'],
        }
    
    That's precisely what happens when a module switches from a
    module-provided unit file to a package-provided unit file.
    ekohl authored Feb 23, 2021
    Configuration menu
    Copy the full SHA
    97dd16f View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2021

  1. Bump version to 3.0.0-rc0 (#186)

    97dd16f 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.
    ekohl authored Mar 18, 2021
    Configuration menu
    Copy the full SHA
    f9f848e View commit details
    Browse the repository at this point in the history
  2. add ubuntu2004 (#187)

    GervaisdeM authored Mar 18, 2021
    1 Configuration menu
    Copy the full SHA
    0fcb012 View commit details
    Browse the repository at this point in the history
  3. allow Puppet 7 and add to Travis testing; remove Puppet 5 from Travis…

    … testing (#183)
    
    * metadata: allow Puppet 7
    
    * .travis.yml: remove Puppet 5, add Puppet 7
    
    Puppet 5 support was dropped in #171, so no need to test with it
    anymore.
    kenyon authored Mar 18, 2021
    Configuration menu
    Copy the full SHA
    df098a5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    319bb69 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2021

  1. release 3.0.0 (#189)

    * release 3.0.0
    
    * Update CHANGELOG.md
    
    Co-authored-by: Raphaël Pinson <github+aem1eeshi1@raphink.net>
    bastelfreak and raphink authored Apr 16, 2021
    Configuration menu
    Copy the full SHA
    aa7223a View commit details
    Browse the repository at this point in the history
Loading