summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2022-07-01 23:08:29 +0200
committerHendrik Jäger <gitcommit@henk.geekmail.org>2022-07-01 23:08:29 +0200
commitc3b2dbb390a3277827ac6a745815f943d9cde655 (patch)
tree1b0e11c05513b7c98039747f9b4658a44ef8a00a
parente1c6349ec0d9aa6cb7d1690edf0416ddd3709d8a (diff)
add dependency
-rw-r--r--manifests/init.pp2
-rw-r--r--manifests/network.pp1
2 files changed, 3 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index e9f962a..9cbe856 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,6 +1,8 @@
class henks_ircservices (
Array $networks
) {
+ require 'sslcert'
+
$networks.each |$network| {
henks_ircservices::network {
$network['name']:
diff --git a/manifests/network.pp b/manifests/network.pp
index 1e432ac..23381e0 100644
--- a/manifests/network.pp
+++ b/manifests/network.pp
@@ -7,6 +7,7 @@ define henks_ircservices::network (
user {
$run_user:
ensure => present,
+ groups => [ 'ssl-cert', ],
password => '!',
managehome => true,
;