5 package { 'libapache2-mod-dacs':
9 file { '/var/log/dacs':
17 '/etc/dacs/federations',
18 '/etc/dacs/federations/debian.org/',
19 '/etc/dacs/federations/debian.org/DEBIAN',
20 '/etc/dacs/federations/debian.org/DEBIAN/acls',
21 '/etc/dacs/federations/debian.org/DEBIAN/groups',
22 '/etc/dacs/federations/debian.org/DEBIAN/groups/DACS'
28 require => Package['libapache2-mod-dacs'],
31 file { '/etc/dacs/federations/site.conf':
32 source => 'puppet:///modules/dacs/common/site.conf',
37 file { '/etc/dacs/federations/debian.org/DEBIAN/dacs.conf':
38 source => 'puppet:///modules/dacs/common/dacs.conf',
43 file { '/etc/dacs/federations/debian.org/DEBIAN/acls/revocations':
44 source => 'puppet:///modules/dacs/common/revocations',
49 file { '/etc/dacs/federations/debian.org/DEBIAN/groups/DACS/jurisdictions.grp':
50 source => 'puppet:///modules/dacs/common/jurisdictions.grp',
55 file { '/etc/dacs/federations/debian.org/DEBIAN/acls/acl-noauth.0':
56 source => [ 'puppet:///modules/dacs/per-host/$fqdn/acl-noauth.0',
57 'puppet:///modules/dacs/common/acl-noauth.0' ],
61 notify => Exec['dacsacl']
63 file { '/etc/dacs/federations/debian.org/DEBIAN/acls/acl-private.0':
64 source => [ 'puppet:///modules/dacs/per-host/$fqdn/acl-private.0',
65 'puppet:///modules/dacs/common/acl-private.0' ],
69 notify => Exec['dacsacl']
71 file { '/etc/dacs/federations/debian.org/federation_keyfile':
72 source => 'puppet:///modules/dacs/private/debian.org_federation_keyfile',
77 file { '/etc/dacs/federations/debian.org/DEBIAN/jurisdiction_keyfile':
78 source => 'puppet:///modules/dacs/private/DEBIAN_jurisdiction_keyfile',
85 command => 'dacsacl -sc /etc/dacs/federations/site.conf -c /etc/dacs/federations/debian.org/DEBIAN/dacs.conf -uj DEBIAN && chown root:www-data /etc/dacs/federations/debian.org/DEBIAN/acls/INDEX',