~openstack-charmers-next/charms/xenial/nova-compute/trunk

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/hardening/mysql/templates/hardening.cnf

  • Committer: Edward Hope-Morley
  • Date: 2016-03-24 11:18:41 UTC
  • mto: This revision was merged to the branch mainline in revision 211.
  • Revision ID: edward.hope-morley@canonical.com-20160324111841-99ruo5hjzrpqktlx
Add hardening support

Add charmhelpers.contrib.hardening and calls to install,
config-changed, upgrade-charm and update-status hooks.
Also add new config option to allow one or more hardening
modules to be applied at runtime.

Change-Id: I525c15a14662175f2a68cdcd25a3ab2c92237850

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
###############################################################################
 
2
# WARNING: This configuration file is maintained by Juju. Local changes may
 
3
#          be overwritten.
 
4
###############################################################################
 
5
[mysqld]
 
6
{% for setting, value in mysql_settings -%}
 
7
{% if value == 'True' -%}
 
8
{{ setting }}
 
9
{% elif value != 'None' and value != None -%}
 
10
{{ setting }} = {{ value }}
 
11
{% endif -%}
 
12
{% endfor -%}