Commits on Mar 7, 2024

  1. Configuration menu
    Copy the full SHA
    5f60418 View commit details
    Browse the repository at this point in the history
  2. Use stdlib::ensure

    baurmatt committed Mar 7, 2024
    3 Configuration menu
    Copy the full SHA
    7f63dfa View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Configuration menu
    Copy the full SHA
    5031e05 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2024

  1. Configuration menu
    Copy the full SHA
    a7d6ba5 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2024

  1. Correct typing for IOReadIOPSMax, IOWriteIOPSMax,... in manage_unit a…

    …nd manage_dropin.
    
    Useing any of the following directives in `systemd::manage_dropin` or
    `systemd::manage_unit` resulted in a compilation error.
    
    * `IODeviceWeight`
    * `IOReadBandwidthMax`
    * `IOWriteBandwidthMax`
    * `IOReadIOPSMax`
    * `IOWriteIOPSMax`
    
    The types for these directives in `Systemd::Unit::Slice` and
    `Systemd::Unit::Service` have now been updated.
    
    Example usage:
    
    ```puppet
    systemd::manage_dropin { 'devicelimits.conf':
      unit          =>  'special.service',
      service_entry => {
       'IOReadIOPSMax' => [
         ['/dev/afs',100],
         ['/dev/gluster','1000K'],
       ],
      },
    }
    ```
    
    would result in a drop in file of:
    
    ```config
    [Service]
    IOReadIOPSMax=/dev/afs 100
    IOReadIOPSMax=/dev/gluster 1000K
    ```
    traylenator committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    e42fe56 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #428 from /issues/291

    Add parameter to manage /etc/udev/rules.d directory
    TheMeier authored Mar 10, 2024
    Configuration menu
    Copy the full SHA
    51c0d2c View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. Merge pull request #405 from voxpupuli/unit_file_ensure_absent_link

    `systemd::unit_file`: Ensure link gets removed on `ensure => absent`
    baurmatt authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    b72cca8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #430 from traylenator/devicew

    Correct typing for IOReadIOPSMax, IOWriteIOPSMax,... in systemd::manage_dropin
    traylenator authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    27be226 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f0e25c View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. add trailing comma

    schustersv committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    834f2fa View commit details
    Browse the repository at this point in the history
  2. Merge pull request #433 from schustersv/optional_service_restart

    Make service restart upon unit file change optional
    bastelfreak authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    2b8eebf View commit details
    Browse the repository at this point in the history
  3. Don't allow ensure=file anymore

    @cocker-cc correctly mentioned in
    7f63dfa#commitcomment-139614892
    that after #405 `ensure=file` breaks due to `stdlib::ensure` not being
    able to handle that. As `file` is any way only a synonym for `present`,
    let's just remove it from the possible values.
    baurmatt committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    24789f3 View commit details
    Browse the repository at this point in the history
  4. Create manage_unit, manage_dropin types from hiera

    Units and dropins can now be created from hiera
    records:
    
    e.g.
    
    ```yaml
    systemd::manage_dropins:
      myconf.conf:
        ensure: present
        unit: myservice.service
        service_entry:
          Type: oneshot
          ExecStart:
            - ''
            - '/usr/bin/doit.sh'
    
    systemd::manage_units:
      myservice.service:
        unit_entry:
          Description: My Customisation
        service_entry:
          CPUWeight: 2000
    ```
    
    * Fixes #435
    traylenator committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    0ac9bfd View commit details
    Browse the repository at this point in the history
  5. rubocop fix

    traylenator committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    14b661c View commit details
    Browse the repository at this point in the history
  6. Merge pull request #436 from traylenator/hiera

    Create manage_unit, manage_dropin types from hiera
    traylenator authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    63a41e0 View commit details
    Browse the repository at this point in the history
  7. Use Stdlib::CreateResources type for hiera expansions

    For a number of paramaters which generate resources typically
    from hiera files use `Stdlib::CreateResources` type.
    
    This requires a newer puppetlabs-stdlib module.
    traylenator committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    35f648b View commit details
    Browse the repository at this point in the history
  8. init: service_limits param: don't refer to create_resources

    The code doesn't actually use create_resources anymore. This commit
    makes the doc string consistent with the other similar parameters.
    kenyon committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    d6c2f57 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #439 from kenyon/service_limits-doc

    `init`: `service_limits` param: don't refer to `create_resources`
    smortex authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    23dbcf7 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Merge pull request #434 from voxpupuli/unit_file_ensure

    Don't allow ensure=file anymore for systemd::unit_file
    baurmatt authored Mar 13, 2024
    Configuration menu
    Copy the full SHA
    89edd13 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. Add NetworkNamespacePath as a valid unit service configuration

    Roberto Valentini committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    e365b9f View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Merge pull request #441 from Valantin/bug-440

    Add NetworkNamespacePath as a valid unit service configuration
    kenyon authored Mar 19, 2024
    Configuration menu
    Copy the full SHA
    8480fed View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. remove resovled settings from config when changed to undef

    fixes #397
    Co-authored-by: Tim Meusel <tim@bastelfreak.de>
    TheMeier committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    9dbf780 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. Merge pull request #438 from traylenator/create

    Use Stdlib::CreateResources type for hiera expansions
    ekohl authored Mar 25, 2024
    Configuration menu
    Copy the full SHA
    48e0752 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2024

  1. Deprecate systemd::service_limits

    The `systemd::service_limts` and corresponding type
    `Systemd::Servicelimits` is deprecated.
    
    Switch to `systemd::dropin_file` for a source attributed
    `systemd::service_limits` or `systemd::manage_unit` for a
    `limits` attributed `systemd::service_limits`.
    traylenator committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    988d2c7 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. Support reload of instances of systemd --user

    This change increased the minimum required Puppet version to 6.24.0 or 7.9.0 [PUP-5704](https://puppet.atlassian.net/browse/PUP-5704) to support arrays to the command attribute of the exec type.
    
    Support the calling the `systemd --user daemon-reload` for a particular user.
    
    Example run:
    ```puppet
      notify{'junk':
        notify => Systemd::Daemon_reload['user_foobar'],
      }
    
      systemd::daemon_reload{'user_steve':
        user => 'steve',
      }
    ```
    
    This results on a Fedora box:
    
    ```
    Notice: /Stage[main]/Main/Notify[junk]/message: defined 'message' as 'junk'
    Notice: /Stage[main]/Main/Systemd::Daemon_reload[user_steve]/Package[systemd-container]: Triggered 'refresh' from 1 event
    Notice: /Stage[main]/Main/Systemd::Daemon_reload[user_steve]/Exec[systemd-user_steve-systemctl-user-steve-daemon-reload]: Triggered 'refresh' from 1 event
    ```
    and a journal (debug on) for user@1000.service of
    
    ```
    Mar 29 10:32:11 fedora systemd[2062]: Created slice background.slice - User Background Tasks Slice.
    Mar 29 10:32:11 fedora systemd[2062]: Starting systemd-tmpfiles-clean.service - Cleanup of User's Temporary Files and Directories...
    Mar 29 10:32:11 fedora systemd[2062]: Reloading requested from client PID 4379 ('systemctl')...
    Mar 29 10:32:11 fedora systemd[2062]: Reloading...
    Mar 29 10:32:11 fedora systemd[2062]: Reloading finished in 179 ms.
    Mar 29 10:32:11 fedora systemd[2062]: Finished systemd-tmpfiles-clean.service - Cleanup of User's Temporary Files and Directories.
    ...
    
    Only recent versions of `systemd-run` support the --machine option or actually manage to connect to DBUS.
    traylenator committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    05c1f19 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. New parameters to manage systemd-nspawn

    New parameters `systemd::manage_nspawn` defaulting to false,
    if true it will ensure that the `machinectl` and `systemd-nspawn`
    commands are available.
    
    When `true`.
    ```
    {
      systemd-nspawn@.service => "disabled",
    }
    ```
    traylenator committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    24642e1 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Merge pull request #444 from traylenator/nspawn

    New parameters to manage systemd-nspawn
    traylenator authored Apr 4, 2024
    Configuration menu
    Copy the full SHA
    fdf1274 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2024

  1. Manage unit running under systemd --user instance

    New defined type `systemd::user_service` has two roles:
    
    It can globally enable a user unit for all users. e.g:
    
    ```puppet
    systemd::user_service { 'systemd-tmpfiles-clean.service':
      enable => true,
      global => true,
    }
    ````
    
    If can start/stop/enable/disable a service running for a particular
    user. e.g
    
    systemd::user_service { 'ssh-agent.socket':
      ensure => 'running',
      enable => true,
      user   => 'steve',
    }
    
    The type instance can also be notified to reload the unit running under
    a `systemd --user` instance.
    
    ```puppet
    file{ '/home/steve/.gpg.conf':
      ensure  => file,
      content => "custom',
      notify  => Systemd::User_service['steve-gpg-agent.socket']
    }
    
    systemd::user_service { 'steve-gpg-agent.socket':
      ensure => true,
      enable => true,
      user   => 'steve',
    }
    ```
    
    Note - This merge request does not attempt to notify a
    `systemd::daemon-reload{'user': user => 'steve'} instance at
    the appropriate points. Solve that with real world experience.
    traylenator committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    79e94f9 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Configuration menu
    Copy the full SHA
    a46a7ff View commit details
    Browse the repository at this point in the history
  2. Merge pull request #446 from traylenator/userunit

    Manage units running under `systemd --user` instance
    traylenator authored Apr 8, 2024
    Configuration menu
    Copy the full SHA
    17ccd4e View commit details
    Browse the repository at this point in the history
  3. Merge pull request #443 from traylenator/machinectl

    Support reload of instances of systemd --user
    traylenator authored Apr 8, 2024
    Configuration menu
    Copy the full SHA
    f1c49bf View commit details
    Browse the repository at this point in the history
  4. Merge pull request #437 from traylenator/wrap

    Deprecate `systemd::service_limits`
    traylenator authored Apr 8, 2024
    Configuration menu
    Copy the full SHA
    95a67f5 View commit details
    Browse the repository at this point in the history
  5. Drop EoL Debian 10 support

    Debian 10 is dead upstream, we don't support it anymore.
    bastelfreak committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    dcc5c6d View commit details
    Browse the repository at this point in the history
  6. Merge pull request #448 from bastelfreak/debian10

    Drop EoL Debian 10 support
    bastelfreak authored Apr 8, 2024
    Configuration menu
    Copy the full SHA
    9824c55 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Correctly interpolate variables in service_limits

    Fixes: 988d2c7 ("Deprecate `systemd::service_limits`")
    ekohl committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    a51bc39 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #449 from ekohl/correct-service-limits-deprecation

    Correctly interpolate variables in service_limits
    kenyon authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    82aae63 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. Add test case for name of used types

    a51bc39 fixed a bug add
    a test to catch next time.
    traylenator committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    dcc69a2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #450 from traylenator/testcase

    Add test case for interpolation bug in name of used types
    traylenator authored Apr 10, 2024
    Configuration menu
    Copy the full SHA
    45e0953 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. Configuration menu
    Copy the full SHA
    d100996 View commit details
    Browse the repository at this point in the history
  2. modulesync 7.4.0

    zilchms committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    4b60ed4 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #453 from voxpupuli/modulesync

    modulesync 7.4.0
    zilchms authored Apr 12, 2024
    Configuration menu
    Copy the full SHA
    3af307e View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Merge pull request #452 from /issues/451

    remove `systemd::escape` usage for `timer_wrapper`
    TheMeier authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    1fddf50 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. Fix typo

    deric committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    6c01be8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #455 from deric/typo

    Fix typo
    ekohl authored Apr 23, 2024
    Configuration menu
    Copy the full SHA
    f12baf7 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #429 from /issues/397

    remove resolved settings from config when changed to `absent`
    TheMeier authored Apr 23, 2024
    Configuration menu
    Copy the full SHA
    9e330f9 View commit details
    Browse the repository at this point in the history
  4. Release 7.0.0

    TheMeier committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    f825ec2 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. modulesync 7.5.0

    zilchms committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    002f8d5 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Merge pull request #457 from voxpupuli/modulesync

    modulesync 7.5.0
    bastelfreak authored Apr 26, 2024
    Configuration menu
    Copy the full SHA
    dfc76ab View commit details
    Browse the repository at this point in the history
  2. Merge pull request #456 from voxpupuli/release-7.0.0

    Release 7.0.0
    TheMeier authored Apr 26, 2024
    Configuration menu
    Copy the full SHA
    734a9b9 View commit details
    Browse the repository at this point in the history