This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
Add support for Systemd and move to Inspec #203
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Like many others we're using a version of Ubuntu that uses Systemd rather than Upstart. Attached is an update that accomplishes the following:
service.rb
depending on theinit_package
of the node.It should also be noted that there's a few quirks with installing the latest NodeJS using the
nodejs
cookbook. That cookbook doesn't use the new 6.x and 7.x apt repositories, which leaves you with nonpm
and a very old version of Node. Hence theattributes
to reconfigure that cookbook correctly. Additionally, you must includenodejs::npm
now in yourrun_list
if you'd likenpm
installed. It doesn't necessarily come installed by default.Fixes #106 #36 #34 #35