moose-inventory 0.1.1 → 0.1.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/.gitignore +1 -0
- data/Guardfile +1 -1
- data/README.md +69 -6
- data/bin/moose-inventory +10 -0
- data/config/dotfiles/gitignore +1 -0
- data/lib/{moose/inventory/moose_inventory_cli.rb → moose_inventory.rb} +3 -3
- data/lib/{moose/inventory → moose_inventory}/cli/application.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/formatter.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/group.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/group_add.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/group_addchild.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/group_addhost.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/group_addvar.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/group_get.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/group_list.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/group_rm.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/group_rmchild.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/group_rmhost.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/group_rmvar.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/host.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/host_add.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/host_addgroup.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/host_addvar.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/host_get.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/host_list.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/host_rm.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/host_rmgroup.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/cli/host_rmvar.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/config/config.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/db/db.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/db/exceptions.rb +0 -0
- data/lib/{moose/inventory → moose_inventory}/db/models.rb +0 -0
- data/lib/moose_inventory/version.rb +7 -0
- data/moose-inventory.gemspec +1 -1
- data/scripts/files.rb +18 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/application_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/cli_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/formatter_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/group_add_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/group_addhost_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/group_addvar_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/group_get_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/group_list_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/group_rm_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/group_rmhost_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/group_rmvar_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/group_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/host_add_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/host_addgroup_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/host_addvar_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/host_get_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/host_list_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/host_rm_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/host_rmgroup_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/host_rmvar_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/cli/host_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/config/config_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/db/db_spec.rb +0 -0
- data/spec/lib/{moose/inventory → moose_inventory}/db/models_spec.rb +0 -0
- data/spec/spec_helper.rb +2 -2
- metadata +80 -83
- data/bin/.buildpath +0 -5
- data/bin/.project +0 -17
- data/bin/moose_inventory +0 -10
- data/lib/moose/inventory/version.rb +0 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9406c59a0185749227febf07cb62cb0e3d273955
|
|
4
|
+
data.tar.gz: 063fba0f37a46d48ce9f4be6aee93ba3cd3d32e4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 756f88cac996b96406384956ae9c70508fe4cbdf80565a188fab545a4cf5d52ee92fbef20acde57565f2bfa42b1d8ddaf0bb4a5e238ab232398be93376402d30
|
|
7
|
+
data.tar.gz: d696b2bfba34799daba4181d21c028785a97ff020367efa8e2b4b5fc857e2c453947802a63e52db3d23fb4cbf05b79f5d63fb189c3635a83da567e137e337afb
|
data/.gitignore
CHANGED
data/Guardfile
CHANGED
|
@@ -19,7 +19,7 @@ group 'quality' do
|
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
group 'test' do
|
|
22
|
-
cmd = 'bundle exec rspec -I lib/
|
|
22
|
+
cmd = 'bundle exec rspec -I lib/moose_inventory -I spec '\
|
|
23
23
|
'--color --format html --out spec/reports/test/rspec.html'
|
|
24
24
|
guard :rspec, cmd: cmd do
|
|
25
25
|
require 'guard/rspec/dsl'
|
data/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Moose::Inventory
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The [moose-inventory](https://github.com/RusDavies/moose-inventory) Ruby Gem is a package for managing dynamic inventories, intended for use with [Ansible](http://www.ansible.com/home).
|
|
4
|
+
|
|
5
|
+
Note: This software is intended for use on UNIX, Linux, or similar systems. It will likely not work on Windows, due to some hard-wired search paths - I may fix that in the future, but for now, sorry.
|
|
4
6
|
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
@@ -13,19 +15,80 @@ gem 'moose-inventory'
|
|
|
13
15
|
And then execute:
|
|
14
16
|
|
|
15
17
|
$ bundle
|
|
16
|
-
|
|
17
18
|
Or install it yourself as:
|
|
18
19
|
|
|
19
20
|
$ gem install moose-inventory
|
|
20
21
|
|
|
22
|
+
## Configuration
|
|
23
|
+
The [moose-inventory](https://github.com/RusDavies/moose-inventory) tool makes use of a simple YAML configuration file.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
###Location
|
|
27
|
+
|
|
28
|
+
The following locations, in descending order of precedence, are searched for a configuration file:
|
|
29
|
+
1. location passed via the *config* CLI option
|
|
30
|
+
2. ./.moose-tools/inventory/config
|
|
31
|
+
4. ~/.moose-tools/inventory/config
|
|
32
|
+
5. ~/local/etc/moose-tools/inventory/config
|
|
33
|
+
6. /etc/moose-tools/inventory/config
|
|
34
|
+
|
|
35
|
+
###Format
|
|
36
|
+
The file contains a mandatory general section, and at least one environment section. For example:
|
|
37
|
+
```yaml
|
|
38
|
+
---
|
|
39
|
+
general:
|
|
40
|
+
defaultenv: moose_dev
|
|
41
|
+
|
|
42
|
+
moose_dev:
|
|
43
|
+
db:
|
|
44
|
+
adapter: "sqlite3"
|
|
45
|
+
file: "~/.moose/db/dev.db"
|
|
46
|
+
|
|
47
|
+
moose_ops:
|
|
48
|
+
db:
|
|
49
|
+
adapter: "mysql"
|
|
50
|
+
host: "localhost"
|
|
51
|
+
database: "water"
|
|
52
|
+
user: "duck"
|
|
53
|
+
password: "quack"
|
|
54
|
+
|
|
55
|
+
another_example_section:
|
|
56
|
+
db:
|
|
57
|
+
adapter: "postgresql"
|
|
58
|
+
host: "localhost"
|
|
59
|
+
database: "grass"
|
|
60
|
+
user: "cow"
|
|
61
|
+
password: "moo"
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
###The 'general' section
|
|
66
|
+
The general section is mandatory, and contains a single parameter **defaultenv**, which points to the name of the default environment section. This is used in the case when no target environment is specified via the command line.
|
|
67
|
+
|
|
68
|
+
###Environment sections
|
|
69
|
+
You may add as many environment sections as you desire. The intention is to enable the user to easily manage multiple environments, such as development, staging, production, etc., via a single configuration file. The name of each environment section must be unique, but can otherwise be any valid YAML tag.
|
|
70
|
+
|
|
71
|
+
At present, each environment section contains only a **db** subsection, describing the database connection parameters. Additional subsections may be added in the future, as functionality increases.
|
|
72
|
+
|
|
73
|
+
Each **db** section must include an **adapter** parameter. Currently supported adapter types are sqlite3, mysql, and postresql. Note, as a matter of portability, only sqlite3 has been exercised via the test suite.
|
|
74
|
+
|
|
75
|
+
Additional parameters are also required in the **db** subsection, depending on the adapter type. For the sqlite3 adapter only a **file** parameter is required. For both mysql and postgresql, then **host**, **database**, **user**, and **password** parameters are required.
|
|
76
|
+
|
|
77
|
+
|
|
21
78
|
## Usage
|
|
22
79
|
|
|
23
|
-
|
|
80
|
+
##Missing features
|
|
81
|
+
The following desired features are yet to be implemented:
|
|
82
|
+
1. Groups as children of groups:
|
|
83
|
+
-- Group model shall provide a many-to-many relationship to self.
|
|
84
|
+
-- CLI:Group shall provided an addchild method.
|
|
85
|
+
-- CLI:Group shall provided a rmchild method.
|
|
86
|
+
-- CLI:Group.get method shall display child group relationships.
|
|
87
|
+
-- CLI:Group.list method shall display child group relationships.
|
|
24
88
|
|
|
25
89
|
## Contributing
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
90
|
+
1. Fork it (https://github.com/RusDavies/moose-inventory/fork )
|
|
91
|
+
2. Create your feature branch (git checkout -b my-new-feature`)
|
|
29
92
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
30
93
|
4. Push to the branch (`git push origin my-new-feature`)
|
|
31
94
|
5. Create a new Pull Request
|
data/bin/moose-inventory
ADDED
data/config/dotfiles/gitignore
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require 'thor'
|
|
2
|
-
require_relative './config/config.rb'
|
|
3
|
-
require_relative './db/db.rb'
|
|
4
|
-
require_relative './cli/application.rb'
|
|
2
|
+
require_relative './moose_inventory/config/config.rb'
|
|
3
|
+
require_relative './moose_inventory/db/db.rb'
|
|
4
|
+
require_relative './moose_inventory/cli/application.rb'
|
|
5
5
|
|
|
6
6
|
module Moose
|
|
7
7
|
module Inventory
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/moose-inventory.gemspec
CHANGED
data/scripts/files.rb
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require 'yaml'
|
|
4
|
+
|
|
5
|
+
files = `git ls-files -z`.split("\x0")
|
|
6
|
+
executables = files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
7
|
+
test_files = files.grep(%r{^(test|spec|features)/})
|
|
8
|
+
require_paths = ['lib']
|
|
9
|
+
|
|
10
|
+
out = {}
|
|
11
|
+
out['Executables'.to_sym] = executables
|
|
12
|
+
out['Test_Files'.to_sym] = test_files
|
|
13
|
+
out['Require_Paths'.to_sym] = require_paths
|
|
14
|
+
|
|
15
|
+
puts "#{out.to_yaml}"
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
|
@@ -25,14 +25,14 @@ if RUBY_VERSION >= '1.9'
|
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),
|
|
28
|
-
'..', 'lib/
|
|
28
|
+
'..', 'lib/moose_inventory'))
|
|
29
29
|
|
|
30
30
|
# require 'rdoc'
|
|
31
31
|
require 'rspec'
|
|
32
32
|
require 'json'
|
|
33
33
|
require 'yaml'
|
|
34
34
|
require 'find'
|
|
35
|
-
require '
|
|
35
|
+
require 'moose_inventory'
|
|
36
36
|
|
|
37
37
|
RSpec.configure do |config|
|
|
38
38
|
#config.filter_run focus: true # <- enable to allow test focus
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moose-inventory
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Russell Davies
|
|
@@ -252,9 +252,7 @@ description: The Moosecastle CLI tool for Ansible-compatable dynamic inventory m
|
|
|
252
252
|
email:
|
|
253
253
|
- russell@blakemere.ca
|
|
254
254
|
executables:
|
|
255
|
-
-
|
|
256
|
-
- ".project"
|
|
257
|
-
- moose_inventory
|
|
255
|
+
- moose-inventory
|
|
258
256
|
extensions: []
|
|
259
257
|
extra_rdoc_files: []
|
|
260
258
|
files:
|
|
@@ -267,69 +265,68 @@ files:
|
|
|
267
265
|
- README.md
|
|
268
266
|
- README.md.orig
|
|
269
267
|
- Rakefile
|
|
270
|
-
- bin
|
|
271
|
-
- bin/.project
|
|
272
|
-
- bin/moose_inventory
|
|
268
|
+
- bin/moose-inventory
|
|
273
269
|
- config/dotfiles/coveralls.yml
|
|
274
270
|
- config/dotfiles/gitignore
|
|
275
271
|
- config/dotfiles/rubocop.yml
|
|
276
|
-
- lib/
|
|
277
|
-
- lib/
|
|
278
|
-
- lib/
|
|
279
|
-
- lib/
|
|
280
|
-
- lib/
|
|
281
|
-
- lib/
|
|
282
|
-
- lib/
|
|
283
|
-
- lib/
|
|
284
|
-
- lib/
|
|
285
|
-
- lib/
|
|
286
|
-
- lib/
|
|
287
|
-
- lib/
|
|
288
|
-
- lib/
|
|
289
|
-
- lib/
|
|
290
|
-
- lib/
|
|
291
|
-
- lib/
|
|
292
|
-
- lib/
|
|
293
|
-
- lib/
|
|
294
|
-
- lib/
|
|
295
|
-
- lib/
|
|
296
|
-
- lib/
|
|
297
|
-
- lib/
|
|
298
|
-
- lib/
|
|
299
|
-
- lib/
|
|
300
|
-
- lib/
|
|
301
|
-
- lib/
|
|
302
|
-
- lib/
|
|
303
|
-
- lib/
|
|
272
|
+
- lib/moose_inventory.rb
|
|
273
|
+
- lib/moose_inventory/cli/application.rb
|
|
274
|
+
- lib/moose_inventory/cli/formatter.rb
|
|
275
|
+
- lib/moose_inventory/cli/group.rb
|
|
276
|
+
- lib/moose_inventory/cli/group_add.rb
|
|
277
|
+
- lib/moose_inventory/cli/group_addchild.rb
|
|
278
|
+
- lib/moose_inventory/cli/group_addhost.rb
|
|
279
|
+
- lib/moose_inventory/cli/group_addvar.rb
|
|
280
|
+
- lib/moose_inventory/cli/group_get.rb
|
|
281
|
+
- lib/moose_inventory/cli/group_list.rb
|
|
282
|
+
- lib/moose_inventory/cli/group_rm.rb
|
|
283
|
+
- lib/moose_inventory/cli/group_rmchild.rb
|
|
284
|
+
- lib/moose_inventory/cli/group_rmhost.rb
|
|
285
|
+
- lib/moose_inventory/cli/group_rmvar.rb
|
|
286
|
+
- lib/moose_inventory/cli/host.rb
|
|
287
|
+
- lib/moose_inventory/cli/host_add.rb
|
|
288
|
+
- lib/moose_inventory/cli/host_addgroup.rb
|
|
289
|
+
- lib/moose_inventory/cli/host_addvar.rb
|
|
290
|
+
- lib/moose_inventory/cli/host_get.rb
|
|
291
|
+
- lib/moose_inventory/cli/host_list.rb
|
|
292
|
+
- lib/moose_inventory/cli/host_rm.rb
|
|
293
|
+
- lib/moose_inventory/cli/host_rmgroup.rb
|
|
294
|
+
- lib/moose_inventory/cli/host_rmvar.rb
|
|
295
|
+
- lib/moose_inventory/config/config.rb
|
|
296
|
+
- lib/moose_inventory/db/db.rb
|
|
297
|
+
- lib/moose_inventory/db/exceptions.rb
|
|
298
|
+
- lib/moose_inventory/db/models.rb
|
|
299
|
+
- lib/moose_inventory/version.rb
|
|
304
300
|
- moose-inventory.gemspec
|
|
301
|
+
- scripts/files.rb
|
|
305
302
|
- scripts/guard_quality.sh
|
|
306
303
|
- scripts/guard_test.sh
|
|
307
304
|
- scripts/reports.sh
|
|
308
305
|
- spec/config/config.yml
|
|
309
|
-
- spec/lib/
|
|
310
|
-
- spec/lib/
|
|
311
|
-
- spec/lib/
|
|
312
|
-
- spec/lib/
|
|
313
|
-
- spec/lib/
|
|
314
|
-
- spec/lib/
|
|
315
|
-
- spec/lib/
|
|
316
|
-
- spec/lib/
|
|
317
|
-
- spec/lib/
|
|
318
|
-
- spec/lib/
|
|
319
|
-
- spec/lib/
|
|
320
|
-
- spec/lib/
|
|
321
|
-
- spec/lib/
|
|
322
|
-
- spec/lib/
|
|
323
|
-
- spec/lib/
|
|
324
|
-
- spec/lib/
|
|
325
|
-
- spec/lib/
|
|
326
|
-
- spec/lib/
|
|
327
|
-
- spec/lib/
|
|
328
|
-
- spec/lib/
|
|
329
|
-
- spec/lib/
|
|
330
|
-
- spec/lib/
|
|
331
|
-
- spec/lib/
|
|
332
|
-
- spec/lib/
|
|
306
|
+
- spec/lib/moose_inventory/cli/application_spec.rb
|
|
307
|
+
- spec/lib/moose_inventory/cli/cli_spec.rb
|
|
308
|
+
- spec/lib/moose_inventory/cli/formatter_spec.rb
|
|
309
|
+
- spec/lib/moose_inventory/cli/group_add_spec.rb
|
|
310
|
+
- spec/lib/moose_inventory/cli/group_addhost_spec.rb
|
|
311
|
+
- spec/lib/moose_inventory/cli/group_addvar_spec.rb
|
|
312
|
+
- spec/lib/moose_inventory/cli/group_get_spec.rb
|
|
313
|
+
- spec/lib/moose_inventory/cli/group_list_spec.rb
|
|
314
|
+
- spec/lib/moose_inventory/cli/group_rm_spec.rb
|
|
315
|
+
- spec/lib/moose_inventory/cli/group_rmhost_spec.rb
|
|
316
|
+
- spec/lib/moose_inventory/cli/group_rmvar_spec.rb
|
|
317
|
+
- spec/lib/moose_inventory/cli/group_spec.rb
|
|
318
|
+
- spec/lib/moose_inventory/cli/host_add_spec.rb
|
|
319
|
+
- spec/lib/moose_inventory/cli/host_addgroup_spec.rb
|
|
320
|
+
- spec/lib/moose_inventory/cli/host_addvar_spec.rb
|
|
321
|
+
- spec/lib/moose_inventory/cli/host_get_spec.rb
|
|
322
|
+
- spec/lib/moose_inventory/cli/host_list_spec.rb
|
|
323
|
+
- spec/lib/moose_inventory/cli/host_rm_spec.rb
|
|
324
|
+
- spec/lib/moose_inventory/cli/host_rmgroup_spec.rb
|
|
325
|
+
- spec/lib/moose_inventory/cli/host_rmvar_spec.rb
|
|
326
|
+
- spec/lib/moose_inventory/cli/host_spec.rb
|
|
327
|
+
- spec/lib/moose_inventory/config/config_spec.rb
|
|
328
|
+
- spec/lib/moose_inventory/db/db_spec.rb
|
|
329
|
+
- spec/lib/moose_inventory/db/models_spec.rb
|
|
333
330
|
- spec/shared/shared_config_setup.rb
|
|
334
331
|
- spec/spec_helper.rb
|
|
335
332
|
homepage: https://github.com/RusDavies/moose-inventory
|
|
@@ -358,29 +355,29 @@ specification_version: 4
|
|
|
358
355
|
summary: Moose-tools inventory manager
|
|
359
356
|
test_files:
|
|
360
357
|
- spec/config/config.yml
|
|
361
|
-
- spec/lib/
|
|
362
|
-
- spec/lib/
|
|
363
|
-
- spec/lib/
|
|
364
|
-
- spec/lib/
|
|
365
|
-
- spec/lib/
|
|
366
|
-
- spec/lib/
|
|
367
|
-
- spec/lib/
|
|
368
|
-
- spec/lib/
|
|
369
|
-
- spec/lib/
|
|
370
|
-
- spec/lib/
|
|
371
|
-
- spec/lib/
|
|
372
|
-
- spec/lib/
|
|
373
|
-
- spec/lib/
|
|
374
|
-
- spec/lib/
|
|
375
|
-
- spec/lib/
|
|
376
|
-
- spec/lib/
|
|
377
|
-
- spec/lib/
|
|
378
|
-
- spec/lib/
|
|
379
|
-
- spec/lib/
|
|
380
|
-
- spec/lib/
|
|
381
|
-
- spec/lib/
|
|
382
|
-
- spec/lib/
|
|
383
|
-
- spec/lib/
|
|
384
|
-
- spec/lib/
|
|
358
|
+
- spec/lib/moose_inventory/cli/application_spec.rb
|
|
359
|
+
- spec/lib/moose_inventory/cli/cli_spec.rb
|
|
360
|
+
- spec/lib/moose_inventory/cli/formatter_spec.rb
|
|
361
|
+
- spec/lib/moose_inventory/cli/group_add_spec.rb
|
|
362
|
+
- spec/lib/moose_inventory/cli/group_addhost_spec.rb
|
|
363
|
+
- spec/lib/moose_inventory/cli/group_addvar_spec.rb
|
|
364
|
+
- spec/lib/moose_inventory/cli/group_get_spec.rb
|
|
365
|
+
- spec/lib/moose_inventory/cli/group_list_spec.rb
|
|
366
|
+
- spec/lib/moose_inventory/cli/group_rm_spec.rb
|
|
367
|
+
- spec/lib/moose_inventory/cli/group_rmhost_spec.rb
|
|
368
|
+
- spec/lib/moose_inventory/cli/group_rmvar_spec.rb
|
|
369
|
+
- spec/lib/moose_inventory/cli/group_spec.rb
|
|
370
|
+
- spec/lib/moose_inventory/cli/host_add_spec.rb
|
|
371
|
+
- spec/lib/moose_inventory/cli/host_addgroup_spec.rb
|
|
372
|
+
- spec/lib/moose_inventory/cli/host_addvar_spec.rb
|
|
373
|
+
- spec/lib/moose_inventory/cli/host_get_spec.rb
|
|
374
|
+
- spec/lib/moose_inventory/cli/host_list_spec.rb
|
|
375
|
+
- spec/lib/moose_inventory/cli/host_rm_spec.rb
|
|
376
|
+
- spec/lib/moose_inventory/cli/host_rmgroup_spec.rb
|
|
377
|
+
- spec/lib/moose_inventory/cli/host_rmvar_spec.rb
|
|
378
|
+
- spec/lib/moose_inventory/cli/host_spec.rb
|
|
379
|
+
- spec/lib/moose_inventory/config/config_spec.rb
|
|
380
|
+
- spec/lib/moose_inventory/db/db_spec.rb
|
|
381
|
+
- spec/lib/moose_inventory/db/models_spec.rb
|
|
385
382
|
- spec/shared/shared_config_setup.rb
|
|
386
383
|
- spec/spec_helper.rb
|
data/bin/.buildpath
DELETED
data/bin/.project
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<projectDescription>
|
|
3
|
-
<name>moose-inventory</name>
|
|
4
|
-
<comment></comment>
|
|
5
|
-
<projects>
|
|
6
|
-
</projects>
|
|
7
|
-
<buildSpec>
|
|
8
|
-
<buildCommand>
|
|
9
|
-
<name>org.eclipse.dltk.core.scriptbuilder</name>
|
|
10
|
-
<arguments>
|
|
11
|
-
</arguments>
|
|
12
|
-
</buildCommand>
|
|
13
|
-
</buildSpec>
|
|
14
|
-
<natures>
|
|
15
|
-
<nature>org.eclipse.dltk.ruby.core.nature</nature>
|
|
16
|
-
</natures>
|
|
17
|
-
</projectDescription>
|
data/bin/moose_inventory
DELETED