Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.72 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.72 KB

Linux Directory Provisioner

Version Publish to NPM Test and Lint

Tool to provision Linux users and groups. Useful for provisioning a large number of users and groups. Much faster than ansible.builtin.user and ansible.builtin.group. Used internally at WATcloud.

Getting started

  1. Prepare a configuration file in the format specified in src/schema.mjs.
  2. Run the following command to run the provisioner:
npx @watonomous/[email protected] --config=path_to_config.json

Publishing to NPM

  1. Increment the version number in package.json:
npm version prerelease --preid alpha
# or
npm version patch # or minor or major
  1. Push the new version to GitHub:
git push --atomic origin main <tag>
  1. Create a release on GitHub with the tag you just pushed.
  2. The GitHub Action pipeline will automatically publish the new version to NPM.