X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fdacs%2Fmanifests%2Finit.pp;h=205333c3a0c2779fd8655dbe82f7097d35fa8049;hb=846552c074b6ffed41604ae1f0e6ba43b291849a;hp=a9e703de2c4cbb684556f7c90205e72647e9f670;hpb=b971cc837b8783402899e0aba3755a1f89ca1e27;p=dsa-puppet.git diff --git a/modules/dacs/manifests/init.pp b/modules/dacs/manifests/init.pp index a9e703de..205333c3 100644 --- a/modules/dacs/manifests/init.pp +++ b/modules/dacs/manifests/init.pp @@ -45,6 +45,14 @@ class dacs { purge => true ; + "/etc/dacs/federations/debian.org/DEBIAN/groups/DACS": + ensure => directory, + owner => root, + group => www-data, + mode => 750, + purge => true + ; + "/etc/dacs/federations/site.conf": source => [ "puppet:///modules/dacs/per-host/$fqdn/site.conf", "puppet:///modules/dacs/common/site.conf" ], @@ -69,12 +77,20 @@ class dacs { group => www-data ; + "/etc/dacs/federations/debian.org/DEBIAN/groups/DACS/jurisdictions.grp": + source => [ "puppet:///modules/dacs/per-host/$fqdn/jurisdictions.grp", + "puppet:///modules/dacs/common/jurisdictions.grp" ], + mode => 640, + owner => root, + group => www-data + ; + "/etc/dacs/federations/debian.org/DEBIAN/acls/acl-noauth.0": source => [ "puppet:///modules/dacs/per-host/$fqdn/acl-noauth.0", "puppet:///modules/dacs/common/acl-noauth.0" ], mode => 640, owner => root, - group => www-data + group => www-data, notify => Exec["dacsacl"] ; @@ -83,9 +99,24 @@ class dacs { "puppet:///modules/dacs/common/acl-private.0" ], mode => 640, owner => root, - group => www-data + group => www-data, notify => Exec["dacsacl"] ; + + "/etc/dacs/federations/debian.org/federation_keyfile": + source => "puppet:///modules/dacs/private/debian.org_federation_keyfile", + mode => 640, + owner => root, + group => www-data + ; + + "/etc/dacs/federations/debian.org/DEBIAN/jurisdiction_keyfile": + source => "puppet:///modules/dacs/private/DEBIAN_jurisdiction_keyfile", + mode => 640, + owner => root, + group => www-data + ; + } exec {