diff --git a/REFERENCE.md b/REFERENCE.md index afc63faf..7f238892 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -2073,7 +2073,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 5d35011e..9d0430f4 100644 --- a/manifests/unit_file.pp +++ b/manifests/unit_file.pp @@ -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,