From 715bf1c4bb8e2d55ccd0132b29db0d9c857df86b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Filip=20Str=C3=B6mb=C3=A4ck?= <filip.stromback@liu.se>
Date: Mon, 21 Aug 2023 15:36:21 +0200
Subject: [PATCH] Disabled 'last-puppet-run', fixed lint warning.

---
 manifests/init.pp    | 10 +++++-----
 manifests/opendsa.pp |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/manifests/init.pp b/manifests/init.pp
index 6f3529e..03a9484 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -61,11 +61,11 @@ 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 { '/usr/bin/touch /var/last_puppet_run' :
-    cwd   => '/var',
-    user  => root,
-    group => root,
-  }
+  # exec { '/usr/bin/touch /var/last_puppet_run' :
+  #   cwd   => '/var',
+  #   user  => root,
+  #   group => root,
+  # }
 
   # File containing which environment is used.
   file { '/var/puppet_environment' :
diff --git a/manifests/opendsa.pp b/manifests/opendsa.pp
index a0b5afd..04c8ef3 100644
--- a/manifests/opendsa.pp
+++ b/manifests/opendsa.pp
@@ -63,7 +63,7 @@ class aes::opendsa {
     command     => "${opendsa_home}/on_update.sh",
     require     => File["${opendsa_home}/on_update.sh"],
     notify      => Service[$opendsa_service],
-    refreshonly => true
+    refreshonly => true,
   }
 
   file { "${opendsa_home}/manage.sh":
-- 
GitLab