vagrant_spec 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bbb7993f86c2fd21b7943bf6109f3fd0bb9fe5b6
4
- data.tar.gz: 0bc50057dc57d35882ae4fb5d31eb7b15023cbc5
3
+ metadata.gz: ca4398378f23816a6be2fe1363277f81fccc9865
4
+ data.tar.gz: 0c79917845abf21b33eb88bbb0c1120b9bc040ec
5
5
  SHA512:
6
- metadata.gz: 2715c4b9b32916f0b9818200e5048b71585ef59bd2bcff8b3023bd94ff63bf6c269bd33ad211e1d02b0362647a9f2d3569179f4bd937c47d59a1f8603c5c71b7
7
- data.tar.gz: 56e0e9e7f840fc370b35319696a8f8a87ef51ae62e80b886fb455a1b698ef731cf32540123163959e7b53211cac50273c8a88e7d52f8cd17978695b5f7a222b5
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 = { 'all' => /test/ }
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 spec/spec_helper.rb file for testing"
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 ''
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Requisite version info
4
4
  module VagrantSpec
5
- VERSION = '0.0.1'.freeze
5
+ VERSION = '0.0.2'.freeze
6
6
  end
@@ -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
@@ -0,0 +1,11 @@
1
+ ---
2
+ - hosts: ansi
3
+ tasks:
4
+ - name: Simple Test
5
+ command: echo 'Hello World'
6
+
7
+
8
+ - hosts: pansi
9
+ tasks:
10
+ - name: Simple Test
11
+ command: echo "Hello World"
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.1
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