Puppet Class: common::config

Defined in:
manifests/config.pp

Overview

Class: common::config



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'manifests/config.pp', line 3

class common::config {
  if $::common::config_dir_source {
    file { 'common.dir':
      ensure  => $::common::config_dir_ensure,
      path    => $::common::config_dir_path,
      force   => $::common::config_dir_purge,
      purge   => $::common::config_dir_purge,
      recurse => $::common::config_dir_recurse,
      source  => $::common::config_dir_source,
      require => $::common::config_file_require,
    }
  }

  if $::common::config_file_path {
    file { 'common.conf':
      ensure  => $::common::config_file_ensure,
      path    => $::common::config_file_path,
      owner   => $::common::config_file_owner,
      group   => $::common::config_file_group,
      mode    => $::common::config_file_mode,
      source  => $::common::config_file_source,
      content => $::common::config_file_content,
      require => $::common::config_file_require,
    }
  }
}