Defined Type: ores::config

Defined in:
modules/ores/manifests/config.pp

Overview

Parameters:

  • priority (Any)
  • config (Any)
  • owner (Any) (defaults to: 'www-data')
  • group (Any) (defaults to: 'www-data')
  • mode (Any) (defaults to: '0660')


1
2
3
4
5
6
7
8
9
10
11
12
13
14
# File 'modules/ores/manifests/config.pp', line 1

define ores::config(
    $priority,
    $config,
    $owner='www-data',
    $group='www-data',
    $mode='0660',
) {
    file { "/etc/ores/${priority}-${title}.yaml":
        content => ordered_yaml($config),
        owner   => $owner,
        group   => $group,
        mode    => $mode,
    }
}