Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768373
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
View Options
diff --git a/roles/dbserver-mysql/grc/init.sls b/roles/dbserver-mysql/grc/init.sls
index c230710..ca7a814 100644
--- a/roles/dbserver-mysql/grc/init.sls
+++ b/roles/dbserver-mysql/grc/init.sls
@@ -1,36 +1,37 @@
# -------------------------------------------------------------
# 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 aesthetics- 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 }}/grc/conf.mysql:
file.managed:
- source: salt://roles/dbserver-mysql/grc/files/grcat.config
+ - makedirs: True
{{ dirs.etc }}/grc.conf:
file.append:
- text: |
# MySQL mysql command
(^|[/\w\.]+/)mysql\s?
conf.mysql
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Nov 25, 07:41 (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259751
Default Alt Text
(1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment