-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from GSA/el-support
add Enterprise Linux and Ubuntu 14 support/testing
- Loading branch information
Showing
16 changed files
with
190 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.vagrant/ | ||
*.log | ||
*.retry | ||
*.deb | ||
*.rpm | ||
secrets.yml | ||
.kitchen/ | ||
.kitchen.local.yml | ||
Dockerfile* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
driver: | ||
name: docker | ||
# https://github.com/test-kitchen/kitchen-docker/issues/207#issuecomment-218544624 | ||
use_sudo: false | ||
|
||
provisioner: | ||
name: ansible_playbook | ||
hosts: instances | ||
additional_copy_path: | ||
# for some reason this isn't copied by default | ||
- test/integration/default/files | ||
|
||
platforms: | ||
# https://github.com/test-kitchen/kitchen-docker/issues/268#issuecomment-304141235 | ||
- name: centos-6 | ||
driver: | ||
disable_upstart: false | ||
run_command: /sbin/init | ||
- name: centos-7 | ||
driver_config: | ||
image: centos/systemd | ||
run_command: /usr/sbin/init | ||
privileged: true | ||
provision_command: | ||
- sed -i 's/UsePAM yes/UsePAM no/g' /etc/ssh/sshd_config | ||
- systemctl enable sshd.service | ||
- name: ubuntu-14.04 | ||
- name: ubuntu-16.04 | ||
|
||
suites: | ||
- name: default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'test-kitchen' | ||
gem 'kitchen-ansible' | ||
gem 'kitchen-docker' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
builder (3.2.3) | ||
erubis (2.7.0) | ||
ffi (1.9.18) | ||
gssapi (1.2.0) | ||
ffi (>= 1.0.1) | ||
gyoku (1.3.1) | ||
builder (>= 2.1.2) | ||
httpclient (2.8.3) | ||
kitchen-ansible (0.48.1) | ||
net-ssh (>= 3) | ||
test-kitchen (~> 1.4) | ||
kitchen-docker (2.6.0) | ||
test-kitchen (>= 1.0.0) | ||
little-plugger (1.1.4) | ||
logging (2.2.2) | ||
little-plugger (~> 1.1) | ||
multi_json (~> 1.10) | ||
mixlib-install (3.8.0) | ||
mixlib-shellout | ||
mixlib-versioning | ||
thor | ||
mixlib-shellout (2.3.2) | ||
mixlib-versioning (1.2.2) | ||
multi_json (1.12.2) | ||
net-scp (1.2.1) | ||
net-ssh (>= 2.6.5) | ||
net-ssh (4.2.0) | ||
net-ssh-gateway (1.3.0) | ||
net-ssh (>= 2.6.5) | ||
nori (2.6.0) | ||
rubyntlm (0.6.2) | ||
rubyzip (1.2.1) | ||
safe_yaml (1.0.4) | ||
test-kitchen (1.19.2) | ||
mixlib-install (~> 3.6) | ||
mixlib-shellout (>= 1.2, < 3.0) | ||
net-scp (~> 1.1) | ||
net-ssh (>= 2.9, < 5.0) | ||
net-ssh-gateway (~> 1.2) | ||
safe_yaml (~> 1.0) | ||
thor (~> 0.19, < 0.19.2) | ||
winrm (~> 2.0) | ||
winrm-elevated (~> 1.0) | ||
winrm-fs (~> 1.1.0) | ||
thor (0.19.1) | ||
winrm (2.2.3) | ||
builder (>= 2.1.2) | ||
erubis (~> 2.7) | ||
gssapi (~> 1.2) | ||
gyoku (~> 1.0) | ||
httpclient (~> 2.2, >= 2.2.0.2) | ||
logging (>= 1.6.1, < 3.0) | ||
nori (~> 2.0) | ||
rubyntlm (~> 0.6.0, >= 0.6.1) | ||
winrm-elevated (1.1.0) | ||
winrm (~> 2.0) | ||
winrm-fs (~> 1.0) | ||
winrm-fs (1.1.1) | ||
erubis (~> 2.7) | ||
logging (>= 1.6.1, < 3.0) | ||
rubyzip (~> 1.1) | ||
winrm (~> 2.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
kitchen-ansible | ||
kitchen-docker | ||
test-kitchen | ||
|
||
BUNDLED WITH | ||
1.16.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.kitchen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,9 @@ galaxy_info: | |
- name: Debian | ||
versions: | ||
- all | ||
- name: EL | ||
versions: | ||
- all | ||
|
||
galaxy_tags: | ||
- security | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[defaults] | ||
roles_path=../../../../ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
- hosts: all | ||
become: true | ||
pre_tasks: | ||
# not included by default on ubuntu:16.04 image | ||
- name: Install time zone package | ||
package: name=tzdata | ||
roles: | ||
- ansible-role-nessus-agent |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
nessus_agent_version: "7.0.0" | ||
# https://docs.tenable.com/cloud/Content/AdditionalResources/InstallNessusAgent.htm | ||
nessus_agent_packages: | ||
CentOS: | ||
6: NessusAgent-{{ nessus_agent_version }}-es6.x86_64.rpm | ||
7: NessusAgent-{{ nessus_agent_version }}-es7.x86_64.rpm | ||
Ubuntu: | ||
14: NessusAgent-{{ nessus_agent_version }}-ubuntu1110_amd64.deb | ||
16: NessusAgent-{{ nessus_agent_version }}-ubuntu1110_amd64.deb | ||
nessus_agent_package: "{{ role_path }}/test/integration/default/files/{{ nessus_agent_packages[ansible_distribution][ansible_distribution_major_version | int] }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
nessus_agent_key: ... | ||
"{{ role_path }}/test/integration/default/files/NessusAgent-7.0.0-ubuntu1110_amd64.deb" | ||
|
||
# you can also configure the optional variables here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
localhost ansible_connection=local ansible_user=root |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.