Skip to content
Snippets Groups Projects
Select Git revision
  • 703388ec0574e02540ace0f2e0e35d8de0e07355
  • master default
  • v0.52.5
  • v0.52.4
  • v0.52.3
  • v0.52.2
  • v0.52.1
  • v0.52.0
  • v0.51.0
  • v0.50.0
  • v0.49.0
11 results

user.sls

  • Joe Julian's avatar
    703388ec
    Fix broken GRANT when not ssl · 703388ec
    Joe Julian authored
    if ssl_option is not False, mysql_grant.present adds "REQUIRE" to the
    grant command but since all the ssl sub options are false or missing,
    there is a null string appended to the requirements. This causes the
    grant command to fail.
    
    This tests to see if ssl or X509 are set. If they're not, it skips the
    entire ssl_option section leaving ssl_option==False to prevent that
    error.
    703388ec
    History
    Fix broken GRANT when not ssl
    Joe Julian authored
    if ssl_option is not False, mysql_grant.present adds "REQUIRE" to the
    grant command but since all the ssl sub options are false or missing,
    there is a null string appended to the requirements. This causes the
    grant command to fail.
    
    This tests to see if ssl or X509 are set. If they're not, it skips the
    entire ssl_option section leaving ssl_option==False to prevent that
    error.