taperole 1.2.8 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.hound.yml +7 -0
- data/CHANGELOG.md +12 -0
- data/README.md +7 -16
- data/config/style_guides/ruby.yml +238 -0
- data/lib/tape/ansible_runner.rb +41 -33
- data/lib/tape/installer.rb +56 -28
- data/lib/tape.rb +8 -0
- data/requirements.yml +5 -2
- data/roles/backend_install_essentials/meta/main.yml +1 -1
- data/roles/database_load/tasks/db_reset.yml +3 -3
- data/roles/deployer_user/tasks/keys.yml +3 -2
- data/roles/frontend_deploy/tasks/main.yml +5 -1
- data/roles/frontend_install_essentials/meta/main.yml +3 -0
- data/roles/general/meta/main.yml +2 -0
- data/roles/general/tasks/basic_packages.yml +3 -0
- data/roles/general/tasks/main.yml +11 -1
- data/roles/nginx/tasks/main.yml +6 -2
- data/taperole.gemspec +1 -1
- data/templates/base/hosts.example +1 -1
- data/templates/base/tape_vars.example.yml +0 -3
- data/templates/static_html/tape_vars.example.yml +0 -3
- data/vars/defaults.yml +5 -0
- data/vendor/ANXS.postgresql/.travis.yml +11 -6
- data/vendor/ANXS.postgresql/README.md +5 -1
- data/vendor/ANXS.postgresql/Vagrantfile +1 -1
- data/vendor/ANXS.postgresql/defaults/main.yml +35 -1
- data/vendor/ANXS.postgresql/meta/.galaxy_install_info +1 -1
- data/vendor/ANXS.postgresql/tasks/configure.yml +34 -3
- data/vendor/ANXS.postgresql/tasks/databases.yml +13 -0
- data/vendor/ANXS.postgresql/tasks/install.yml +22 -0
- data/vendor/ANXS.postgresql/tasks/users_privileges.yml +4 -4
- data/vendor/ANXS.postgresql/templates/etc_apt_preferences.d_apt_postgresql_org_pub_repos_apt.pref.j2 +5 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.3.j2 +596 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.4.j2 +614 -0
- data/vendor/ANXS.postgresql/vagrant-inventory +1 -1
- data/vendor/bennojoy.memcached/meta/.galaxy_install_info +1 -1
- data/vendor/jnv.mosh/LICENSE +24 -0
- data/vendor/jnv.mosh/README.md +56 -0
- data/vendor/jnv.mosh/meta/.galaxy_install_info +1 -0
- data/vendor/jnv.mosh/meta/main.yml +96 -0
- data/vendor/jnv.mosh/tasks/main.yml +20 -0
- data/vendor/jnv.mosh/vars/main.yml +4 -0
- data/vendor/jnv.unattended-upgrades/meta/.galaxy_install_info +1 -1
- data/vendor/lxhunter.apt/.gitignore +1 -0
- data/vendor/lxhunter.apt/.kitchen.yml +67 -0
- data/vendor/lxhunter.apt/README.md +33 -25
- data/vendor/lxhunter.apt/defaults/main.yml +1 -5
- data/vendor/lxhunter.apt/meta/.galaxy_install_info +1 -1
- data/vendor/lxhunter.apt/tasks/main.yml +23 -23
- data/vendor/lxhunter.apt/test/integration/default/bats/simple.bats +35 -0
- data/vendor/lxhunter.apt/test/integration/default/default.yml +16 -0
- data/vendor/tersmitten.htop/.gitignore +29 -0
- data/vendor/tersmitten.htop/.travis.yml +75 -0
- data/vendor/tersmitten.htop/LICENSE.txt +19 -0
- data/vendor/tersmitten.htop/README.md +45 -0
- data/vendor/tersmitten.htop/Vagrantfile +71 -0
- data/vendor/tersmitten.htop/defaults/main.yml +8 -0
- data/vendor/tersmitten.htop/files/etc/skel/.config/htop/htoprc +23 -0
- data/vendor/tersmitten.htop/handlers/main.yml +2 -0
- data/vendor/tersmitten.htop/meta/.galaxy_install_info +1 -0
- data/vendor/tersmitten.htop/meta/main.yml +18 -0
- data/vendor/tersmitten.htop/tasks/main.yml +27 -0
- data/vendor/tersmitten.htop/templates/empty +0 -0
- data/vendor/tersmitten.htop/tests/inventory +1 -0
- data/vendor/tersmitten.htop/tests/test.yml +6 -0
- data/vendor/tersmitten.htop/tests/vagrant.yml +17 -0
- data/vendor/tersmitten.htop/vars/main.yml +2 -0
- data/vendor/williamyeh.nodejs/.gitignore +1 -0
- data/vendor/williamyeh.nodejs/LICENSE +22 -0
- data/vendor/williamyeh.nodejs/README.md +107 -0
- data/vendor/williamyeh.nodejs/Vagrantfile +33 -0
- data/vendor/williamyeh.nodejs/circle.yml +32 -0
- data/vendor/williamyeh.nodejs/defaults/main.yml +17 -0
- data/vendor/williamyeh.nodejs/files/nodesource.gpg.key +52 -0
- data/vendor/williamyeh.nodejs/meta/.galaxy_install_info +1 -0
- data/vendor/williamyeh.nodejs/meta/main.yml +27 -0
- data/vendor/williamyeh.nodejs/tasks/main.yml +19 -0
- data/vendor/williamyeh.nodejs/tasks/set-role-variables.yml +15 -0
- data/vendor/williamyeh.nodejs/tasks/use-apt.yml +88 -0
- data/vendor/williamyeh.nodejs/tasks/use-yum.yml +34 -0
- data/vendor/williamyeh.nodejs/test/Dockerfile-centos6 +29 -0
- data/vendor/williamyeh.nodejs/test/Dockerfile-centos7 +29 -0
- data/vendor/williamyeh.nodejs/test/Dockerfile-debian7 +29 -0
- data/vendor/williamyeh.nodejs/test/Dockerfile-debian8 +29 -0
- data/vendor/williamyeh.nodejs/test/Dockerfile-ubuntu12.04 +29 -0
- data/vendor/williamyeh.nodejs/test/Dockerfile-ubuntu14.04 +29 -0
- data/vendor/williamyeh.nodejs/test.yml +12 -0
- data/vendor/zzet.rbenv/.travis.yml +5 -2
- data/vendor/zzet.rbenv/README.md +1 -1
- data/vendor/zzet.rbenv/defaults/main.yml +3 -3
- data/vendor/zzet.rbenv/meta/.galaxy_install_info +1 -1
- data/vendor/zzet.rbenv/tasks/apt_build_depends.yml +7 -0
- data/vendor/zzet.rbenv/tasks/homebrew_build_depends.yml +4 -2
- data/vendor/zzet.rbenv/tasks/main.yml +5 -2
- metadata +53 -7
- data/lib/tape/vagrant_provisioner.rb +0 -42
- data/vendor/ANXS.postgresql/templates/postgresql.conf.j2 +0 -446
- data/vendor/lxhunter.apt/.travis.yml +0 -12
- data/vendor/lxhunter.apt/Vagrantfile +0 -16
- data/vendor/lxhunter.apt/templates/apt_10general.j2 +0 -4
@@ -0,0 +1,29 @@
|
|
1
|
+
# Dockerfile for building image that contains software stack provisioned by Ansible.
|
2
|
+
#
|
3
|
+
# USAGE:
|
4
|
+
# $ docker build .
|
5
|
+
#
|
6
|
+
# Version 1.0
|
7
|
+
#
|
8
|
+
|
9
|
+
|
10
|
+
# pull base image
|
11
|
+
FROM williamyeh/ansible:centos6-onbuild
|
12
|
+
|
13
|
+
MAINTAINER William Yeh <william.pjyeh@gmail.com>
|
14
|
+
|
15
|
+
|
16
|
+
#
|
17
|
+
# build phase
|
18
|
+
#
|
19
|
+
|
20
|
+
ENV PLAYBOOK test.yml
|
21
|
+
RUN ansible-playbook-wrapper -vvv
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# test phase
|
27
|
+
#
|
28
|
+
|
29
|
+
CMD ["node", "--version"]
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Dockerfile for building image that contains software stack provisioned by Ansible.
|
2
|
+
#
|
3
|
+
# USAGE:
|
4
|
+
# $ docker build .
|
5
|
+
#
|
6
|
+
# Version 1.0
|
7
|
+
#
|
8
|
+
|
9
|
+
|
10
|
+
# pull base image
|
11
|
+
FROM williamyeh/ansible:centos7-onbuild
|
12
|
+
|
13
|
+
MAINTAINER William Yeh <william.pjyeh@gmail.com>
|
14
|
+
|
15
|
+
|
16
|
+
#
|
17
|
+
# build phase
|
18
|
+
#
|
19
|
+
|
20
|
+
ENV PLAYBOOK test.yml
|
21
|
+
RUN ansible-playbook-wrapper -vvv
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# test phase
|
27
|
+
#
|
28
|
+
|
29
|
+
CMD ["node", "--version"]
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Dockerfile for building image that contains software stack provisioned by Ansible.
|
2
|
+
#
|
3
|
+
# USAGE:
|
4
|
+
# $ docker build .
|
5
|
+
#
|
6
|
+
# Version 1.0
|
7
|
+
#
|
8
|
+
|
9
|
+
|
10
|
+
# pull base image
|
11
|
+
FROM williamyeh/ansible:debian7-onbuild
|
12
|
+
|
13
|
+
MAINTAINER William Yeh <william.pjyeh@gmail.com>
|
14
|
+
|
15
|
+
|
16
|
+
#
|
17
|
+
# build phase
|
18
|
+
#
|
19
|
+
|
20
|
+
ENV PLAYBOOK test.yml
|
21
|
+
RUN ansible-playbook-wrapper
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# test phase
|
27
|
+
#
|
28
|
+
|
29
|
+
CMD ["node", "--version"]
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Dockerfile for building image that contains software stack provisioned by Ansible.
|
2
|
+
#
|
3
|
+
# USAGE:
|
4
|
+
# $ docker build .
|
5
|
+
#
|
6
|
+
# Version 1.0
|
7
|
+
#
|
8
|
+
|
9
|
+
|
10
|
+
# pull base image
|
11
|
+
FROM williamyeh/ansible:debian8-onbuild
|
12
|
+
|
13
|
+
MAINTAINER William Yeh <william.pjyeh@gmail.com>
|
14
|
+
|
15
|
+
|
16
|
+
#
|
17
|
+
# build phase
|
18
|
+
#
|
19
|
+
|
20
|
+
ENV PLAYBOOK test.yml
|
21
|
+
RUN ansible-playbook-wrapper
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# test phase
|
27
|
+
#
|
28
|
+
|
29
|
+
CMD ["node", "--version"]
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Dockerfile for building image that contains software stack provisioned by Ansible.
|
2
|
+
#
|
3
|
+
# USAGE:
|
4
|
+
# $ docker build .
|
5
|
+
#
|
6
|
+
# Version 1.0
|
7
|
+
#
|
8
|
+
|
9
|
+
|
10
|
+
# pull base image
|
11
|
+
FROM williamyeh/ansible:ubuntu12.04-onbuild
|
12
|
+
|
13
|
+
MAINTAINER William Yeh <william.pjyeh@gmail.com>
|
14
|
+
|
15
|
+
|
16
|
+
#
|
17
|
+
# build phase
|
18
|
+
#
|
19
|
+
|
20
|
+
ENV PLAYBOOK test.yml
|
21
|
+
RUN ansible-playbook-wrapper
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# test phase
|
27
|
+
#
|
28
|
+
|
29
|
+
CMD ["node", "--version"]
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Dockerfile for building image that contains software stack provisioned by Ansible.
|
2
|
+
#
|
3
|
+
# USAGE:
|
4
|
+
# $ docker build .
|
5
|
+
#
|
6
|
+
# Version 1.0
|
7
|
+
#
|
8
|
+
|
9
|
+
|
10
|
+
# pull base image
|
11
|
+
FROM williamyeh/ansible:ubuntu14.04-onbuild
|
12
|
+
|
13
|
+
MAINTAINER William Yeh <william.pjyeh@gmail.com>
|
14
|
+
|
15
|
+
|
16
|
+
#
|
17
|
+
# build phase
|
18
|
+
#
|
19
|
+
|
20
|
+
ENV PLAYBOOK test.yml
|
21
|
+
RUN ansible-playbook-wrapper
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# test phase
|
27
|
+
#
|
28
|
+
|
29
|
+
CMD ["node", "--version"]
|
@@ -2,11 +2,14 @@
|
|
2
2
|
language: python
|
3
3
|
python: "2.7"
|
4
4
|
before_install:
|
5
|
-
|
6
|
-
|
5
|
+
- sudo apt-get update -qq
|
6
|
+
- sudo apt-get install -qq python-apt python-pycurl
|
7
7
|
install:
|
8
8
|
- pip install ansible
|
9
9
|
script:
|
10
10
|
- echo localhost > inventory
|
11
11
|
- ansible-playbook --syntax-check -i inventory role.yml
|
12
12
|
- ansible-playbook -i inventory role.yml --connection=local --sudo -vvvv
|
13
|
+
os:
|
14
|
+
- linux
|
15
|
+
- osx
|
data/vendor/zzet.rbenv/README.md
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
rbenv:
|
3
3
|
env: system
|
4
4
|
version: v0.4.0
|
5
|
-
ruby_version: 2.
|
5
|
+
ruby_version: 2.2.0
|
6
6
|
|
7
7
|
rbenv_repo: "git://github.com/sstephenson/rbenv.git"
|
8
8
|
|
9
9
|
rbenv_plugins:
|
10
10
|
- { name: "rbenv-vars", repo: "git://github.com/sstephenson/rbenv-vars.git", version: "v1.2.0" }
|
11
|
-
- { name: "ruby-build", repo: "git://github.com/sstephenson/ruby-build.git", version: "
|
11
|
+
- { name: "ruby-build", repo: "git://github.com/sstephenson/ruby-build.git", version: "v20150413" }
|
12
12
|
- { name: "rbenv-default-gems", repo: "git://github.com/sstephenson/rbenv-default-gems.git", version: "v1.0.0" }
|
13
13
|
- { name: "rbenv-installer", repo: "git://github.com/fesplugas/rbenv-installer.git", version: "22cc96aa45d06faca5958b1aa1688596198407a3" }
|
14
|
-
- { name: "rbenv-update", repo: "git://github.com/rkh/rbenv-update.git", version: "
|
14
|
+
- { name: "rbenv-update", repo: "git://github.com/rkh/rbenv-update.git", version: "bf757453498337807a46e24074d29173f1a8abec" }
|
15
15
|
- { name: "rbenv-whatis", repo: "git://github.com/rkh/rbenv-whatis.git", version: "v1.0.0" }
|
16
16
|
- { name: "rbenv-use", repo: "git://github.com/rkh/rbenv-use.git", version: "v1.0.0" }
|
17
17
|
|
@@ -1 +1 @@
|
|
1
|
-
{install_date: '
|
1
|
+
{install_date: 'Mon Nov 16 16:35:22 2015', version: 2.1.3}
|
@@ -1,9 +1,16 @@
|
|
1
|
+
- name: update apt cache
|
2
|
+
apt: update_cache=yes
|
3
|
+
sudo: true
|
4
|
+
tags:
|
5
|
+
- rbenv
|
6
|
+
|
1
7
|
- name: install build depends
|
2
8
|
apt: pkg={{ item }} state=present install_recommends=no
|
3
9
|
with_items:
|
4
10
|
- build-essential
|
5
11
|
- git
|
6
12
|
- libcurl4-openssl-dev
|
13
|
+
- libffi-dev
|
7
14
|
- libreadline-dev
|
8
15
|
- libssl-dev
|
9
16
|
- libxml2-dev
|
@@ -3,8 +3,10 @@
|
|
3
3
|
with_items:
|
4
4
|
- openssl
|
5
5
|
- libyaml
|
6
|
+
|
6
7
|
# required for building Ruby <= 1.9.3-p0
|
7
8
|
- homebrew_tap: tap=homebrew/dupes state=present
|
8
|
-
when: rbenv.ruby_version <= 1.9.3-p0
|
9
|
+
when: rbenv.ruby_version <= '1.9.3-p0'
|
10
|
+
|
9
11
|
- homebrew: name=apple-gcc42 state=present
|
10
|
-
when: rbenv.ruby_version <= 1.9.3-p0
|
12
|
+
when: rbenv.ruby_version <= '1.9.3-p0'
|
@@ -136,6 +136,7 @@
|
|
136
136
|
register: ruby_installed
|
137
137
|
changed_when: false
|
138
138
|
ignore_errors: yes
|
139
|
+
always_run: yes
|
139
140
|
when: rbenv.env == "system"
|
140
141
|
tags:
|
141
142
|
- rbenv
|
@@ -148,7 +149,7 @@
|
|
148
149
|
tags:
|
149
150
|
- rbenv
|
150
151
|
|
151
|
-
- name:
|
152
|
+
- name: set ruby {{ rbenv.ruby_version }} for system
|
152
153
|
shell: bash -lc "rbenv global {{ rbenv.ruby_version }} && rbenv rehash"
|
153
154
|
when:
|
154
155
|
- rbenv.env == "system"
|
@@ -163,7 +164,9 @@
|
|
163
164
|
with_items: rbenv_users
|
164
165
|
when: not "system" == "{{ rbenv.env }}"
|
165
166
|
register: ruby_installed
|
167
|
+
changed_when: false
|
166
168
|
ignore_errors: yes
|
169
|
+
always_run: yes
|
167
170
|
tags:
|
168
171
|
- rbenv
|
169
172
|
|
@@ -179,7 +182,7 @@
|
|
179
182
|
tags:
|
180
183
|
- rbenv
|
181
184
|
|
182
|
-
- name:
|
185
|
+
- name: set ruby {{ rbenv.ruby_version }} for select users
|
183
186
|
shell: $SHELL -lc "rbenv global {{ rbenv.ruby_version }} && rbenv rehash"
|
184
187
|
sudo: true
|
185
188
|
sudo_user: "{{ item[1] }}"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: taperole
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Forrest
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-12-11 00:00:00.000000000 Z
|
14
14
|
dependencies: []
|
15
15
|
description:
|
16
16
|
email:
|
@@ -22,6 +22,7 @@ extensions: []
|
|
22
22
|
extra_rdoc_files: []
|
23
23
|
files:
|
24
24
|
- ".gitignore"
|
25
|
+
- ".hound.yml"
|
25
26
|
- CHANGELOG.md
|
26
27
|
- CONTRIBUTING.md
|
27
28
|
- LICENSE
|
@@ -29,12 +30,12 @@ files:
|
|
29
30
|
- Vagrantfile
|
30
31
|
- ansible.cfg
|
31
32
|
- bin/tape
|
33
|
+
- config/style_guides/ruby.yml
|
32
34
|
- id_rsa_sb_basebox
|
33
35
|
- lib/tape.rb
|
34
36
|
- lib/tape/ansible_runner.rb
|
35
37
|
- lib/tape/installer.rb
|
36
38
|
- lib/tape/qemu_provisioner.rb
|
37
|
-
- lib/tape/vagrant_provisioner.rb
|
38
39
|
- requirements.yml
|
39
40
|
- roles/after_deploy/tasks/main.yml
|
40
41
|
- roles/backend_checkout/tasks/main.yml
|
@@ -57,6 +58,7 @@ files:
|
|
57
58
|
- roles/deployer_user/tasks/main.yml
|
58
59
|
- roles/frontend_deploy/handlers/main.yml
|
59
60
|
- roles/frontend_deploy/tasks/main.yml
|
61
|
+
- roles/frontend_install_essentials/meta/main.yml
|
60
62
|
- roles/frontend_install_essentials/tasks/main.yml
|
61
63
|
- roles/general/meta/main.yml
|
62
64
|
- roles/general/tasks/basic_packages.yml
|
@@ -111,9 +113,11 @@ files:
|
|
111
113
|
- vendor/ANXS.postgresql/tasks/monit.yml
|
112
114
|
- vendor/ANXS.postgresql/tasks/users.yml
|
113
115
|
- vendor/ANXS.postgresql/tasks/users_privileges.yml
|
116
|
+
- vendor/ANXS.postgresql/templates/etc_apt_preferences.d_apt_postgresql_org_pub_repos_apt.pref.j2
|
114
117
|
- vendor/ANXS.postgresql/templates/etc_monit_conf.d_postgresql.j2
|
115
118
|
- vendor/ANXS.postgresql/templates/pg_hba.conf.j2
|
116
|
-
- vendor/ANXS.postgresql/templates/postgresql.conf.j2
|
119
|
+
- vendor/ANXS.postgresql/templates/postgresql.conf-9.3.j2
|
120
|
+
- vendor/ANXS.postgresql/templates/postgresql.conf-9.4.j2
|
117
121
|
- vendor/ANXS.postgresql/test.yml
|
118
122
|
- vendor/ANXS.postgresql/vagrant-inventory
|
119
123
|
- vendor/ANXS.postgresql/vars/test.yml
|
@@ -126,6 +130,12 @@ files:
|
|
126
130
|
- vendor/bennojoy.memcached/templates/memcached_debian.j2
|
127
131
|
- vendor/bennojoy.memcached/templates/memcached_redhat.j2
|
128
132
|
- vendor/bennojoy.memcached/vars/main.yml
|
133
|
+
- vendor/jnv.mosh/LICENSE
|
134
|
+
- vendor/jnv.mosh/README.md
|
135
|
+
- vendor/jnv.mosh/meta/.galaxy_install_info
|
136
|
+
- vendor/jnv.mosh/meta/main.yml
|
137
|
+
- vendor/jnv.mosh/tasks/main.yml
|
138
|
+
- vendor/jnv.mosh/vars/main.yml
|
129
139
|
- vendor/jnv.unattended-upgrades/.gitignore
|
130
140
|
- vendor/jnv.unattended-upgrades/.travis.yml
|
131
141
|
- vendor/jnv.unattended-upgrades/LICENSE
|
@@ -156,15 +166,15 @@ files:
|
|
156
166
|
- vendor/leonelgalan.node/tasks/main.yml
|
157
167
|
- vendor/leonelgalan.node/vars/main.yml
|
158
168
|
- vendor/lxhunter.apt/.gitignore
|
159
|
-
- vendor/lxhunter.apt/.
|
169
|
+
- vendor/lxhunter.apt/.kitchen.yml
|
160
170
|
- vendor/lxhunter.apt/README.md
|
161
|
-
- vendor/lxhunter.apt/Vagrantfile
|
162
171
|
- vendor/lxhunter.apt/defaults/main.yml
|
163
172
|
- vendor/lxhunter.apt/meta/.galaxy_install_info
|
164
173
|
- vendor/lxhunter.apt/meta/main.yml
|
165
174
|
- vendor/lxhunter.apt/tasks/main.yml
|
166
|
-
- vendor/lxhunter.apt/templates/apt_10general.j2
|
167
175
|
- vendor/lxhunter.apt/test.yml
|
176
|
+
- vendor/lxhunter.apt/test/integration/default/bats/simple.bats
|
177
|
+
- vendor/lxhunter.apt/test/integration/default/default.yml
|
168
178
|
- vendor/nodesource.node/Dockerfile
|
169
179
|
- vendor/nodesource.node/LICENSE.md
|
170
180
|
- vendor/nodesource.node/README.md
|
@@ -177,6 +187,42 @@ files:
|
|
177
187
|
- vendor/nodesource.node/templates/etc/apt/preferences.d/deb_nodesource_com_node.pref.2
|
178
188
|
- vendor/nodesource.node/tests/localhosts
|
179
189
|
- vendor/nodesource.node/vars/main.yml
|
190
|
+
- vendor/tersmitten.htop/.gitignore
|
191
|
+
- vendor/tersmitten.htop/.travis.yml
|
192
|
+
- vendor/tersmitten.htop/LICENSE.txt
|
193
|
+
- vendor/tersmitten.htop/README.md
|
194
|
+
- vendor/tersmitten.htop/Vagrantfile
|
195
|
+
- vendor/tersmitten.htop/defaults/main.yml
|
196
|
+
- vendor/tersmitten.htop/files/etc/skel/.config/htop/htoprc
|
197
|
+
- vendor/tersmitten.htop/handlers/main.yml
|
198
|
+
- vendor/tersmitten.htop/meta/.galaxy_install_info
|
199
|
+
- vendor/tersmitten.htop/meta/main.yml
|
200
|
+
- vendor/tersmitten.htop/tasks/main.yml
|
201
|
+
- vendor/tersmitten.htop/templates/empty
|
202
|
+
- vendor/tersmitten.htop/tests/inventory
|
203
|
+
- vendor/tersmitten.htop/tests/test.yml
|
204
|
+
- vendor/tersmitten.htop/tests/vagrant.yml
|
205
|
+
- vendor/tersmitten.htop/vars/main.yml
|
206
|
+
- vendor/williamyeh.nodejs/.gitignore
|
207
|
+
- vendor/williamyeh.nodejs/LICENSE
|
208
|
+
- vendor/williamyeh.nodejs/README.md
|
209
|
+
- vendor/williamyeh.nodejs/Vagrantfile
|
210
|
+
- vendor/williamyeh.nodejs/circle.yml
|
211
|
+
- vendor/williamyeh.nodejs/defaults/main.yml
|
212
|
+
- vendor/williamyeh.nodejs/files/nodesource.gpg.key
|
213
|
+
- vendor/williamyeh.nodejs/meta/.galaxy_install_info
|
214
|
+
- vendor/williamyeh.nodejs/meta/main.yml
|
215
|
+
- vendor/williamyeh.nodejs/tasks/main.yml
|
216
|
+
- vendor/williamyeh.nodejs/tasks/set-role-variables.yml
|
217
|
+
- vendor/williamyeh.nodejs/tasks/use-apt.yml
|
218
|
+
- vendor/williamyeh.nodejs/tasks/use-yum.yml
|
219
|
+
- vendor/williamyeh.nodejs/test.yml
|
220
|
+
- vendor/williamyeh.nodejs/test/Dockerfile-centos6
|
221
|
+
- vendor/williamyeh.nodejs/test/Dockerfile-centos7
|
222
|
+
- vendor/williamyeh.nodejs/test/Dockerfile-debian7
|
223
|
+
- vendor/williamyeh.nodejs/test/Dockerfile-debian8
|
224
|
+
- vendor/williamyeh.nodejs/test/Dockerfile-ubuntu12.04
|
225
|
+
- vendor/williamyeh.nodejs/test/Dockerfile-ubuntu14.04
|
180
226
|
- vendor/zzet.rbenv/.kitchen.yml
|
181
227
|
- vendor/zzet.rbenv/.travis.yml
|
182
228
|
- vendor/zzet.rbenv/README.md
|
@@ -1,42 +0,0 @@
|
|
1
|
-
module TapeBoxer
|
2
|
-
class VagrantProvisioner < ExecutionModule
|
3
|
-
TapeBoxer.register_module :vagrant, self
|
4
|
-
|
5
|
-
action :create,
|
6
|
-
proc {create_box}
|
7
|
-
'Create a new vargant box with given name'
|
8
|
-
action :start,
|
9
|
-
proc {start_box},
|
10
|
-
'Starts the vagrant box with given name'
|
11
|
-
action :stop,
|
12
|
-
proc {stop_box},
|
13
|
-
'Stops the vagrant box with given name'
|
14
|
-
action :ssh,
|
15
|
-
proc {ssh_to_box},
|
16
|
-
'Stops the vagrant box with given name'
|
17
|
-
action :destroy,
|
18
|
-
proc {destroy_box},
|
19
|
-
'Stops the vagrant box with given name'
|
20
|
-
|
21
|
-
protected
|
22
|
-
def create_box
|
23
|
-
Kernel.exec "vagrant up"
|
24
|
-
end
|
25
|
-
|
26
|
-
def stop_box
|
27
|
-
Kernel.exec "vagrant halt #{opts[:name]}"
|
28
|
-
end
|
29
|
-
|
30
|
-
def start_box
|
31
|
-
Kernel.exec "vagrant up #{opts[:name]}"
|
32
|
-
end
|
33
|
-
|
34
|
-
def ssh_to_box
|
35
|
-
Kernel.exec "vagrant ssh #{opts[:name]}"
|
36
|
-
end
|
37
|
-
|
38
|
-
def destroy_box
|
39
|
-
Kernel.exec "vagrant destroy #{opts[:name]}"
|
40
|
-
end
|
41
|
-
end
|
42
|
-
end
|