diff --git a/REFERENCE.md b/REFERENCE.md index 13168c18..9cd39649 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -2100,7 +2100,7 @@ The target unit file to create ##### `ensure` -Data type: `Enum['present', 'absent', 'file']` +Data type: `Enum['present', 'absent']` The state of the unit file to ensure diff --git a/manifests/unit_file.pp b/manifests/unit_file.pp index f0e50b75..237e27a9 100644 --- a/manifests/unit_file.pp +++ b/manifests/unit_file.pp @@ -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,