Move filestore device and media type name to the storage, part I
[mirror/dsa-puppet.git] / modules / bacula / manifests / storage_per_node.pp
diff --git a/modules/bacula/manifests/storage_per_node.pp b/modules/bacula/manifests/storage_per_node.pp
deleted file mode 100644 (file)
index e6f8425..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-# bacula storage for node.  This is stored config by a client, collected on the storage
-define bacula::storage_per_node() {
-  include bacula::storage
-
-  $bacula_filestor_device = $bacula::bacula_filestor_device
-  $bacula_filestor_name   = $bacula::bacula_filestor_name
-
-  $bacula_client_name   = "${name}-fd"
-  $client               = $name
-
-  file {
-    "/etc/bacula/storage-conf.d/${name}.conf":
-      content => template('bacula/storage-per-client.conf.erb'),
-      mode    => '0440',
-      group   => bacula,
-      notify  => Exec['bacula-sd restart-when-idle'],
-      ;
-    "${bacula::storage::backup_path}/${name}":
-      ensure => directory,
-      mode   => '0755',
-      owner  => bacula,
-      group  => bacula,
-      ;
-  }
-}
-