Removed nodejs module because the yum repository seems to be dead
This commit is contained in:
parent
701894aa09
commit
fbebba80b8
1 changed files with 0 additions and 22 deletions
|
@ -1,22 +0,0 @@
|
||||||
# Install node.js.
|
|
||||||
#
|
|
||||||
class nodejs {
|
|
||||||
|
|
||||||
case $::operatingsystem {
|
|
||||||
"centos","redhat": {
|
|
||||||
yum::repo { "nodejs":
|
|
||||||
mirrorlist => "http://nodejs.tchol.org/mirrors/nodejs-stable-el\$releasever",
|
|
||||||
gpgkey => "http://nodejs.tchol.org/stable/RPM-GPG-KEY-tchol",
|
|
||||||
}
|
|
||||||
|
|
||||||
package { [ "nodejs", "nodejs-compat-symlinks", "npm" ]:
|
|
||||||
ensure => installed,
|
|
||||||
require => Yum::Repo["nodejs"],
|
|
||||||
}
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
fail("nodejs not supported on ${::operatingsystem}")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue