Fix syntax for hash.
authorMatt Amos <zerebubuth@gmail.com>
Mon, 20 Jun 2016 18:36:03 +0000 (19:36 +0100)
committerMatt Amos <zerebubuth@gmail.com>
Mon, 3 Oct 2016 12:46:36 +0000 (13:46 +0100)
cookbooks/web/recipes/cgimap.rb

index fc1e1f47ca6d2932501c4c05b04c5e7488349cad..231915b149cf9d16dd2a31713a7cf308b1deadd5 100644 (file)
@@ -39,14 +39,14 @@ template "/etc/init.d/cgimap" do
   group "root"
   mode 0o755
   source "cgimap.init.erb"
-  variables {
+  variables(
     :db_password => db_passwords["rails"],
     :pid_directory => node[:web][:pid_directory],
     :log_directory => node[:web][:log_directory],
     :database_host => database_host,
     :database_readonly => database_readonly,
     :memcached_servers => memcached_servers
-  }
+  )
 end
 
 if %w(database_offline api_offline).include?(node[:web][:status])