Skip to content

Commit

Permalink
Merge pull request #434 from voxpupuli/unit_file_ensure
Browse files Browse the repository at this point in the history
Don't allow ensure=file anymore for systemd::unit_file
  • Loading branch information
baurmatt authored Mar 13, 2024
2 parents 23dbcf7 + 24789f3 commit 89edd13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2100,7 +2100,7 @@ The target unit file to create

##### <a name="-systemd--unit_file--ensure"></a>`ensure`

Data type: `Enum['present', 'absent', 'file']`
Data type: `Enum['present', 'absent']`

The state of the unit file to ensure

Expand Down
2 changes: 1 addition & 1 deletion manifests/unit_file.pp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
# }
#
define systemd::unit_file (
Enum['present', 'absent', 'file'] $ensure = 'present',
Enum['present', 'absent'] $ensure = 'present',
Stdlib::Absolutepath $path = '/etc/systemd/system',
Optional[Variant[String, Sensitive[String], Deferred]] $content = undef,
Optional[String] $source = undef,
Expand Down

0 comments on commit 89edd13

Please sign in to comment.