Page MenuHomeDevCentral

D2670.diff
No OneTemporary

D2670.diff

diff --git a/roles/paas-docker/devel/init.sls b/roles/paas-docker/devel/config.sls
copy from roles/paas-docker/devel/init.sls
copy to roles/paas-docker/devel/config.sls
--- a/roles/paas-docker/devel/init.sls
+++ b/roles/paas-docker/devel/config.sls
@@ -1,10 +1,13 @@
# -------------------------------------------------------------
-# Salt — Docker development tools
+# Salt — Docker development
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
-# Created: 2020-02-15
+# Created: 2022-04-15
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
-include:
- - .software
+/etc/systemd/system/docker.socket.d/socket.conf:
+ file.managed:
+ - source: salt://roles/paas-docker/devel/files/socket.conf
+ - mode: 644
+ - makedirs: True
diff --git a/roles/paas-docker/devel/files/socket.conf b/roles/paas-docker/devel/files/socket.conf
new file mode 100644
--- /dev/null
+++ b/roles/paas-docker/devel/files/socket.conf
@@ -0,0 +1,21 @@
+# -------------------------------------------------------------
+# Docker container config
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Author: dorianwinty
+# Project: Nasqueron
+# Created: 2022-04-15
+# Description: Set good group to the Docker container
+# License: Trivial work, not eligible to copyright
+# If copyright eligible, BSD-2-Clause
+# Source file: roles/paas-docker/devel/files/socket.conf
+# -------------------------------------------------------------
+#
+# <auto-generated>
+# This file is managed by our rOPS SaltStack repository.
+#
+# Changes to this file may cause incorrect behavior
+# and will be lost if the state is redeployed.
+# </auto-generated>
+
+[Socket]
+SocketGroup=nasqueron-dev-docker
diff --git a/roles/paas-docker/devel/init.sls b/roles/paas-docker/devel/init.sls
--- a/roles/paas-docker/devel/init.sls
+++ b/roles/paas-docker/devel/init.sls
@@ -8,3 +8,4 @@
include:
- .software
+ - .config

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 05:06 (21 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264002
Default Alt Text
D2670.diff (2 KB)

Event Timeline