From d0c52a606a858a6b622b58753542cd809e3385b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Wed, 6 Oct 2010 16:01:38 +0300 Subject: [PATCH] Fixed depencies from func minion config file. --- func/manifests/init.pp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/func/manifests/init.pp b/func/manifests/init.pp index b5dcd92..ff8b7f7 100644 --- a/func/manifests/init.pp +++ b/func/manifests/init.pp @@ -6,13 +6,14 @@ class func::minion { } file { "/etc/func/minion.conf": - ensure => present, - source => [ "puppet:///files/func/minion.conf", - "puppet:///func/minion.conf", ], - mode => 0644, - owner => root, - group => root, - notify => Service["funcd"], + ensure => present, + source => [ "puppet:///files/func/minion.conf", + "puppet:///func/minion.conf", ], + mode => 0644, + owner => root, + group => root, + require => Package["func"], + notify => Service["funcd"], } file { "/etc/pki/certmaster/${hostname}.pem":