Commit e7b27106 authored by Christopher Huhn's avatar Christopher Huhn
Browse files

Fix systemd detection after first Stretch node w/o systemd popped up

parent 59794a47
......@@ -65,7 +65,7 @@ package snmpd_package
# the systemd unit shipped by Debian does not take
# `/etc/default/snmpd` into account
# (and the latter is no EnvironmentFile but a shell script)
if node['platform_family'] == 'debian' && node['platform_version'].to_i >= 9
if systemd_installed?
directory '/etc/systemd/system/snmpd.service.d/'
......
Supports Markdown
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