nodejs
Version information
This version is compatible with:
- Puppet Enterprise 3.x
- Puppet >=3.0.0 < 4.0.0
- , , , , ,
This module has been deprecated by its author since Sep 28th 2017.
The reason given was: This module has been moved to the care of Vox Pupuli where it is now being maintained and updated.
The author has suggested puppet-nodejs as its replacement.
Start using this module
Documentation
Deprecation notice
This module has been moved to the care of Vox Pupuli, where it is now being maintained and updated. Find new versions at https://forge.puppet.com/puppet/nodejs.
2016-07-05
##2015-05-12 0.8.0
Deprecation upload in favour of Vox Pupuli
This module has been moved to the care of Vox Pupuli, where it is now being maintained and updated. Find new versions at https://forge.puppet.com/puppet/nodejs.
##2015-05-12 0.8.0 ###Backwards-incompatible changes
- Puppet versions below 3.4.0 are no longer supported
- Debian Squeeze and Fedora version 18 and below are explicitly no longer supported
- Parameter naming changes to node_pkg, npm_pkg, dev_pkg, manage_repo, dev_pkg to approximate equivalents: nodejs_package_name, npm_package_name, nodejs_dev_package_name, manage_package_repo, nodejs_dev_package_ensure
- RedHat-family operating systems now use the NodeSource repository by default rather than the Fedora People repositories
- Debian Wheezy now uses the NodeSource repository by default rather than the Debian Sid repository
- The proxy parameter has been removed. Equivalent functionality can be obtained by using the nodejs::npm::global_config_entry defined type
- The version parameter has been removed. The approximate equivalent is nodejs_package_ensure (or nodejs_dev_package_ensure)
- The nodejs::npm defined type title is now an arbitary unique string rather than 'destination_dir:package'. The same functionality is now done with the target and package parameters.
- The nodejs::npm version parameter has been removed. The same functionality can now be performed with the ensure parameter
- Parameter naming changes to install_opt, remove_opt in nodejs::npm to approximate equivalents install_options and uninstall_options. Both must now be an array of strings and not strings.
###Summary
This release performs major API changes and defaults to using the NodeSource repository where possible.
####Features
- Defaults to using the NodeSource repositories where possible, but allows native packages to be installed when appropriate parameters are set
- Introduces a parameter repo_class, which allows one to use alternative repositories like EPEL for the Node.js packages
- Adds Windows installation support via Chocolatey
- Adds FreeBSD and OpenBSD installation support
- Adds tag and scope support to the defined type nodejs::npm
- Adds a defined type nodejs::npm::global_config_entry, which allows one to set and delete global npm config options
####Bugfixes
- Supercedes PRs 99 (MODULES-1075), 97, 96, 94, 93, 85, 82, 80, 79, 51, 69, 66 and 102
- apt: update. pin to version. change key to 40 characters.
- Debian: Handle NodeSource. Improve Repository handling.
- windows: dont use deprecated chocolately module.
- testing: Pin RSpec version.
##2015-01-21 - Release 0.7.1 ###Summary
This fixes the incorrect application of https://github.com/puppetlabs/puppetlabs-nodejs/pull/70 so that the code will actually run.
##2015-01-20 - Release 0.7.0 ###Summary
This release adds some new features and improvements, including archlinux support and improved ubuntu support.
####Features
- Add max_nesting parameter to npm list json parse
- Replace Chris's PPA with the Nodesource repo
- Parameterize package names
- Add archlinux support
- TravisCI updates
####Bugfixes
- Fix proxy config requiers for Ubunutu
- Fix rspec tests
- Fix typo in README.md
##2014-07-15 - Release 0.6.1 ###Summary
This release merely updates metadata.json so the module can be uninstalled and upgraded via the puppet module command.
##2014-06-18 - Release 0.6.0 ###Summary
This release primarily has improved support for Gentoo and testing improvements.
####Features
- Improved Gentoo support.
- Test updates
##2014-03-20 - Release 0.5.0 ###Summary
This release is just a wrap up of a number of submitted PRs, mostly around improvements to operating system support, as well as some improvements to handling npm.
####Features
- Update travis to test more recent versions of Puppet.
- Changed package name for Amazon Linux.
- Add support for Scientific Linux.
####Bugfixes
- Ubuntu uses uppercase for the operatingsystem fact.
- Ignore exit codes from "npm list --json" as they can be misleading, and instead just parse the JSON.
- Set $HOME for npm commands.
- Don't include development version accidently.
- Fix for chrislea ppa that already installs npm.
##2013-08-29 - Release 0.4.0 ###Summary
This release removes the precise special handling and adds the ability to pass in $version.
####Features
- Precise uses the same ppa as every other release.
- New parameters in nodejs:
version
: Set the version to install.
##2013-08-01 - Release 0.3.0 ###Summary
The focus of this release is ensuring the module still works on newer distributions.
####Features
- New parameters in nodejs:
manage_repo
: Enable/Disable repo management.
####Bugfixes
- Fixed npm on Ubuntuwhen using Chris Lea's PPA
- Make RHEL6 variants the default.
- Fix yumrepo file ordering.
##0.2.1 2012-12-28 Puppet Labs info@puppetlabs.com
- Updated EL RPM repositories
##0.2.0 2012-05-22 Puppet Labs info@puppetlabs.com
- Add RedHat family support
- Use npm package instead of exec script.
- Remove ppa repo for Ubuntu Precise.
##0.1.1 2012-05-04 Puppet Labs info@puppetlabs.com
- Use include for apt class and add spec tests.
##0.1.0 2012-04-30 Puppet Labs info@puppetlabs.com
- Initial module release.
Dependencies
- puppetlabs/stdlib (>=2.2.1 <5.0.0)
Copyright (C) 2012 Puppet Labs Inc Puppet Labs can be contacted at: info@puppetlabs.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.