Skip to content

Commit

Permalink
Merge pull request #29 from threatstack/new-el7-repo
Browse files Browse the repository at this point in the history
Adding new centos7 and centos6 repos
  • Loading branch information
Apollo Catlin authored Aug 10, 2017
2 parents f69b122 + 4d88607 commit c465cad
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 17 deletions.
7 changes: 5 additions & 2 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ provisioner:
<% end %>

platforms:
- name: centos-6.7
- name: centos-7.2
- name: debian-7.8
- name: debian-8.1
- name: fedora-25
- name: ubuntu-12.04
- name: ubuntu-14.04
- name: debian-7.8
- name: centos-6.7

suites:
- name: default
21 changes: 7 additions & 14 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,16 @@ galaxy_info:
- name: EL
versions:
- all
- 5
- 6
- 7
- name: Fedora
- name: Debian
versions:
- all
- 16
- 17
- 18
- 19
- 20
- 7
- 8
- name: Fedora
versions:
- 25
- name: Amazon
versions:
- all
Expand All @@ -28,15 +27,9 @@ galaxy_info:
- name: Ubuntu
versions:
- all
- lucid
- maverick
- natty
- oneiric
- precise
- quantal
- raring
- saucy
- trusty
- xenial
categories:
- cloud
- cloud:ec2
Expand Down
4 changes: 3 additions & 1 deletion templates/threatstack.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
name=Threat Stack Package Repository
{% if ansible_distribution == 'Amazon' %}
baseurl={{threatstack_pkg_url}}/Amazon
{% elif ansible_distribution == 'CentOS' %}
baseurl={{threatstack_pkg_url}}/EL/{{ansible_distribution_major_version}}
{% else %}
baseurl={{threatstack_pkg_url}}/CentOS
baseurl={{threatstack_pkg_url}}/EL/7
{% endif %}
enabled=1
gpgcheck=1

0 comments on commit c465cad

Please sign in to comment.