Skip to content

Commit

Permalink
ci(kitchen): simulate epel dependancy
Browse files Browse the repository at this point in the history
  • Loading branch information
unilogicbv committed Jun 14, 2022
1 parent 3fe8750 commit 8a3c915
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,14 @@ verifier:
suites:
- name: default
provisioner:
dependencies:
- name: epel
repo: git
source: https://github.com/saltstack-formulas/epel-formula.git
state_top:
base:
'G@os_family:RedHat':
- epel
'*':
- users._mapdata
- users
Expand Down
6 changes: 0 additions & 6 deletions users/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ include:
- users.sudo
{%- endif %}
{%- if used_googleauth %}
{%- if grains['os_family'] == 'RedHat' %}
- epel
{%- endif %}
- users.googleauth
{%- endif %}
{%- if used_user_files %}
Expand Down Expand Up @@ -521,9 +518,6 @@ users_googleauth-{{ svc }}-{{ name }}:
- group: {{ users.root_group }}
- mode: '0600'
- require:
{%- if grains['os_family'] == 'RedHat' %}
- pkg: epel_release
{%- endif %}
- pkg: users_googleauth-package
{%- endfor %}
{%- endif %}
Expand Down

0 comments on commit 8a3c915

Please sign in to comment.