From b69764b9af42b83493fe221200a8d0af29700b93 Mon Sep 17 00:00:00 2001 From: Slm0n87 Date: Fri, 24 Mar 2017 11:04:40 +0100 Subject: [PATCH 1/3] Fix path of systemd unitfile --- manifests/initscripts.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/initscripts.pp b/manifests/initscripts.pp index e545875..7669684 100644 --- a/manifests/initscripts.pp +++ b/manifests/initscripts.pp @@ -13,7 +13,7 @@ } $_init_script_file_path = $::service_provider ? { - 'systemd' => "${systemd::systemd_unit_path}/kong.service", + 'systemd' => "${systemd_unit_path}/kong.service", 'upstart' => '/etc/init/kong.conf', default => '/etc/init.d/kong', } From 5b4dff336c4eb8514cff6cb5c43a97846512e722 Mon Sep 17 00:00:00 2001 From: Slm0n87 Date: Fri, 24 Mar 2017 11:06:04 +0100 Subject: [PATCH 2/3] Fix typos in systemd unitfile --- templates/init/systemd/kong.service.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/init/systemd/kong.service.erb b/templates/init/systemd/kong.service.erb index db9d308..236f404 100644 --- a/templates/init/systemd/kong.service.erb +++ b/templates/init/systemd/kong.service.erb @@ -4,6 +4,6 @@ Description=Kong daemon [Service] ExecStart=<%= @kong_path -%> start -ExecReload=<% @kong_path -%> reload -ExecStop<%= @kong_path -%> stop -Restart=on-failure \ No newline at end of file +ExecReload=<%= @kong_path -%> reload +ExecStop=<%= @kong_path -%> stop +Restart=on-failure From c627747c1f8a248362ae0d60959819df97167d36 Mon Sep 17 00:00:00 2001 From: Slm0n87 Date: Fri, 24 Mar 2017 11:35:22 +0100 Subject: [PATCH 3/3] Adjust min. stdlib to >=4.12.0 - fixes Unknown function: 'is_ipv4_address' --- metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.json b/metadata.json index 03cf98a..e299e92 100644 --- a/metadata.json +++ b/metadata.json @@ -82,7 +82,7 @@ }, { "name": "puppetlabs/stdlib", - "version_requirement": ">=4.6.0 <5.0.0" + "version_requirement": ">=4.12.0 <5.0.0" }, { "name": "camptocamp/systemd",