aboutsummaryrefslogtreecommitdiff
path: root/manifests/managed_file.pp
blob: 2f02c51d30c720690d24b008b9949cbf8f99862c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
define shorewall::managed_file () {
  concat{ "/etc/shorewall/puppet/$name":
    notify => Service['shorewall'],
    require => File['/etc/shorewall/puppet'],
    owner => root, group => 0, mode => 0600;
  }       
  concat::fragment {
    "${name}-header":
      source => "puppet:///modules/shorewall/boilerplate/${name}.header",
      order => '000';
    "${name}-footer":
      source => "puppet:///modules/shorewall/boilerplate/${name}.footer",
      order => '999';
  }       
}