openstack-ansible-openstack.../templates/sysstat.default.j2
Bjoern Teipel ee8f634517 Store openstack_host_sysstat_enabled as lower case value for sysstat.default.j2
Sysstat won't enable unless the ENABLED switch has been set to true.
Passing openstack_host_sysstat_enabled as true inside jinja will end
up as a "True" value inside the /etc/default/sysstat rather then the
expected "true" value and sysstat won't start.
The added jinja filter lower will make sure that the boolean is always
stored in lower case.
Additionally openstack_host_systat_enabled was renamed to
openstack_host_sysstat_enabled to better reflect the dependency to sysstat

Change-Id: I6361433f990f96ca37dac7055062c17c2940bf70
Closes-Bug: #1530979
2016-01-05 09:08:06 -06:00

12 lines
354 B
Django/Jinja

# {{ ansible_managed }}
#
# Default settings for /etc/init.d/sysstat, /etc/cron.d/sysstat
# and /etc/cron.daily/sysstat files
#
# Should sadc collect system activity informations? Valid values
# are "true" and "false". Please do not put other values, they
# will be overwritten by debconf!
ENABLED="{{ openstack_host_sysstat_enabled | bool | lower }}"