Skip to content
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
merged 2 commits into from Jan 8, 2017
Merged

Conversation

joestump
Copy link
Contributor

@joestump joestump commented Jan 4, 2017

Like many others we're using a version of Ubuntu that uses Systemd rather than Upstart. Attached is an update that accomplishes the following:

  • Breaks up the service.rb depending on the init_package of the node.
  • Converts all tests to Inspec, which is the latest testing framework from Chef.
  • Adds appropriate tests for Systemd.
  • Bumps CentOS in KitchenCI to 7.3. The CentOS 6.5 box is no longer available on bento and doesn't support either Upstart nor Systemd (CentOS < 7 was SysV).

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 no npm and a very old version of Node. Hence the attributes to reconfigure that cookbook correctly. Additionally, you must include nodejs::npm now in your run_list if you'd like npm installed. It doesn't necessarily come installed by default.

Fixes #106 #36 #34 #35

@mheffner mheffner merged commit 4518a24 into librato:master Jan 8, 2017
@mheffner
Copy link
Contributor

mheffner commented Jan 8, 2017

@joestump thank you for the PR, merged!

@joestump
Copy link
Contributor Author

joestump commented Jan 8, 2017

No problem; thanks for releasing this! 👍🏼

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants