Skip to content

Commit

Permalink
Merge pull request #5 from Oefenweb/add-support-for-skip-ssl
Browse files Browse the repository at this point in the history
Add support for skip_ssl
  • Loading branch information
tersmitten committed Nov 10, 2015
2 parents 5890d66 + c30c1f8 commit 19f3a7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ None
* `percona_client_my_cnf_files.{n}.login_user`: [optional, default: `owner`]: The username used to authenticate with
* `percona_client_my_cnf_files.{n}.login_password`: [required]: The password used to authenticate with

* `percona_client_my_cnf_files.{n}.ssl`: [optional]: Whether or not to use SSL when connection

## Dependencies

None
Expand Down
4 changes: 4 additions & 0 deletions templates/root/.my.cnf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ host = {{ item.login_host | default('localhost') }}
port = {{ item.login_port | default(3306) }}
user = {{ item.login_user | default(item.owner) }}
password = '{{ item.login_password }}'

{% if item.ssl is defined %}
ssl = {{ 1 if item.ssl else 0 }}
{% endif %}

0 comments on commit 19f3a7d

Please sign in to comment.