summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2019-09-13 05:47:11 +0000
committerintrigeri <intrigeri@boum.org>2019-09-13 05:55:30 +0000
commitc217eaec7c403e6a2a13c32ad7ac3dcdad28df8b (patch)
tree55d9d827a3ed94e290578b4ae3e0d4dd1aede7eb
parentbd996917721c4e8f4b2d0a3b3ba3b17089f3e4a5 (diff)
It's not a problem to include a class multiple times. Puppet will de-duplicate this itself.
-rw-r--r--manifests/jenkins/iso_jobs_generator.pp4
1 files changed, 1 insertions, 3 deletions
diff --git a/manifests/jenkins/iso_jobs_generator.pp b/manifests/jenkins/iso_jobs_generator.pp
index 0b066a1..6937ba1 100644
--- a/manifests/jenkins/iso_jobs_generator.pp
+++ b/manifests/jenkins/iso_jobs_generator.pp
@@ -15,9 +15,7 @@ class tails::jenkins::iso_jobs_generator (
content => "[user]\n name = jenkins\n email = jenkins@${::fqdn}\n",
}
- if !defined(Class['tails::pythonlib']) {
- include tails::pythonlib
- }
+ include tails::pythonlib
ensure_packages(
['python3-yaml'],