Fixes issues with raising mysql file limit
authorTim Rozet <trozet@redhat.com>
Thu, 9 Mar 2017 17:04:10 +0000 (12:04 -0500)
committerTim Rozet <trozet@redhat.com>
Mon, 20 Mar 2017 14:16:58 +0000 (14:16 +0000)
commit5508557a8a7a2d193308a35f46a10041ee2403f0
tree9dc09ad43bbe15a212bab9599b6ae0668112366c
parentcf77c118d7b107121aaa5f4b08177d0a47f4b69f
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>
(cherry picked from commit c9acf8a687ea64686c1ecceeff45add014752121)
Puppetfile_extras
manifests/profile/base/database/mysql.pp
spec/classes/tripleo_profile_base_database_mysql_spec.rb [new file with mode: 0644]