From c3b2dbb390a3277827ac6a745815f943d9cde655 Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Fri, 1 Jul 2022 23:08:29 +0200 Subject: add dependency --- manifests/init.pp | 2 ++ manifests/network.pp | 1 + 2 files changed, 3 insertions(+) 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, ; -- cgit v1.2.3