From ef2602f2f0e224820eaf625df3a79c3898f2a1d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Str=C3=B6mb=C3=A4ck?= <filip.stromback@liu.se> Date: Wed, 30 Sep 2020 14:49:39 +0200 Subject: [PATCH] Fixed the path of the touch command. --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index f16d72c..57886d6 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -33,7 +33,7 @@ class aes { # File to easily see when Puppet was last executed. # Ideally, we would like to know if it is devel or production as well. - exec { 'touch /var/last_puppet_run' : + exec { '/usr/bin/touch /var/last_puppet_run' : cwd => "/var", creates => "/var/last_puppet_run", user => root, -- GitLab