Skip to content

Commit

Permalink
Correct docs for name var of systemd::dropin_file
Browse files Browse the repository at this point in the history
The filename and unit parameter wered documented incorrectly
as to which was the name variable.
  • Loading branch information
traylenator committed Jun 29, 2022
1 parent 673cbc9 commit c6dbd26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -637,13 +637,13 @@ The following parameters are available in the `systemd::dropin_file` defined typ

Data type: `Systemd::Unit`

the The target unit file to create, the value will be set to the `filename` parameter as well
the The target unit file to create

##### <a name="filename"></a>`filename`

Data type: `Systemd::Dropin`

The target unit file to create
The target unit file to create, the value will default to the name of the type

Default value: `$name`

Expand Down
4 changes: 2 additions & 2 deletions manifests/dropin_file.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#
# @see systemd.unit(5)
#
# @param unit the The target unit file to create, the value will be set to the `filename` parameter as well
# @param filename The target unit file to create
# @param unit the The target unit file to create
# @param filename The target unit file to create, the value will default to the name of the type
# @param ensure the state of this dropin file
# @param path The main systemd configuration path
# @param selinux_ignore_defaults If Puppet should ignore the default SELinux labels.
Expand Down

0 comments on commit c6dbd26

Please sign in to comment.