puppet-moddeps 0.3.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +1 -1
- data/README.md +27 -3
- data/Vagrantfile +16 -5
- data/lib/puppet/moddeps/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YWIwMjA1YzZmN2QyZjlkM2M2YTIxZjlkZDYwOWZkZDU0NjNjYWI2Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjY3Y2IzNTY5NTA4MGE1YzRkZDdjZmU4MTRiOTY2NmRkNWIyMTVmOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjYxMTY5ODI1OWExZDAxMzVkNThlMzg5Njc2YjM3MjgzMGM3OWJkMzE1Mzc3
|
10
|
+
YWRiMjljYzk2ODQwZTNhNjE1MzEwZmRiYjBmZjM3MjNhMmU1NGM2NjQyOGFi
|
11
|
+
ZWYyY2NkMDQ5Mzc5OTE1NmEwZGE4ZThjYTc5NjY2NjYwZGVjMzM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDBhMmZhODBmNzdlZjdlZTZjZmIyZWZkNDQzZTEwYzQ0MDYzNTYyOGIyMjQz
|
14
|
+
YjhjNmZlMTdlODNjZDI1OGY3YTVmNjAxYzFjODI3NjQzOWMyZDQ4NjA5NWQx
|
15
|
+
NjY4OWQzNTYzMDA0ZjY5MGY0MmNmYzU1MjU2YTUzN2JlNzEzNjQ=
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -12,9 +12,17 @@
|
|
12
12
|
[![Build Status][travis-img-develop]][travis-ci]
|
13
13
|
[![Coverage Status][coveralls-img-develop]][coveralls-develop]
|
14
14
|
|
15
|
+
## I work!
|
16
|
+
|
17
|
+
**This gem DOES run successfully** using the system ruby on CentOS 6 (v1.8.7).
|
18
|
+
The broken build status is a result of how [RVM][rvm] changes the environment
|
19
|
+
and is something that is being investigated.
|
20
|
+
|
21
|
+
## Description
|
22
|
+
|
15
23
|
This gem will allow you to pull in all missing dependencies for a given Puppet
|
16
|
-
module. This is targeted specifically at private modules
|
17
|
-
`metadata.json` file.
|
24
|
+
module. This is targeted specifically at private modules or modules cloned from
|
25
|
+
GitHub that have a populated `metadata.json` file.
|
18
26
|
|
19
27
|
## Installation
|
20
28
|
|
@@ -34,7 +42,10 @@ Or install it yourself as:
|
|
34
42
|
|
35
43
|
## Usage
|
36
44
|
|
37
|
-
|
45
|
+
To put this gem to use just install it and run `puppet-moddeps some_module`,
|
46
|
+
replacing `some_module` with the name of any module installed in
|
47
|
+
`/etc/puppet/modules`. It will parse the module's `metadata.json` file pull down
|
48
|
+
it's listed dependencies.
|
38
49
|
|
39
50
|
## Contributing
|
40
51
|
|
@@ -52,6 +63,16 @@ the version available in Red Hat / CentOS 6.
|
|
52
63
|
6. Push to the branch (`git push origin my-new-feature`)
|
53
64
|
7. Create a new Pull Request
|
54
65
|
|
66
|
+
### Vagrant
|
67
|
+
|
68
|
+
Development and testing can also be done utilizing the included `Vagrantfile`.
|
69
|
+
To do so, install [Vagrant][vagrant] and [VirtualBox][vbox], fork and clone the
|
70
|
+
project, cd into the project, and run `vagrant up dev` followed by `vagrant ssh
|
71
|
+
dev`. The setup process will take care of running `bundle install` for you. You
|
72
|
+
can find the code symlinked into the vagrant user's home directory.
|
73
|
+
|
74
|
+
### Tests
|
75
|
+
|
55
76
|
Please try and write tests using Rspec's expect syntax for any code you add or change.
|
56
77
|
Code must have tests before it will be merged.
|
57
78
|
|
@@ -66,6 +87,9 @@ Code must have tests before it will be merged.
|
|
66
87
|
[gem-version]: http://badge.fury.io/rb/puppet-moddeps
|
67
88
|
[gemnasium-img]: https://img.shields.io/gemnasium/genebean/puppet-moddeps.svg
|
68
89
|
[gemnasium]: https://gemnasium.com/genebean/puppet-moddeps
|
90
|
+
[rvm]: http://rvm.io
|
69
91
|
[travis-ci]: https://travis-ci.org/genebean/puppet-moddeps
|
70
92
|
[travis-img-master]: https://img.shields.io/travis/genebean/puppet-moddeps/master.svg
|
71
93
|
[travis-img-develop]: https://img.shields.io/travis/genebean/puppet-moddeps/develop.svg
|
94
|
+
[vbox]: https://www.virtualbox.org
|
95
|
+
[vagrant]: https://www.vagrantup.com
|
data/Vagrantfile
CHANGED
@@ -7,10 +7,21 @@ VAGRANTFILE_API_VERSION = "2"
|
|
7
7
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
8
8
|
config.vm.box = "genebean/centos6-puppet-64bit"
|
9
9
|
|
10
|
-
config.vm.
|
10
|
+
config.vm.define "dev", primary: true do |dev|
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
dev.vm.synced_folder "./", "/home/vagrant/puppet-moddeps"
|
13
|
+
|
14
|
+
dev.vm.provision "shell", inline: "yum -y install dos2unix git nano ruby-devel tree vim-enhanced"
|
15
|
+
dev.vm.provision "shell", inline: "dos2unix /vagrant/scripts/vagrant-user.sh"
|
16
|
+
dev.vm.provision "shell", inline: "su - vagrant -c '/vagrant/scripts/vagrant-user.sh'"
|
17
|
+
dev.vm.provision "shell", path: "scripts/pretest.sh"
|
18
|
+
|
19
|
+
end
|
20
|
+
|
21
|
+
config.vm.define "test" do |test|
|
22
|
+
test.vm.provision "shell", inline: "yum -y install git ruby-devel tree"
|
23
|
+
test.vm.provision "shell", inline: "gem install puppet-moddeps"
|
24
|
+
test.vm.provision "shell", inline: "git clone https://github.com/puppetlabs/puppetlabs-apache.git /etc/puppet/modules/apache"
|
25
|
+
test.vm.provision "shell", inline: "puppet-moddeps apache"
|
26
|
+
end
|
16
27
|
end
|