Drop unneeded package
[mirror/dsa-puppet.git] / modules / bacula / manifests / storage.pp
1 class bacula::storage inherits bacula {
2
3   package {
4     "bacula-sd": ensure => installed;
5   }
6
7   service {
8     "bacula-sd":
9       ensure => running,
10       enable => true,
11       hasstatus => true,
12       require => Package["bacula-sd-pgsql"];
13   }
14   file {
15     "/etc/bacula/bacula-sd.conf":
16       content => template("bacula/bacula-sd.conf.erb"),
17       mode => 640,
18       group => bacula,
19       require => Package["bacula-sd-pgsql"],
20       notify  => Exec["bacula-sd restart"]
21       ;
22   }
23
24   exec {
25     "bacula-sd restart":
26       path        => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
27       refreshonly => true;
28   }
29 }