Reusable Puppet components
pmodule_zabbix::config_file
Puts a config file with zabbix user parameters. Usage:
pmodule_zabbix::config_file {'userparameter_raid.conf':
source => 'puppet:///modules/pmodule_raid/userparameter_raid.conf',
}
pmodule_sudo::file
Puts a config file in the correct sudoers.d folder. Usage:
pmodule_sudo::file { $sudo_config:
content => template('pmodule_access/uninett.erb'),
}
or:
pmodule_sudo::file { $pmodule_bpc::params::bpc_sudo_file:
source => $pmodule_bpc::params::bpc_sudo_source,
}