diff options
-rw-r--r-- | manifests/firma.pp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/manifests/firma.pp b/manifests/firma.pp index f6713ef..19137ac 100644 --- a/manifests/firma.pp +++ b/manifests/firma.pp @@ -26,7 +26,7 @@ class mail::firma { ensure => present, provider => git, source => 'git://git.sarava.org/firma.git', - revision => '0d86856e51af59a670cdb96762d74031abb5025b', + revision => '8b4c297cd6dd57393dc066e80087bb1c75bd7963', owner => 'firma', group => 'firma', require => [ User['firma'], Group['firma'] ], @@ -34,8 +34,15 @@ class mail::firma { file { '/usr/local/bin/firma': ensure => '/var/lib/firma/firma', - owner => root, - group => root, + owner => firma, + group => firma, + require => Vcsrepo['/var/lib/firma'], + } + + exec { 'cp /var/lib/firma.conf.dist /var/lib/firma.conf': + creates => '/var/lib/firma/firma.conf', + user => 'root', + group => 'root', require => Vcsrepo['/var/lib/firma'], } } |