Skip to content

Commit 3c436cb

Browse files
committed
fix(kitchen): install required packages to bootstrapped opensuse
* Completes #52 * Found when working on saltstack-formulas/vault-formula#47 - Wasn't necessary while testing on the `template-formula` * List of packages taken from: - https://github.com/netmanagers/salt-image-builder/blob/d6e57f6b22570530a627c89a94fed02754a3197d/scripts/prepare.sh - Removed duplicate `net-tools` - Removed extraneous `udev` (installed already during initial provisioning)
1 parent d6ecfa9 commit 3c436cb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ssf/defaults.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ ssf_node_anchors:
1717
# An alternative method could be to use:
1818
# `git describe --abbrev=0 --tags`
1919
# yamllint disable rule:line-length
20-
title: 'ci(kitchen): use bootstrapped `opensuse` images until `2019.2.2` [skip ci]'
21-
body: '* Automated using https://github.com/myii/ssf-formula/pull/52'
20+
title: 'ci(kitchen): install required packages to bootstrapped `opensuse` [skip ci]'
21+
body: '* Automated using https://github.com/myii/ssf-formula/pull/53'
2222
# yamllint enable rule:line-length
2323
github:
2424
owner: saltstack-formulas

ssf/files/default/kitchen.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ image: netmanagers/salt-{{ salt_ver }}-py{{ py_ver }}:{{ os | replace('/', '-')
6565
{%- set prov_cmds = [] %}
6666
{#- Specific to unsalted `opensuse/leap` #}
6767
{%- if os == 'opensuse/leap' %}
68+
{%- do prov_cmds.append('# yamllint disable-line rule:line-length') %}
69+
{%- do prov_cmds.append(
70+
'- zypper install -y glibc-locale net-tools net-tools-deprecated python-xml python{0}-pip'.format(py_ver)
71+
) %}
6872
{%- do prov_cmds.append('- systemctl enable sshd.service') %}
6973
{%- endif %}
7074
{#- Specific to `develop` #}

0 commit comments

Comments
 (0)