X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/fa6052608948cf1692f49c1c2e7a0842bacd7052..ae4d13c8ba1b86d2f94bcdec799d0db052425333:/cookbooks/systemd/resources/service.rb diff --git a/cookbooks/systemd/resources/service.rb b/cookbooks/systemd/resources/service.rb index 3ba913661..d3e2cac74 100644 --- a/cookbooks/systemd/resources/service.rb +++ b/cookbooks/systemd/resources/service.rb @@ -67,7 +67,7 @@ action :create do owner "root" group "root" mode 0o640 - variables :environment => environment_file + variables :environment => new_resource.environment_file end service_variables[:environment_file] = "/etc/default/#{new_resource.service}"