From c96d2454a3c2ab0d03cf7f3e469c1331062830f3 Mon Sep 17 00:00:00 2001 From: Alexander Fisher Date: Tue, 27 Jul 2021 14:39:20 +0100 Subject: [PATCH] Allow `systemd::unit_file` `Deferred` `content` --- manifests/unit_file.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/unit_file.pp b/manifests/unit_file.pp index eb5363fd..4029a28c 100644 --- a/manifests/unit_file.pp +++ b/manifests/unit_file.pp @@ -1,4 +1,4 @@ -# Creates a systemd unit file +# @summary Creates a systemd unit file # # @api public # @@ -52,7 +52,7 @@ define systemd::unit_file ( Enum['present', 'absent', 'file'] $ensure = 'present', Stdlib::Absolutepath $path = '/etc/systemd/system', - Optional[Variant[String, Sensitive[String]]] $content = undef, + Optional[Variant[String, Sensitive[String], Deferred]] $content = undef, Optional[String] $source = undef, Optional[Stdlib::Absolutepath] $target = undef, String $owner = 'root',