Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3767006
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/paas-docker/docker/init.sls b/roles/paas-docker/docker/init.sls
index 72afbac..3904327 100644
--- a/roles/paas-docker/docker/init.sls
+++ b/roles/paas-docker/docker/init.sls
@@ -1,33 +1,34 @@
# -------------------------------------------------------------
# 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
- docker-selinux
- docker-engine
install_docker_engine:
file.managed:
- name: /etc/yum.repos.d/docker-ce.repo
- source: https://download.docker.com/linux/centos/docker-ce.repo
- source_hash: 6650718e0fe5202ae7618521f695d43a8bc051c539d7570f0edbfa5b4916f218
- pkg:
- - installed
+ pkg.installed:
- pkgs:
- device-mapper-persistent-data
- lvm2
- docker-ce
+ - require:
+ - file: install_docker_engine
{% endif %}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Nov 24, 21:50 (9 h, 23 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2258978
Default Alt Text
(1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment