Puppet Class: bareos::spec

Inherits:
bareos
Defined in:
manifests/spec.pp

Overview

Class: bareos::spec

This class is used only for rpsec-puppet tests Can be taken as an example on how to do custom classes but should not be modified.

Usage

This class is not intended to be used directly. Use it as reference



12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/spec.pp', line 12

class bareos::spec inherits bareos {

  # This just a test to override the arguments of an existing resource
  # Note that you can achieve this same result with just:
  # class { "bareos": template => "bareos/spec.erb" }

  File['bareos.conf'] {
    content => template('bareos/spec.erb'),
  }

}