Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit 689424d

Browse files
committed
Merge pull request #64 from joneslee85/patch-1
s/OilNutter/nodenv
2 parents 8649c78 + 3660746 commit 689424d

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Requires the following boxen modules:
1111

1212
## About
1313

14-
This module supports node version management with nodenv from [OiNutter](http://github.com/OiNutter/nodenv).
14+
This module supports node version management with nodenv from [nodenv](http://github.com/nodenv/nodenv).
1515
Is heavily based on the official boxen's [ruby module](http://github.com/boxen/puppet-ruby).
1616
All node versions are installed into `/opt/nodes`.
1717

@@ -22,14 +22,14 @@ The node-build version is something you should be managing in your own boxen rep
2222
rather than depending on this module to update for you. See examples on how to change the node-build
2323
version in the Hiera section.
2424

25-
You can find a release list of versions for node-build [here](https://github.com/OiNutter/node-build/releases).
25+
You can find a release list of versions for node-build [here](https://github.com/nodenv/node-build/releases).
2626

2727
## Breakages since last major version
2828

2929
* nodes now live in `/opt/nodes` instead of `/opt/boxen/nodenv/versions`
3030
* the module-data module is now **required**
31-
* use of [OiNutter/nodenv](http://github.com/OiNutter/nodenv) instead of wfarr's version
32-
* use of [OiNutter/node-build](http://github.com/OiNutter/node-build)
31+
* use of [nodenv/nodenv](http://github.com/nodenv/nodenv)
32+
* use of [nodenv/node-build](http://github.com/nodenv/node-build)
3333
* npm packages are installed with `npm_module` instead of `nodejs::module`
3434
* node versions are defined without the leading `v` (`0.10.36` instead of `v0.10.36`)
3535

@@ -68,7 +68,7 @@ nodejs::version { '0.12.2': }
6868
# Installing nodenv plugin
6969
nodejs::nodenv::plugin { 'nodenv-vars':
7070
ensure => 'ee42cd9db3f3fca2a77862ae05a410947c33ba09',
71-
source => 'OiNutter/nodenv-vars'
71+
source => 'nodenv/nodenv-vars'
7272
}
7373
```
7474

@@ -89,7 +89,7 @@ The following variables may be automatically overridden with Hiera:
8989
"nodejs::nodenv::plugins":
9090
"nodenv-vars":
9191
"ensure": "ee42cd9db3f3fca2a77862ae05a410947c33ba09"
92-
"source": "OiNutter/nodenv-vars"
92+
"source": "nodenv/nodenv-vars"
9393

9494

9595
# Environment variables for building specific versions

manifests/build.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
repository { $prefix:
1111
ensure => $ensure,
1212
force => true,
13-
source => 'OiNutter/node-build',
13+
source => 'nodenv/node-build',
1414
user => $user,
1515
}
1616

manifests/nodenv.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
repository { $prefix:
2020
ensure => $ensure,
2121
force => true,
22-
source => 'OiNutter/nodenv',
22+
source => 'nodenv/nodenv',
2323
user => $user
2424
}
2525

manifests/nodenv/plugin.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# nodejs::nodenv::plugin { 'nodenv-vars':
66
# ensure => 'ee42cd9db3f3fca2a77862ae05a410947c33ba09',
7-
# source => 'OiNutter/nodenv-vars'
7+
# source => 'nodenv/nodenv-vars'
88
# }
99

1010
define nodejs::nodenv::plugin($ensure, $source) {

spec/classes/nodejs_nodenv_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
should contain_repository('/test/boxen/nodenv').with({
2323
:ensure => 'v0.4.0',
2424
:force => true,
25-
:source => 'OiNutter/nodenv',
25+
:source => 'nodenv/nodenv',
2626
:user => 'testuser'
2727
})
2828

@@ -43,20 +43,20 @@
4343
end
4444

4545
context "when plugins is not empty" do
46-
let(:params) { default_params.merge(:plugins => { 'nodenv-vars' => { 'ensure' => 'v1.2.0', 'source' => 'OiNutter/nodenv-vars' } } ) }
46+
let(:params) { default_params.merge(:plugins => { 'nodenv-vars' => { 'ensure' => 'v1.2.0', 'source' => 'nodenv/nodenv-vars' } } ) }
4747

4848
it do
4949
should contain_file('/test/boxen/nodenv/plugins')
5050
should contain_nodejs__nodenv__plugin('nodenv-vars').with({
5151
:ensure => 'v1.2.0',
52-
:source => 'OiNutter/nodenv-vars'
52+
:source => 'nodenv/nodenv-vars'
5353
})
5454
end
5555
end
5656
end
5757

5858
context "ensure => absent" do
59-
let(:params) { default_params.merge(:ensure => 'absent', :plugins => { 'nodenv-vars' => { 'ensure' => 'v1.2.0', 'source' => 'OiNutter/nodenv-vars' } } ) }
59+
let(:params) { default_params.merge(:ensure => 'absent', :plugins => { 'nodenv-vars' => { 'ensure' => 'v1.2.0', 'source' => 'nodenv/nodenv-vars' } } ) }
6060

6161
it do
6262
should contain_repository('/test/boxen/nodenv').with_ensure('absent')

spec/defines/nodejs_nodenv_plugin_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
let(:default_params) do
99
{
1010
:ensure => 'v1.2.0',
11-
:source => 'OiNutter/nodenv-vars'
11+
:source => 'nodenv/nodenv-vars'
1212
}
1313
end
1414

0 commit comments

Comments
 (0)