Skip to content

Commit c465cad

Browse files
author
Apollo Catlin
authored
Merge pull request #29 from threatstack/new-el7-repo
Adding new centos7 and centos6 repos
2 parents f69b122 + 4d88607 commit c465cad

File tree

3 files changed

+15
-17
lines changed

3 files changed

+15
-17
lines changed

.kitchen.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@ provisioner:
2323
<% end %>
2424

2525
platforms:
26+
- name: centos-6.7
27+
- name: centos-7.2
28+
- name: debian-7.8
29+
- name: debian-8.1
30+
- name: fedora-25
2631
- name: ubuntu-12.04
2732
- name: ubuntu-14.04
28-
- name: debian-7.8
29-
- name: centos-6.7
3033

3134
suites:
3235
- name: default

meta/main.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,16 @@ galaxy_info:
99
- name: EL
1010
versions:
1111
- all
12-
- 5
1312
- 6
1413
- 7
15-
- name: Fedora
14+
- name: Debian
1615
versions:
1716
- all
18-
- 16
19-
- 17
20-
- 18
21-
- 19
22-
- 20
17+
- 7
18+
- 8
19+
- name: Fedora
20+
versions:
21+
- 25
2322
- name: Amazon
2423
versions:
2524
- all
@@ -28,15 +27,9 @@ galaxy_info:
2827
- name: Ubuntu
2928
versions:
3029
- all
31-
- lucid
32-
- maverick
33-
- natty
34-
- oneiric
3530
- precise
36-
- quantal
37-
- raring
38-
- saucy
3931
- trusty
32+
- xenial
4033
categories:
4134
- cloud
4235
- cloud:ec2

templates/threatstack.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
name=Threat Stack Package Repository
33
{% if ansible_distribution == 'Amazon' %}
44
baseurl={{threatstack_pkg_url}}/Amazon
5+
{% elif ansible_distribution == 'CentOS' %}
6+
baseurl={{threatstack_pkg_url}}/EL/{{ansible_distribution_major_version}}
57
{% else %}
6-
baseurl={{threatstack_pkg_url}}/CentOS
8+
baseurl={{threatstack_pkg_url}}/EL/7
79
{% endif %}
810
enabled=1
911
gpgcheck=1

0 commit comments

Comments
 (0)