Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syslog: Add option notify_level #817

Merged
merged 1 commit into from Jun 13, 2018
Merged

Conversation

sileht
Copy link
Contributor

@sileht sileht commented Jun 12, 2018

syslog: Add option notify_level

This change:

  • adds option notify_level
  • converts the template to epp
  • set all parameters type
  • Add rspec testing

) {

include ::collectd

collectd::plugin { 'syslog':
ensure => $ensure,
content => template('collectd/plugin/syslog.conf.erb'),
content => epp('collectd/plugin/syslog.conf.epp'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

epp \o/

$ensure = 'present',
$interval = undef,
$log_level = 'info'
Enum['present', 'absent'] $ensure = 'present',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

datatypes \o/

This change:
* adds option notify_level
* converts the template to epp
* set all parameters type
* Add rspec testing
@bastelfreak bastelfreak added the enhancement New feature or request label Jun 13, 2018
@bastelfreak bastelfreak merged commit ec0f187 into voxpupuli:master Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants