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
6a0d3656
Commit
6a0d3656
authored
10 years ago
by
Nitin Madhok
Browse files
Options
Downloads
Plain Diff
Merge pull request #60 from neuhalje/master
Add Fedora 21 and a mysql.disabled state
parents
85032937
38a501fd
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/defaults.yaml
+18
-0
18 additions, 0 deletions
mysql/defaults.yaml
mysql/disabled.sls
+7
-0
7 additions, 0 deletions
mysql/disabled.sls
with
25 additions
and
0 deletions
mysql/defaults.yaml
+
18
−
0
View file @
6a0d3656
...
@@ -126,6 +126,24 @@ RedHat:
...
@@ -126,6 +126,24 @@ RedHat:
port
:
3306
port
:
3306
bind_address
:
127.0.0.1
bind_address
:
127.0.0.1
symbolic_links
:
0
symbolic_links
:
0
Fedora
:
server
:
mariadb-server
client
:
mariadb
service
:
mariadb
python
:
MySQL-python
config
:
file
:
/etc/my.cnf.d/server.cnf
sections
:
mysqld_safe
:
log_error
:
/var/log/mysqld.log
pid_file
:
/var/run/mysqld/mysqld.pid
mysqld
:
datadir
:
/var/lib/mysql
socket
:
/var/lib/mysql/mysql.sock
user
:
mysql
port
:
3306
bind_address
:
127.0.0.1
symbolic_links
:
0
Amazon
:
Amazon
:
server
:
mysql-server
server
:
mysql-server
client
:
mysql
client
:
mysql
...
...
This diff is collapsed.
Click to expand it.
mysql/disabled.sls
0 → 100644
+
7
−
0
View file @
6a0d3656
{% from "mysql/defaults.yaml" import rawmap with context %}
{%- set mysql = salt['grains.filter_by'](rawmap, grain='os', merge=salt['pillar.get']('mysql:server:lookup')) %}
mysql:
service.dead:
- name: {{ mysql.service }}
- enable: False
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