Page MenuHomeDevCentral

D2841.id7244.diff
No OneTemporary

D2841.id7244.diff

diff --git a/roles/paas-docker/docker/init.sls b/roles/paas-docker/docker/init.sls
--- a/roles/paas-docker/docker/init.sls
+++ b/roles/paas-docker/docker/init.sls
@@ -8,7 +8,6 @@
include:
- .software
- - .storage
- .config
- .images
- .firewall
diff --git a/roles/paas-docker/docker/storage.sls b/roles/paas-docker/docker/storage.sls
deleted file mode 100644
--- a/roles/paas-docker/docker/storage.sls
+++ /dev/null
@@ -1,34 +0,0 @@
-# -------------------------------------------------------------
-# Salt — Provision Docker engine
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-# Project: Nasqueron
-# Created: 2018-09-18
-# License: Trivial work, not eligible to copyright
-# -------------------------------------------------------------
-
-{% from "map.jinja" import dirs with context %}
-
-# -------------------------------------------------------------
-# Configure lvm profile
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-{% if grains['id'] in pillar['docker_devicemapper'] %}
-
-{% set dm = pillar['docker_devicemapper'][grains['id']] %}
-{% set volume = dm['thinpool'].replace('-', '/') %}
-
-lvm_thinpool_profile:
- file.managed:
- - source: salt://roles/paas-docker/docker/files/thinpool.profile
- - name: {{ dirs.etc }}/lvm/profile/{{ dm['thinpool'] }}.profile
- - mode: 644
-
-lvm_apply_thinpool_profile:
- cmd.run:
- - name: |
- lvchange --metadataprofile {{ dm['thinpool'] }} {{ volume }}
- lvs -o+seg_monitor
- - onchanges:
- - file: lvm_thinpool_profile
-
-{% endif %}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 13:36 (16 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2266705
Default Alt Text
D2841.id7244.diff (1 KB)

Event Timeline