Skip to content

Commit

Permalink
Merge pull request #31 from mrlesmithjr/adding-scientific-linux
Browse files Browse the repository at this point in the history
Added Scientific Linux 7
  • Loading branch information
mrlesmithjr authored May 15, 2018
2 parents 0401e14 + 836c7a7 commit e28057f
Show file tree
Hide file tree
Showing 13 changed files with 55 additions and 0 deletions.
1 change: 1 addition & 0 deletions Scientific-Linux/7/server/.gitignore
1 change: 1 addition & 0 deletions Scientific-Linux/7/server/Vagrantfile
1 change: 1 addition & 0 deletions Scientific-Linux/7/server/ansible.cfg
1 change: 1 addition & 0 deletions Scientific-Linux/7/server/bootstrap.yml
1 change: 1 addition & 0 deletions Scientific-Linux/7/server/cleanup.bat
1 change: 1 addition & 0 deletions Scientific-Linux/7/server/hosts
28 changes: 28 additions & 0 deletions Scientific-Linux/7/server/nodes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
- name: node0
ansible_groups:
- test_nodes
box: mrlesmithjr/scientific-linux-7
desktop: false
# disks:
# - size: 10
# controller: "SATA Controller"
# - size: 10
# controller: "SATA Controller"
# interfaces:
# - ip: 192.168.250.10
# auto_config: true
# method: static
# - ip: 192.168.1.10
# auto_config: false
# method: static
# network_name: network-1
mem: 512
provision: true
vcpu: 1
# port_forwards:
# - guest: 80
# host: 8080
# - guest: 443
# host: 4433
windows: false
1 change: 1 addition & 0 deletions Scientific-Linux/7/server/playbook.yml
16 changes: 16 additions & 0 deletions Scientific-Linux/7/server/prep.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash

LINKS=(".gitignore" "ansible.cfg" "scripts" \
"bootstrap.yml" "cleanup.bat" "playbook.yml" \
"requirements.yml" "unit-test.sh" "Vagrantfile" "prep_host_vars.yml")
TOP_FOLDER_PATH="../../.."
for i in "${LINKS[@]}"
do
if [ -f "./$i" ]; then
rm "./$i"
fi
if [ ! -L "./$i" ]; then
ln -s $TOP_FOLDER_PATH/$i .
fi
done
ln -sf .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory hosts
1 change: 1 addition & 0 deletions Scientific-Linux/7/server/prep_host_vars.yml
1 change: 1 addition & 0 deletions Scientific-Linux/7/server/requirements.yml
1 change: 1 addition & 0 deletions Scientific-Linux/7/server/scripts
1 change: 1 addition & 0 deletions Scientific-Linux/7/server/unit-test.sh

0 comments on commit e28057f

Please sign in to comment.