mspectator 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +21 -2
  2. data/lib/mspectator/version.rb +1 -1
  3. metadata +47 -62
data/README.md CHANGED
@@ -9,7 +9,26 @@ This project provides a way to test your fleet of servers using RSpec and MColle
9
9
 
10
10
  It is similar to the [serverspec](http://serverspec.org) project, but it uses MCollective instead of SSH as a network facility, and it allows to test more than a host at a time.
11
11
 
12
- ## Example
12
+ # Installing
13
+
14
+ ## Client side
15
+
16
+ On the client side (where you run `rspec`), you need `mspectator` itself:
17
+
18
+ gem install mspectator
19
+
20
+ You also need to have an MCollective client set up, as well as RSpec.
21
+
22
+
23
+ ## Server side
24
+
25
+ On the server side (the hosts you are testing), you need:
26
+
27
+ * An MCollective node with the [`spec` agent](https://github.com/camptocamp/puppet-spec/tree/master/files/mcollective/agent);
28
+ * [`serverspec`](http://serverspec.org);
29
+
30
+
31
+ # Example
13
32
 
14
33
  The matchers allow to test hosts based on filters, using classes and facts. Below is an example:
15
34
 
@@ -46,7 +65,7 @@ The general architecture of the solution is the following:
46
65
  | + | | |
47
66
  | | (check_action, *args) | | |
48
67
  | v | | |
49
- | MCollective::RPC#rpcclient | | Serverspec::Backend::Puppet |
68
+ | MCollective::RPC#rpcclient | | Specinfra::Backend::Exec |
50
69
  | | | | ^ |
51
70
  | + | | | (check_action, *args) |
52
71
  | | | | + |
@@ -1,3 +1,3 @@
1
1
  module MSpectator
2
- VERSION = "0.1.1"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,61 +1,55 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mspectator
3
- version: !ruby/object:Gem::Version
4
- hash: 25
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 1
10
- version: 0.1.1
11
6
  platform: ruby
12
- authors:
13
- - "Rapha\xC3\xABl Pinson"
7
+ authors:
8
+ - Raphaël Pinson
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2013-04-15 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2014-09-18 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: bundler
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 9
29
- segments:
30
- - 1
31
- - 3
32
- version: "1.3"
20
+ - !ruby/object:Gem::Version
21
+ version: '1.3'
33
22
  type: :development
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: rake
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
39
25
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.3'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
47
38
  type: :development
48
- version_requirements: *id002
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
49
46
  description: Use RSpec and MCollective to test your fleet
50
- email:
47
+ email:
51
48
  - raphink@gmail.com
52
49
  executables: []
53
-
54
50
  extensions: []
55
-
56
51
  extra_rdoc_files: []
57
-
58
- files:
52
+ files:
59
53
  - Gemfile
60
54
  - README.md
61
55
  - examples/apache_spec.rb
@@ -73,37 +67,28 @@ files:
73
67
  - lib/mspectator/version.rb
74
68
  - mspectator.gemspec
75
69
  homepage: https://github.com/raphink/mspectator
76
- licenses:
70
+ licenses:
77
71
  - GPLv3
78
72
  post_install_message:
79
73
  rdoc_options: []
80
-
81
- require_paths:
74
+ require_paths:
82
75
  - lib
83
- required_ruby_version: !ruby/object:Gem::Requirement
76
+ required_ruby_version: !ruby/object:Gem::Requirement
84
77
  none: false
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- hash: 3
89
- segments:
90
- - 0
91
- version: "0"
92
- required_rubygems_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ! '>='
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
93
83
  none: false
94
- requirements:
95
- - - ">="
96
- - !ruby/object:Gem::Version
97
- hash: 3
98
- segments:
99
- - 0
100
- version: "0"
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
101
88
  requirements: []
102
-
103
89
  rubyforge_project:
104
- rubygems_version: 1.8.24
90
+ rubygems_version: 1.8.23
105
91
  signing_key:
106
92
  specification_version: 3
107
93
  summary: Use RSpec and MCollective to test your fleet
108
94
  test_files: []
109
-