vagrant_spec 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/Vagrantfile +1 -1
- data/lib/vagrant_spec/command/init.rb +1 -1
- data/lib/vagrant_spec/version.rb +1 -1
- data/scripts/poor_mans_smoke_test.sh +3 -0
- data/site.yml +11 -0
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ca4398378f23816a6be2fe1363277f81fccc9865
|
|
4
|
+
data.tar.gz: 0c79917845abf21b33eb88bbb0c1120b9bc040ec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0abf6618ed12096ad017c1e944a5036e2738af0b1b69f5c81fb4e769d6503c0c8c5b891b11e9daf7a09c440d3fd710821bb3e5eccc176bc8aaf62503cb73c1d
|
|
7
|
+
data.tar.gz: de929a10c837c340ed464cb0536a870b6295424af94a22a27041e06c9c74b32c60f87236b40ca77e59fdbdf836948ed4f559ce924d58d73c1a16072e83b8153c
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
## [0.0.2](https://github.com/miroswan/vagrant_spec/tree/0.0.2) (2016-08-06)
|
|
4
|
+
[Full Changelog](https://github.com/miroswan/vagrant_spec/compare/v0.0.1...0.0.2)
|
|
5
|
+
|
|
6
|
+
**Closed issues:**
|
|
7
|
+
|
|
8
|
+
- Help output for init needs to be updated [\#2](https://github.com/miroswan/vagrant_spec/issues/2)
|
|
9
|
+
- Needs tests [\#1](https://github.com/miroswan/vagrant_spec/issues/1)
|
|
10
|
+
|
|
11
|
+
**Merged pull requests:**
|
|
12
|
+
|
|
13
|
+
- Updates [\#3](https://github.com/miroswan/vagrant_spec/pull/3) ([miroswan](https://github.com/miroswan))
|
|
14
|
+
|
|
15
|
+
## [v0.0.1](https://github.com/miroswan/vagrant_spec/tree/v0.0.1) (2016-08-06)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/Vagrantfile
CHANGED
|
@@ -10,7 +10,7 @@ Vagrant.configure(2) do |config|
|
|
|
10
10
|
|
|
11
11
|
# key: Ansible Group Name
|
|
12
12
|
# value: Regexp matching your node names or an array of nodes
|
|
13
|
-
config.spec.ansible_inventory = { '
|
|
13
|
+
config.spec.ansible_inventory = { 'ansi' => /_ansi/, 'pansi' => /_pansi/ }
|
|
14
14
|
|
|
15
15
|
# nodes: Regexp matching the desired nodes or array of nodes
|
|
16
16
|
# flags: Command line flags you would pass to rspec
|
|
@@ -33,7 +33,7 @@ module VagrantSpec
|
|
|
33
33
|
|
|
34
34
|
def parse_opts
|
|
35
35
|
opts = OptionParser.new do |o|
|
|
36
|
-
o.banner = "\nCreates the
|
|
36
|
+
o.banner = "\nCreates the serverspec/spec_helper.rb file for testing"
|
|
37
37
|
o.separator ''
|
|
38
38
|
o.separator 'Usage: vagrant spec init'
|
|
39
39
|
o.separator ''
|
data/lib/vagrant_spec/version.rb
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
set -e
|
|
7
7
|
|
|
8
|
+
export ANSIBLE_REMOTE_USER=vagrant
|
|
9
|
+
|
|
8
10
|
bundle exec vagrant spec
|
|
9
11
|
bundle exec vagrant spec -h
|
|
10
12
|
bundle exec vagrant spec init -h
|
|
@@ -13,5 +15,6 @@ bundle exec vagrant spec no_command -h
|
|
|
13
15
|
rm -f serverspec/spec_helper.rb
|
|
14
16
|
bundle exec vagrant up
|
|
15
17
|
bundle exec vagrant spec init
|
|
18
|
+
ansible-playbook site.yml -i vagrantspec_inventory
|
|
16
19
|
bundle exec vagrant spec test || true
|
|
17
20
|
bundle exec vagrant destroy -f
|
data/site.yml
ADDED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrant_spec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Demitri
|
|
@@ -110,6 +110,7 @@ files:
|
|
|
110
110
|
- ".rubocop.yml"
|
|
111
111
|
- ".ruby-version"
|
|
112
112
|
- ".travis.yml"
|
|
113
|
+
- CHANGELOG.md
|
|
113
114
|
- Gemfile
|
|
114
115
|
- LICENSE
|
|
115
116
|
- README.md
|
|
@@ -133,6 +134,7 @@ files:
|
|
|
133
134
|
- scripts/poor_mans_smoke_test.sh
|
|
134
135
|
- serverspec/fail_spec.rb
|
|
135
136
|
- serverspec/ssh_spec.rb
|
|
137
|
+
- site.yml
|
|
136
138
|
- spec/unit/spec_helper.rb
|
|
137
139
|
- spec/unit/vagrant_spec_spec.rb
|
|
138
140
|
- spec/unit/vagrant_spec_test/ansible_inventory_spec.rb
|