Showing with 15 additions and 1 deletion.
  1. +9 −0 CHANGELOG.md
  2. +2 −0 REFERENCE.md
  3. +1 −1 metadata.json
  4. +1 −0 spec/type_aliases/systemd_unit_service_spec.rb
  5. +2 −0 types/unit/service.pp
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
Each new release typically also includes the latest modulesync defaults.
These should not affect the functionality of the module.

## [v6.2.0](https://github.com/voxpupuli/puppet-systemd/tree/v6.2.0) (2023-11-21)

[Full Changelog](https://github.com/voxpupuli/puppet-systemd/compare/v6.1.0...v6.2.0)

**Implemented enhancements:**

- Add `UMask` to `Systemd::Unit::Service` [\#393](https://github.com/voxpupuli/puppet-systemd/pull/393) ([griggi-ws](https://github.com/griggi-ws))
- Add `StateDirectory` to `Systemd::Unit::Service` [\#392](https://github.com/voxpupuli/puppet-systemd/pull/392) ([henrixh](https://github.com/henrixh))

## [v6.1.0](https://github.com/voxpupuli/puppet-systemd/tree/v6.1.0) (2023-10-30)

[Full Changelog](https://github.com/voxpupuli/puppet-systemd/compare/v6.0.0...v6.1.0)
Expand Down
2 changes: 2 additions & 0 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2346,6 +2346,7 @@ Alias of
```puppet
Struct[{
Optional['AmbientCapabilities'] => Variant[Pattern[/^CAP_[A-Z_]+$/],Array[Pattern[/^CAP_[A-Z_]+$/],1]],
Optional['UMask'] => String[3,4],
Optional['User'] => String[1],
Optional['Group'] => String[1],
Optional['DynamicUser'] => Boolean,
Expand Down Expand Up @@ -2444,6 +2445,7 @@ Struct[{
Optional['PrivateTmp'] => Boolean,
Optional['RuntimeDirectory'] => String,
Optional['RuntimeDirectoryMode'] => Stdlib::Filemode,
Optional['StateDirectory'] => String,
Optional['LogsDirectory'] => String,
Optional['LogsDirectoryMode'] => Stdlib::Filemode,
Optional['ProtectSystem'] => Variant[Boolean, Enum['full', 'strict']],
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppet-systemd",
"version": "6.1.0",
"version": "6.2.0",
"author": "Vox Pupuli",
"summary": "Puppet Systemd module",
"license": "Apache-2.0",
Expand Down
1 change: 1 addition & 0 deletions spec/type_aliases/systemd_unit_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

it { is_expected.to allow_value({ 'User' => 'root' }) }
it { is_expected.to allow_value({ 'Group' => 'root' }) }
it { is_expected.to allow_value({ 'UMask' => '0022' }) }
it { is_expected.to allow_value({ 'StandardOutput' => 'null' }) }
it { is_expected.to allow_value({ 'StandardError' => 'null' }) }

Expand Down
2 changes: 2 additions & 0 deletions types/unit/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
type Systemd::Unit::Service = Struct[
{
Optional['AmbientCapabilities'] => Variant[Pattern[/^CAP_[A-Z_]+$/],Array[Pattern[/^CAP_[A-Z_]+$/],1]],
Optional['UMask'] => String[3,4],
Optional['User'] => String[1],
Optional['Group'] => String[1],
Optional['DynamicUser'] => Boolean,
Expand Down Expand Up @@ -103,6 +104,7 @@
Optional['PrivateTmp'] => Boolean,
Optional['RuntimeDirectory'] => String,
Optional['RuntimeDirectoryMode'] => Stdlib::Filemode,
Optional['StateDirectory'] => String,
Optional['LogsDirectory'] => String,
Optional['LogsDirectoryMode'] => Stdlib::Filemode,
Optional['ProtectSystem'] => Variant[Boolean, Enum['full', 'strict']],
Expand Down