]> gitweb.fluxo.info Git - puppet-mail.git/commitdiff
Ugly hack for gpg-mailgate installation
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 4 Aug 2013 23:31:11 +0000 (20:31 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 4 Aug 2013 23:31:11 +0000 (20:31 -0300)
manifests/gpg_mailgate.pp

index 44770a9c5a3f77bf6b4654eb4a285cd4745fd250..fe8d0c200902f929b2b1ab81330ecbdce23aa327 100644 (file)
@@ -29,6 +29,14 @@ class mail::gpg_mailgate {
     require => Vcsrepo['/var/lib/gpg_mailgate'],
   }
 
+  # TODO: Ugly hack, suggestions welcome!
+  file { '/usr/lib/python2.6/GnuPG':
+    ensure  => '/var/lib/gpg_mailgate/GnuPG',
+    owner   => root,
+    group   => root,
+    require => Vcsrepo['/var/lib/gpg_mailgate'],
+  }
+
   file { '/etc/gpg-mailgate.conf':
     ensure => present,
     owner   => gpg_mailgate,