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":