From 7f47644ca1ba7903471ac4b95851c96588e6b183 Mon Sep 17 00:00:00 2001 From: alop Date: Thu, 21 Mar 2013 10:13:09 -0700 Subject: [PATCH] added parameter for lockutils --- attributes/default.rb | 2 ++ templates/default/cinder.conf.erb | 3 +++ 2 files changed, 5 insertions(+) diff --git a/attributes/default.rb b/attributes/default.rb index 4e496e9..bad1080 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -33,6 +33,8 @@ default["cinder"]["custom_template_banner"] = " default["cinder"]["verbose"] = "False" default["cinder"]["debug"] = "False" +# Default lock_path +default["cinder"]["lock_path"] = "/var/lock/cinder" # Availability zone/region for the Cinder service default["cinder"]["region"] = "RegionOne" diff --git a/templates/default/cinder.conf.erb b/templates/default/cinder.conf.erb index 87adb64..13140e5 100644 --- a/templates/default/cinder.conf.erb +++ b/templates/default/cinder.conf.erb @@ -10,6 +10,9 @@ debug=<%= node["cinder"]["debug"] %> verbose=<%= node["cinder"]["verbose"] %> #### (BoolOpt) Print more verbose output +# lock_path +lock_path=<%= node["cinder"]["lock_path"] %> + # log_config= #### (StrOpt) If this option is specified, the logging configuration file #### specified is used and overrides any other logging options