]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/systemd/resources/service.rb
Exempt /server-status from redirection
[chef.git] / cookbooks / systemd / resources / service.rb
index 3ba9136613b448f032eb43897a174519c3b4997a..d3e2cac74cff15184b97fee69591817a9c5210b0 100644 (file)
@@ -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}"