From e9aa5167676c1c4f46e4382bc4d2814a4d9ba64a 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:23:42 +0200 Subject: [PATCH] Added file to see when Pupped was last executed. --- manifests/init.pp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index c1e99e4..946d441 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -31,6 +31,15 @@ class aes { content => file("${module_name}/anacrontab"), } + # 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' : + cwd => "${opendsa_home}", + creates => "/var/last_puppet_run", + user => root, + group => root, + } + ::users::liu_user { 'klaar36': commonname => 'Klas Arvidsson', shell => '/bin/bash', -- GitLab