Page MenuHomeDevCentral

D987.id2521.diff
No OneTemporary

D987.id2521.diff

diff --git a/roles/paas-docker/docker/init.sls b/roles/paas-docker/docker/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/paas-docker/docker/init.sls
@@ -0,0 +1,30 @@
+# -------------------------------------------------------------
+# Salt — Provision Docker engine
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-05-24
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# Install Docker engine
+# -------------------------------------------------------------
+
+{% if grains['os'] == 'CentOS' %}
+remove_legacy_docker_packages:
+ pkg:
+ - removed
+ - pkgs:
+ - docker-common
+ - container-selinux
+ - docker-selinux
+ - docker-engine
+
+install_docker_engine:
+ pkg:
+ - installed
+ - pkgs:
+ - device-mapper-persistent-data
+ - lvm2
+ - docker-ce
+{% endif %}
diff --git a/top.sls b/top.sls
--- a/top.sls
+++ b/top.sls
@@ -18,6 +18,7 @@
'local':
- roles/saltmaster/sudo
'dwellers.nasqueron.org':
+ - roles/paas-docker/docker
- roles/paas-lxc/lxc
'eglide':
- roles/shellserver/users

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 10:30 (19 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2250555
Default Alt Text
D987.id2521.diff (1 KB)

Event Timeline