Skip to content

Commit 5e2b0c9

Browse files
Release of 3.10.0 (#285)
1 parent dee4aa6 commit 5e2b0c9

File tree

3 files changed

+75
-2
lines changed

3 files changed

+75
-2
lines changed

CHANGELOG.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@ All notable changes to this project will be documented in this file.
44
Each new release typically also includes the latest modulesync defaults.
55
These should not affect the functionality of the module.
66

7+
## [v3.10.0](https://github.com/voxpupuli/puppet-systemd/tree/v3.10.0) (2022-06-20)
8+
9+
[Full Changelog](https://github.com/voxpupuli/puppet-systemd/compare/v3.9.0...v3.10.0)
10+
11+
**Implemented enhancements:**
12+
13+
- systemd::timer: move variable definition close to where it is used [\#280](https://github.com/voxpupuli/puppet-systemd/pull/280) ([simondeziel](https://github.com/simondeziel))
14+
- Add comment hint about initrd for folks [\#279](https://github.com/voxpupuli/puppet-systemd/pull/279) ([jcpunk](https://github.com/jcpunk))
15+
- Fix systemctl daemon-reload after file additions [\#277](https://github.com/voxpupuli/puppet-systemd/pull/277) ([trevor-vaughan](https://github.com/trevor-vaughan))
16+
- systemd::resolved: save readlink's value to avoid calling it twice [\#276](https://github.com/voxpupuli/puppet-systemd/pull/276) ([simondeziel](https://github.com/simondeziel))
17+
18+
**Fixed bugs:**
19+
20+
- systemd::dropin\_file doesn't cause a systemd daemon-reload [\#234](https://github.com/voxpupuli/puppet-systemd/issues/234)
21+
22+
**Merged pull requests:**
23+
24+
- Minor wordsmithing in README [\#283](https://github.com/voxpupuli/puppet-systemd/pull/283) ([op-ct](https://github.com/op-ct))
25+
- Correct spelling mistakes [\#275](https://github.com/voxpupuli/puppet-systemd/pull/275) ([EdwardBetts](https://github.com/EdwardBetts))
26+
727
## [v3.9.0](https://github.com/voxpupuli/puppet-systemd/tree/v3.9.0) (2022-05-25)
828

929
[Full Changelog](https://github.com/voxpupuli/puppet-systemd/compare/v3.8.0...v3.9.0)
@@ -20,7 +40,7 @@ These should not affect the functionality of the module.
2040

2141
**Fixed bugs:**
2242

23-
- Ensure systemd-networkd is available piror notifying service [\#269](https://github.com/voxpupuli/puppet-systemd/pull/269) ([mat1010](https://github.com/mat1010))
43+
- Ensure systemd-networkd is available prior to notifying service [\#269](https://github.com/voxpupuli/puppet-systemd/pull/269) ([mat1010](https://github.com/mat1010))
2444

2545
**Closed issues:**
2646

REFERENCE.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
### Defined types
3030

31+
* [`systemd::daemon_reload`](#systemddaemon_reload): Run systemctl daemon-reload
3132
* [`systemd::dropin_file`](#systemddropin_file): Creates a drop-in file for a systemd unit
3233
* [`systemd::modules_load`](#systemdmodules_load): Creates a modules-load.d drop file
3334
* [`systemd::network`](#systemdnetwork): Creates network config for systemd-networkd
@@ -581,6 +582,31 @@ Default value: `['create']`
581582

582583
## Defined types
583584

585+
### <a name="systemddaemon_reload"></a>`systemd::daemon_reload`
586+
587+
Run systemctl daemon-reload
588+
589+
#### Parameters
590+
591+
The following parameters are available in the `systemd::daemon_reload` defined type:
592+
593+
* [`name`](#name)
594+
* [`enable`](#enable)
595+
596+
##### <a name="name"></a>`name`
597+
598+
A globally unique name for the resource
599+
600+
##### <a name="enable"></a>`enable`
601+
602+
Data type: `Boolean`
603+
604+
Enable the reload exec
605+
606+
* Added in case users want to disable the reload globally using a resource collector
607+
608+
Default value: ``true``
609+
584610
### <a name="systemddropin_file"></a>`systemd::dropin_file`
585611

586612
Creates a drop-in file for a systemd unit
@@ -605,6 +631,7 @@ The following parameters are available in the `systemd::dropin_file` defined typ
605631
* [`mode`](#mode)
606632
* [`show_diff`](#show_diff)
607633
* [`notify_service`](#notify_service)
634+
* [`daemon_reload`](#daemon_reload)
608635

609636
##### <a name="unit"></a>`unit`
610637

@@ -708,6 +735,14 @@ Notify a service for the unit, if it exists
708735

709736
Default value: ``false``
710737

738+
##### <a name="daemon_reload"></a>`daemon_reload`
739+
740+
Data type: `Boolean`
741+
742+
Call systemd::daemon_reload
743+
744+
Default value: ``true``
745+
711746
### <a name="systemdmodules_load"></a>`systemd::modules_load`
712747

713748
Creates a modules-load.d drop file
@@ -989,6 +1024,7 @@ The following parameters are available in the `systemd::timer` defined type:
9891024
* [`active`](#active)
9901025
* [`enable`](#enable)
9911026
* [`ensure`](#ensure)
1027+
* [`daemon_reload`](#daemon_reload)
9921028

9931029
##### <a name="name"></a>`name`
9941030

@@ -1112,6 +1148,14 @@ Defines the desired state of the timer
11121148

11131149
Default value: `'present'`
11141150

1151+
##### <a name="daemon_reload"></a>`daemon_reload`
1152+
1153+
Data type: `Boolean`
1154+
1155+
Call `systemd::daemon_reload`
1156+
1157+
Default value: ``true``
1158+
11151159
### <a name="systemdtmpfile"></a>`systemd::tmpfile`
11161160

11171161
Creates a systemd tmpfile
@@ -1277,6 +1321,7 @@ The following parameters are available in the `systemd::unit_file` defined type:
12771321
* [`hasstatus`](#hasstatus)
12781322
* [`selinux_ignore_defaults`](#selinux_ignore_defaults)
12791323
* [`service_parameters`](#service_parameters)
1324+
* [`daemon_reload`](#daemon_reload)
12801325

12811326
##### <a name="name"></a>`name`
12821327

@@ -1418,6 +1463,14 @@ hash that will be passed with the splat operator to the service resource
14181463

14191464
Default value: `{}`
14201465

1466+
##### <a name="daemon_reload"></a>`daemon_reload`
1467+
1468+
Data type: `Boolean`
1469+
1470+
call `systemd::daemon-reload` to ensure that the modified unit file is loaded
1471+
1472+
Default value: ``true``
1473+
14211474
## Resource types
14221475

14231476
### <a name="loginctl_user"></a>`loginctl_user`

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puppet-systemd",
3-
"version": "3.9.1-rc0",
3+
"version": "3.10.0",
44
"author": "Vox Pupuli",
55
"summary": "Puppet Systemd module",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)