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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTdlODViYmZiNjUxOWE1ZGJhOGZkNzJlZjdlNTYyZjVlM2Q1NWZmMQ==
4
+ YWIwMjA1YzZmN2QyZjlkM2M2YTIxZjlkZDYwOWZkZDU0NjNjYWI2Yg==
5
5
  data.tar.gz: !binary |-
6
- MTYyMjI5M2M3NTY4Mjc4ZWY0N2FkOGIyYzQ3Y2JlMjdkYWQwNGYwMQ==
6
+ YjY3Y2IzNTY5NTA4MGE1YzRkZDdjZmU4MTRiOTY2NmRkNWIyMTVmOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODJhMzg0NTA0NDM5NjY5ZmEyODA4Njc3ZWE4ZTQ4ODNiNjZkODJjYWYyODJi
10
- ZjBlNmM5MjZiNDExMmZhM2Q4OTA0MmFmMjlmYzNhM2FjN2MyMmE0NzQ2MmQ5
11
- MjQxNzRhZDAyMTVkZTk5ZTJkNDAyN2Y2MGY1MmVlN2I3N2JmODA=
9
+ ZjYxMTY5ODI1OWExZDAxMzVkNThlMzg5Njc2YjM3MjgzMGM3OWJkMzE1Mzc3
10
+ YWRiMjljYzk2ODQwZTNhNjE1MzEwZmRiYjBmZjM3MjNhMmU1NGM2NjQyOGFi
11
+ ZWYyY2NkMDQ5Mzc5OTE1NmEwZGE4ZThjYTc5NjY2NjYwZGVjMzM=
12
12
  data.tar.gz: !binary |-
13
- Y2E5MTdjMzUxNmU0NjQ2NTA5ZjE3ZDk3MDRjM2NmMTZkNjgxN2NjZWFlYTU3
14
- N2Y5NWQxNDdmZjZlMzBjNjUxOTE2YzJiODNhYzYwMjc4ZGQwMzRlMTM2MjRl
15
- Mzc1ODU0ODc1NDM5NWZhMjFjNjRmZTkwMTZkNTA2MjMwNWYyYWY=
13
+ MDBhMmZhODBmNzdlZjdlZTZjZmIyZWZkNDQzZTEwYzQ0MDYzNTYyOGIyMjQz
14
+ YjhjNmZlMTdlODNjZDI1OGY3YTVmNjAxYzFjODI3NjQzOWMyZDQ4NjA5NWQx
15
+ NjY4OWQzNTYzMDA0ZjY5MGY0MmNmYzU1MjU2YTUzN2JlNzEzNjQ=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- puppet-moddeps (0.3.3)
4
+ puppet-moddeps (1.0.0)
5
5
  json (~> 1.8, >= 1.8.1)
6
6
 
7
7
  GEM
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 that have a populated
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
- TODO: Write usage instructions here
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.synced_folder "./", "/home/vagrant/puppet-moddeps"
10
+ config.vm.define "dev", primary: true do |dev|
11
11
 
12
- config.vm.provision "shell", inline: "yum -y install dos2unix git nano ruby-devel tree vim-enhanced"
13
- config.vm.provision "shell", inline: "dos2unix /vagrant/scripts/vagrant-user.sh"
14
- config.vm.provision "shell", inline: "su - vagrant -c '/vagrant/scripts/vagrant-user.sh'"
15
- config.vm.provision "shell", path: "scripts/pretest.sh"
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
@@ -1,5 +1,5 @@
1
1
  module Puppet
2
2
  module Moddeps
3
- VERSION = "0.3.3"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-moddeps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GeneBean