Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4793231
init.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
init.sls
View Options
# -------------------------------------------------------------
# Salt — Database server — MySQL
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Credit: Jaime Crespo (@Jynus)
# Created: 2017-11-09
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{%
from
"map.jinja"
import
dirs
with context
%}
# -------------------------------------------------------------
# Coloration grc configuration file for MySQL client
#
# “ This is more than pure aestetics- DBAs are looking at this output
# for long hours, a bit of color (disabled by default) will make
# their life easier.
#
# Enable with:
# mysql --pager='grcat /etc/mysql/grcat.config | less -RSFXin'
#
# ” -- Jaime Crespo
#
# Note it's deployed instead in share dir to be able to `grc mysql`.
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{
dirs.share
}}
/conf.mysql
:
file.managed
:
-
source
:
salt://roles/dbserver-mysql/grc/files/grcat.config
{{
dirs.etc
}}
/grc.conf
:
file.append
:
-
text
:
|
# MySQL mysql command
(^|[/\w\.]+/)mysql\s?
conf.mysql
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 28, 21:45 (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2437025
Default Alt Text
init.sls (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment