Skip to content

Commit

Permalink
Merge pull request #53 from myii/fix/add-pkgs-for-bootstrapped-opensuse
Browse files Browse the repository at this point in the history
fix(kitchen): install required packages to bootstrapped `opensuse`
  • Loading branch information
myii authored Oct 1, 2019
2 parents d6ecfa9 + 3c436cb commit 8a47934
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ ssf_node_anchors:
# An alternative method could be to use:
# `git describe --abbrev=0 --tags`
# yamllint disable rule:line-length
title: 'ci(kitchen): use bootstrapped `opensuse` images until `2019.2.2` [skip ci]'
body: '* Automated using https://github.com/myii/ssf-formula/pull/52'
title: 'ci(kitchen): install required packages to bootstrapped `opensuse` [skip ci]'
body: '* Automated using https://github.com/myii/ssf-formula/pull/53'
# yamllint enable rule:line-length
github:
owner: saltstack-formulas
Expand Down
4 changes: 4 additions & 0 deletions ssf/files/default/kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ image: netmanagers/salt-{{ salt_ver }}-py{{ py_ver }}:{{ os | replace('/', '-')
{%- set prov_cmds = [] %}
{#- Specific to unsalted `opensuse/leap` #}
{%- if os == 'opensuse/leap' %}
{%- do prov_cmds.append('# yamllint disable-line rule:line-length') %}
{%- do prov_cmds.append(
'- zypper install -y glibc-locale net-tools net-tools-deprecated python-xml python{0}-pip'.format(py_ver)
) %}
{%- do prov_cmds.append('- systemctl enable sshd.service') %}
{%- endif %}
{#- Specific to `develop` #}
Expand Down

0 comments on commit 8a47934

Please sign in to comment.