Skip to content

Commit 15b33a6

Browse files
committed
add has_systemd support for ubuntu 16.04
1 parent 791137b commit 15b33a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

manifests/server.pp

+4
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@
209209
$service_file = "/etc/systemd/system/redis-server_${redis_name}.service"
210210
if versioncmp($::operatingsystemmajrelease, '14.04') > 0 { $has_systemd = true }
211211
}
212+
'Ubuntu': {
213+
$service_file = "/etc/systemd/system/redis-server_${redis_name}.service"
214+
if versioncmp($::operatingsystemmajrelease, '16.04') > 0 { $has_systemd = true }
215+
}
212216
default: {
213217
$service_file = "/etc/init.d/redis-server_${redis_name}"
214218
$has_systemd = false

0 commit comments

Comments
 (0)