OLD | NEW |
1 # == Class: adblockplus | 1 # == Class: adblockplus |
2 # | 2 # |
3 # The adblockplus class and the associated adblockplus:: namespace are | 3 # The adblockplus class and the associated adblockplus:: namespace are |
4 # used to integrate Puppet modules with each other, in order to assemble | 4 # used to integrate Puppet modules with each other, in order to assemble |
5 # the setups used by the Adblock Plus project. | 5 # the setups used by the Adblock Plus project. |
6 # | 6 # |
7 class adblockplus { | 7 class adblockplus { |
8 | 8 |
| 9 $directory = '/var/adblockplus' |
| 10 |
9 # A common location for directories specific to the adblockplus:: setups, | 11 # A common location for directories specific to the adblockplus:: setups, |
10 # managed via Puppet, but accessible by all users with access to the system | 12 # managed via Puppet, but accessible by all users with access to the system |
11 @file {'/var/adblockplus': | 13 @file {$directory: |
12 ensure => 'directory', | 14 ensure => 'directory', |
13 mode => 0755, | 15 mode => 0755, |
14 owner => 'root', | 16 owner => 'root', |
15 } | 17 } |
16 } | 18 } |
OLD | NEW |