Skip to content

Commit

Permalink
Don't allow ensure=file anymore
Browse files Browse the repository at this point in the history
@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.
  • Loading branch information
baurmatt committed Mar 11, 2024
1 parent 27be226 commit df1d762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/unit_file.pp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,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 df1d762

Please sign in to comment.