diff options
author | Marc Fournier <marc.fournier@camptocamp.com> | 2011-11-15 13:13:29 +0100 |
---|---|---|
committer | Marc Fournier <marc.fournier@camptocamp.com> | 2011-11-15 13:13:29 +0100 |
commit | 61452bec75976590a0293870d410ed0d3c80f843 (patch) | |
tree | 34cf56382b6489a3e680cfa9f49398b62ced59cd /manifests/base.pp | |
parent | fa66d16ad547f68655b4eab9672592d63821e8ca (diff) | |
download | puppet-bind-61452bec75976590a0293870d410ed0d3c80f843.tar.gz puppet-bind-61452bec75976590a0293870d410ed0d3c80f843.tar.bz2 |
file renaming to be compliant with recommended module structure.
Diffstat (limited to 'manifests/base.pp')
-rw-r--r-- | manifests/base.pp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/manifests/base.pp b/manifests/base.pp new file mode 100644 index 0000000..c442085 --- /dev/null +++ b/manifests/base.pp @@ -0,0 +1,32 @@ +/* + += Class: bind::base + +Declares some basic resources. +You should NOT include this class as is, as it won't work at all! +Please refer to Class["bind"]. + +*/ +class bind::base { + package {"bind9": + ensure => present, + } + + service {"bind9": + ensure => running, + enable => true, + require => Package["bind9"], + } + + file {["/etc/bind/pri", "/etc/bind/zones"]: + ensure => directory, + owner => root, + group => root, + mode => 0755, + require => Package["bind9"], + purge => true, + force => true, + recurse => true, + source => "puppet:///modules/bind/empty", + } +} |