Puppet Class: storm::storage

Defined in:
manifests/storage.pp

Summary

Init testbed storage area's directories

Overview

Examples:

Example of usage

class { 'storm::storage':
  root_directories => [
    '/storage',
    '/storage/disk',
    '/storage/tape',
  ],
}

Parameters:

  • root_directories (Array[String]) (defaults to: ['/storage'])

    A list of all storage root directories owned by storm user. You must add also all parent directories.



15
16
17
18
19
20
21
22
23
24
25
26
# File 'manifests/storage.pp', line 15

class storm::storage (

  Array[String] $root_directories = ['/storage'],

) {

  $root_directories.each | $path | {
    storm::rootdir { $path:
      path => $path,
    }
  }
}