Skip to content

Commit

Permalink
Merge pull request #12 from myii/ci/replace-eol-pre-salted-images
Browse files Browse the repository at this point in the history
refactor(kitchen+inspec): move inline pillars to files
  • Loading branch information
myii authored Jul 13, 2019
2 parents 3b7c048 + b992f4b commit 18f778f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
14 changes: 4 additions & 10 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,8 @@ platforms:
driver:
image: netmanagers/salt-2018.3-py2:fedora-29
provisioner:
pillars:
locale.sls:
locale:
pkgs:
- glibc-langpack-de
pillars_from_files:
locale.sls: test/salt/pillar/fedora.sls

# TODO: Use this when fixed instead of `opensuse-leap-42`
# Ref: https://github.com/netmanagers/salt-image-builder/issues/2
Expand Down Expand Up @@ -130,11 +127,8 @@ provisioner:
base:
'*':
- locale
locale.sls:
locale:
present:
- "en_US.UTF-8 UTF-8"
- "de_DE.UTF-8 UTF-8"
pillars_from_files:
locale.sls: test/salt/pillar/default.sls

verifier:
# https://www.inspec.io/
Expand Down
4 changes: 4 additions & 0 deletions test/salt/pillar/default.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
locale:
present:
- "en_US.UTF-8 UTF-8"
- "de_DE.UTF-8 UTF-8"
3 changes: 3 additions & 0 deletions test/salt/pillar/fedora.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
locale:
pkgs:
- glibc-langpack-de

0 comments on commit 18f778f

Please sign in to comment.