Merge pull request #130 from whopper/PDOC-143/windows-readme
(PDOC-143) Add installation instructions for PE 3.8 in Windows
This commit is contained in:
commit
5ae446fcba
|
@ -4,6 +4,14 @@ AllCops:
|
||||||
- '**/*.erb'
|
- '**/*.erb'
|
||||||
- 'lib/puppet-strings/yard/templates/**/*'
|
- 'lib/puppet-strings/yard/templates/**/*'
|
||||||
|
|
||||||
|
# DISABLED - not useful
|
||||||
|
Bundler/OrderedGems:
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
|
# DISABLED - Doesn't understand conditionals that result in different versions of a gem.
|
||||||
|
Bundler/DuplicatedGem:
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
Lint/ConditionPosition:
|
Lint/ConditionPosition:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
|
20
README.md
20
README.md
|
@ -49,13 +49,20 @@ For Puppet 3.x:
|
||||||
$ puppet resource package yard provider=gem
|
$ puppet resource package yard provider=gem
|
||||||
```
|
```
|
||||||
|
|
||||||
For Puppet Enterprise 3.8:
|
For Puppet Enterprise 3.8 (Linux):
|
||||||
|
|
||||||
```
|
```
|
||||||
GEM_HOME=/opt/puppet/lib/ruby/gems/1.9.1 puppet resource package yard provider=gem
|
GEM_HOME=/opt/puppet/lib/ruby/gems/1.9.1 puppet resource package yard provider=gem
|
||||||
```
|
```
|
||||||
|
|
||||||
### 2. Puppet Enterprise 3.8 only: Install the redcarpet gem
|
For Puppet Enterprise 3.8 (Windows):
|
||||||
|
|
||||||
|
```
|
||||||
|
$env:GEM_HOME = "C:\Program Files\Puppet Labs\Puppet Enterprise\sys\ruby\lib\ruby\gems\2.0.0"
|
||||||
|
puppet resource package yard provider=gem
|
||||||
|
```
|
||||||
|
|
||||||
|
### 2. Puppet Enterprise 3.8 in Linux only: Install the redcarpet gem
|
||||||
|
|
||||||
```
|
```
|
||||||
GEM_HOME=/opt/puppet/lib/ruby/gems/1.9.1 puppet resource package redcarpet provider=gem
|
GEM_HOME=/opt/puppet/lib/ruby/gems/1.9.1 puppet resource package redcarpet provider=gem
|
||||||
|
@ -77,12 +84,19 @@ For Puppet 3.x:
|
||||||
$ puppet resource package puppet-strings provider=gem
|
$ puppet resource package puppet-strings provider=gem
|
||||||
```
|
```
|
||||||
|
|
||||||
For Puppet Enterprise 3.8:
|
For Puppet Enterprise 3.8 (Linux):
|
||||||
|
|
||||||
```
|
```
|
||||||
GEM_HOME=/opt/puppet/lib/ruby/gems/1.9.1 puppet resource package puppet-strings provider=gem
|
GEM_HOME=/opt/puppet/lib/ruby/gems/1.9.1 puppet resource package puppet-strings provider=gem
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For Puppet Enterprise 3.8 (Windows)
|
||||||
|
|
||||||
|
```
|
||||||
|
$env:GEM_HOME = "C:\Program Files\Puppet Labs\Puppet Enterprise\sys\ruby\lib\ruby\gems\2.0.0"
|
||||||
|
puppet resource package puppet-strings provider=gem
|
||||||
|
```
|
||||||
|
|
||||||
### 4. Optional: Set YARD options for Strings
|
### 4. Optional: Set YARD options for Strings
|
||||||
|
|
||||||
Puppet Strings supports YARD options (on the command line, run `yard help doc` for a list of possible options. To set YARD options, specify a `yardopts` file in the same directory in which you run `puppet strings`.
|
Puppet Strings supports YARD options (on the command line, run `yard help doc` for a list of possible options. To set YARD options, specify a `yardopts` file in the same directory in which you run `puppet strings`.
|
||||||
|
|
Loading…
Reference in New Issue