Commit 4518e961 authored by Cool Fire's avatar Cool Fire

Workaround for flakey snmpd service config no longer needed

parent 019caf16
Pipeline #2257 passed with stages
in 4 minutes and 47 seconds
......@@ -24,16 +24,18 @@ class profile::base::snmpclient(
if $facts['os']['family'] == 'Debian' and versioncmp($facts['os']['release']['major'], '9') >= 0 {
file { '/etc/systemd/system/snmpd.service':
ensure => file,
owner => 'root',
group => 'root',
mode => '0755',
source => 'puppet:///modules/profile/snmpclient/snmpd-deb.service',
}
~> exec { 'snmpd-systemd-reload':
command => 'systemctl daemon-reload',
path => [ '/usr/bin', '/bin', '/usr/sbin' ],
refreshonly => true,
ensure => absent,
}
# ensure => file,
# owner => 'root',
# group => 'root',
# mode => '0755',
# source => 'puppet:///modules/profile/snmpclient/snmpd-deb.service',
# }
# ~> exec { 'snmpd-systemd-reload':
# command => 'systemctl daemon-reload',
# path => [ '/usr/bin', '/bin', '/usr/sbin' ],
# refreshonly => true,
# }
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment