Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mysql-formula
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
salt
mysql-formula
Commits
624c7a86
Commit
624c7a86
authored
6 years ago
by
Heinz Wiesinger
Browse files
Options
Downloads
Patches
Plain Diff
Make sure the config directory and files within are handled after install.
parent
b20ace26
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
mysql/config.sls
+8
-0
8 additions, 0 deletions
mysql/config.sls
mysql/server.sls
+3
-0
3 additions, 0 deletions
mysql/server.sls
with
11 additions
and
0 deletions
mysql/config.sls
+
8
−
0
View file @
624c7a86
...
...
@@ -25,6 +25,8 @@ mysql_server_config:
- group: root
- mode: 644
{% endif %}
- require:
- file: mysql_config_directory
{% endif %}
{% if "galera_config" in mysql %}
...
...
@@ -40,6 +42,8 @@ mysql_galera_config:
- group: root
- mode: 644
{% endif %}
- require:
- file: mysql_config_directory
{% endif %}
{% if "library_config" in mysql %}
...
...
@@ -55,6 +59,8 @@ mysql_library_config:
- group: root
- mode: 644
{% endif %}
- require:
- file: mysql_config_directory
{% endif %}
{% if "clients_config" in mysql %}
...
...
@@ -70,6 +76,8 @@ mysql_clients_config:
- group: root
- mode: 644
{% endif %}
- require:
- file: mysql_config_directory
{% endif %}
{% endif %}
...
...
This diff is collapsed.
Click to expand it.
mysql/server.sls
+
3
−
0
View file @
624c7a86
...
...
@@ -104,6 +104,9 @@ mysqld-packages:
{% endif %}
- require_in:
- file: mysql_config
{% if "config_directory" in mysql %}
- file: mysql_config_directory
{% endif %}
{% if os_family in ['RedHat', 'Suse'] and mysql.version is defined and mysql.version >= 5.7 and mysql.serverpkg.lower() != 'mariadb-server' %}
# Initialize mysql database with --initialize-insecure option before starting service so we don't get locked out.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment