Puppet Class: hosts::params
- Inherited by:
-
hosts
- Defined in:
- manifests/params.pp
Overview
Class: hosts::params
This class defines default parameters used by the main module class hosts Operating Systems differences in names and paths are addressed here
Variables
Refer to hosts class for the variables defined here.
Usage
This class is not intended to be used directly. It may be imported or inherited by other classes
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'manifests/params.pp', line 15
class hosts::params {
### Class related parameters
$dynamic_mode = false
$dynamic_magicvar = ''
$dynamic_template = ''
$dynamic_ip = $::ipaddress
$dynamic_alias = [ $::hostname ]
$dynamic_exclude = false
### Application related parameters
$config_file = $::operatingsystem ? {
default => '/etc/hosts',
}
$config_file_mode = $::operatingsystem ? {
default => '0644',
}
$config_file_owner = $::operatingsystem ? {
default => 'root',
}
$config_file_group = $::operatingsystem ? {
FreeBSD => 'wheel',
default => 'root',
}
# General Settings
$my_class = ''
$source = ''
$template = ''
$content = ''
$audit_only = false
$noops = undef
}
|