Puppet Manifest List Puppet Plugin List Puppet Type List Puppet Provider List Class List Method List File List

# Puppet Defined Type: configfile

Defined in:
  manifests/configfile.pp

## Overview

## define: logstash::configfile

This define is to manage the config files for Logstah

### Parameters

content

  Supply content to be used for the config file. This can also be a template.

source

  Supply a puppet file resource to be used for the config file.

order

  The order number controls in which sequence the config file fragments are concatenated.

### Examples

    Set config file content with a literal value:

    logstash::configfile { 'apache':
      content => "",
      order   => 10
    }

    or with a puppet file source:

    logstash::configfile { 'apache':
      source => 'puppet://path/to/apache.conf',
      order  => 10
    }

    or with template (useful with Hiera):

    logstash::configfile { 'apache':
      template => "${module_name}/path/to/apache.conf.erb",
      order   => 10
    }

### Authors

- Richard Pijnenburg <richard.pijnenburg@elasticsearch.com>

## Parameter Summary

- content (`Any`)`=> undef`
- source (`Any`)`=> undef`
- order (`Any`)`=> 10`
- template (`Any`)`=> undef`