Skip to content

Commit 8a3c915

Browse files
committed
ci(kitchen): simulate epel dependancy
1 parent 3fe8750 commit 8a3c915

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

kitchen.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,14 @@ verifier:
269269
suites:
270270
- name: default
271271
provisioner:
272+
dependencies:
273+
- name: epel
274+
repo: git
275+
source: https://github.com/saltstack-formulas/epel-formula.git
272276
state_top:
273277
base:
278+
'G@os_family:RedHat':
279+
- epel
274280
'*':
275281
- users._mapdata
276282
- users

users/init.sls

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ include:
5050
- users.sudo
5151
{%- endif %}
5252
{%- if used_googleauth %}
53-
{%- if grains['os_family'] == 'RedHat' %}
54-
- epel
55-
{%- endif %}
5653
- users.googleauth
5754
{%- endif %}
5855
{%- if used_user_files %}
@@ -521,9 +518,6 @@ users_googleauth-{{ svc }}-{{ name }}:
521518
- group: {{ users.root_group }}
522519
- mode: '0600'
523520
- require:
524-
{%- if grains['os_family'] == 'RedHat' %}
525-
- pkg: epel_release
526-
{%- endif %}
527521
- pkg: users_googleauth-package
528522
{%- endfor %}
529523
{%- endif %}

0 commit comments

Comments
 (0)