Added nodejs module
This commit is contained in:
parent
7b64d3208e
commit
089e98d8d1
1 changed files with 16 additions and 0 deletions
16
nodejs/manifests/init.pp
Normal file
16
nodejs/manifests/init.pp
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Install Node.js
|
||||
#
|
||||
class nodejs {
|
||||
|
||||
case $::operatingsystem {
|
||||
"centos","redhat","fedora": {
|
||||
package { "nodejs":
|
||||
ensure => installed,
|
||||
}
|
||||
}
|
||||
default: {
|
||||
fail("nodejs not supported on ${::operatingsystem}")
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue