Merging fix from hydrogen where sql_idle_timeout is configured in the GUI, but is ignored [1/1]

Fix for bug CES-1273: The glance add/edit form allows the user to set the value of sql_idle_timeout. This attribute is defaulted to 3600 (see default.rb), but is never used in the cookbook.

In both glance-api.conf.erb and glance-registry.conf.erb, sql_idle_timeout is hardcoded to 3600, when it apparently should be set to what was configured in the GUI (node[:glance][:sql_idle_timeout]).

To test:
Create a glance proposal setting SQL Idle Timeout to some non-default value (not 3600)
Apply the glance proposal and wait for it to deploy
Log in to the system that glance was installed on, and:
sudo -i
grep sql_idle_timeout /etc/glance/*
Verify that sql_idle_timeout is set to the value configured in the GUI in both glance-api.conf and glance-registry.conf

See also: https://github.com/crowbar/barclamp-glance/pull/160


 chef/cookbooks/glance/attributes/default.rb        |    1 -
 .../glance/templates/default/glance-api.conf.erb   |    2 +-
 .../templates/default/glance-registry.conf.erb     |    2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

Crowbar-Pull-ID: 9d89523b01ec46e12b01c32a850645c1d4bb517a

Crowbar-Release: roxy