Merge pull request #103 from whopper/PDOC-80/remove_puppet_dependency
(PDOC-80) Remove runtime dependency on puppet
This commit is contained in:
commit
5450fc041a
18
README.md
18
README.md
|
@ -32,6 +32,8 @@ In order to run strings you need to have the following software installed:
|
|||
* Puppet 3.7 or newer
|
||||
* The `yard` Ruby gem
|
||||
|
||||
Note that a few extra steps are necessary to install puppet-strings with Puppet Enterprise 3.8.
|
||||
|
||||
Installing the YARD Gem
|
||||
-----------------------
|
||||
|
||||
|
@ -47,6 +49,17 @@ For Puppet 3.x:
|
|||
$ puppet resource package yard provider=gem
|
||||
```
|
||||
|
||||
For Puppet Enterprise 3.8:
|
||||
```
|
||||
GEM_HOME=/opt/puppet/lib/ruby/gems/1.9.1 puppet resource package yard provider=gem
|
||||
```
|
||||
|
||||
Installing the redcarpet Gem (Puppet Enterprise 3.8 only)
|
||||
-------------------------
|
||||
```
|
||||
GEM_HOME=/opt/puppet/lib/ruby/gems/1.9.1 puppet resource package redcarpet provider=gem
|
||||
```
|
||||
|
||||
Installing Puppet Strings
|
||||
-------------------------
|
||||
|
||||
|
@ -64,6 +77,11 @@ For Puppet 3.x:
|
|||
$ puppet resource package puppet-strings provider=gem
|
||||
```
|
||||
|
||||
For Puppet Enterprise 3.8:
|
||||
```
|
||||
GEM_HOME=/opt/puppet/lib/ruby/gems/1.9.1 puppet resource package puppet-strings provider=gem
|
||||
```
|
||||
|
||||
Running Puppet Strings
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -17,6 +17,6 @@ Gem::Specification.new do |s|
|
|||
]
|
||||
s.files = `git ls-files`.split("\n") - Dir['.*', '*.gemspec']
|
||||
|
||||
s.add_runtime_dependency 'puppet', '>= 3.7.0'
|
||||
s.add_runtime_dependency 'yard', '~> 0.9.5'
|
||||
s.requirements << 'puppet, >= 3.7.0'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue