Fixes issues with raising mysql file limit
authorTim Rozet <trozet@redhat.com>
Thu, 9 Mar 2017 17:04:10 +0000 (12:04 -0500)
committerAlex Schultz <aschultz@redhat.com>
Mon, 13 Mar 2017 23:01:20 +0000 (23:01 +0000)
commitc9acf8a687ea64686c1ecceeff45add014752121
tree7c88b15eb5bf76c09c1a66a7d64a9eb7c631ec69
parentcc3d236ce409041d606d717a61d098d39185b70d
Fixes issues with raising mysql file limit

Changes Include:
 - Adds spec testing
 - Only raise limits if nonha.  puppet-systemd will restart the mariadb
   service which breaks ha deployments.  Hence we only want to do this
   in noha.
 - Minor fix to hiera value refrenced not as parameter to mysql.pp

Partial-Bug: #1648181
Related-Bug: #1524809

Co-Authored By: Feng Pan <fpan@redhat.com>

Change-Id: Id063bf4b4ac229181b01f40965811cb8ac4230d5
Signed-off-by: Tim Rozet <trozet@redhat.com>
Signed-off-by: Feng Pan <fpan@redhat.com>
Puppetfile_extras
manifests/profile/base/database/mysql.pp
spec/classes/tripleo_profile_base_database_mysql_spec.rb [new file with mode: 0644]