From 7c299b190206ac85b384706600ae05bd954b7521 Mon Sep 17 00:00:00 2001 From: varac Date: Sun, 2 Apr 2017 23:50:32 +0200 Subject: Change to notify instead of subscribe After making the module compatible with puppetlabs/concat, subscribing to the config file failed with: Error: Failed to apply catalog: Could not find dependency File[/etc/unbound/unbound.conf] for Service[unbound] at /etc/puppet/modules/unbound/manifests/service.pp:21 So we use notify now from every concat::fragment --- manifests/service.pp | 1 - 1 file changed, 1 deletion(-) (limited to 'manifests/service.pp') diff --git a/manifests/service.pp b/manifests/service.pp index f96f453..847aec5 100644 --- a/manifests/service.pp +++ b/manifests/service.pp @@ -17,6 +17,5 @@ class unbound::service { service { $unbound::params::service: ensure => running, hasstatus => $unbound::params::hasstatus, - subscribe => File[$unbound::params::config], } } -- cgit v1.2.3