No description
Find a file
semantic-release-bot 3a3b3be7fc chore(release): 0.11.1 [skip ci]
## [0.11.1](https://github.com/saltstack-formulas/nfs-formula/compare/v0.11.0...v0.11.1) (2020-07-06)

### Bug Fixes

* **null:** replace `None` with null in yaml files ([88a3c54](88a3c544cc))

### Continuous Integration

* **gemfile:** restrict `train` gem version until upstream fix [skip ci] ([c8c240f](c8c240f300))
* **gemfile.lock:** add to repo with updated `Gemfile` [skip ci] ([5f3dc36](5f3dc366f3))
* **kitchen:** avoid using bootstrap for `master` instances [skip ci] ([a0f3722](a0f372258b))
* **kitchen:** use `saltimages` Docker Hub where available [skip ci] ([c8ae973](c8ae973a61))
* **kitchen+travis:** remove `master-py2-arch-base-latest` [skip ci] ([26cf881](26cf881085))
* **travis:** add notifications => zulip [skip ci] ([c1d4ce0](c1d4ce0d7b))
* **travis:** quote pathspecs used with `git ls-files` [skip ci] ([c15158b](c15158b1ec))
* **travis:** run `shellcheck` during lint job [skip ci] ([5efc351](5efc35189d))
* **travis:** use `major.minor` for `semantic-release` version [skip ci] ([a20ce32](a20ce32841))
* **workflows/commitlint:** add to repo [skip ci] ([26bc2b4](26bc2b410c))
* workaround issues with newly introduced `amazonlinux-1` [skip ci] ([da5453c](da5453c87b))
2020-07-06 09:23:47 +00:00
.github/workflows ci(workflows/commitlint): add to repo [skip ci] 2020-05-04 09:30:08 +01:00
bin feat: implementing semantic release 2019-11-20 21:45:37 +00:00
docs chore(release): 0.11.1 [skip ci] 2020-07-06 09:23:47 +00:00
nfs fix(null): replace None with null in yaml files 2020-07-03 11:45:04 +11:00
test/integration/default feat: implementing semantic release 2019-11-20 21:45:37 +00:00
.gitignore ci(gemfile.lock): add to repo with updated Gemfile [skip ci] 2020-04-21 22:08:27 +01:00
.rubocop.yml chore(rubocop): use org-wide standard settings for Metrics/BlockLength [skip ci] 2020-04-18 13:44:31 +01:00
.salt-lint style: fix linters errors 2019-11-20 21:45:37 +00:00
.travis.yml ci(travis): add notifications => zulip [skip ci] 2020-05-21 20:08:30 +01:00
.yamllint style: fix linters errors 2019-11-20 21:45:37 +00:00
AUTHORS.md chore(release): 0.11.1 [skip ci] 2020-07-06 09:23:47 +00:00
CHANGELOG.md chore(release): 0.11.1 [skip ci] 2020-07-06 09:23:47 +00:00
CODEOWNERS chore(codeowners): update semantic-release related files [skip ci] 2020-05-04 23:16:14 +01:00
commitlint.config.js feat: implementing semantic release 2019-11-20 21:45:37 +00:00
FORMULA chore(release): 0.11.1 [skip ci] 2020-07-06 09:23:47 +00:00
Gemfile ci(gemfile.lock): add to repo with updated Gemfile [skip ci] 2020-04-21 22:08:27 +01:00
Gemfile.lock chore(gemfile.lock): update to latest gem versions (2020-W26) [skip ci] 2020-06-26 12:45:15 +01:00
kitchen.yml ci(kitchen): use saltimages Docker Hub where available [skip ci] 2020-06-15 16:56:35 +01:00
LICENSE Initial commit 2014-10-08 16:23:06 -07:00
pillar.example style: fix linters errors 2019-11-20 21:45:37 +00:00
pre-commit_semantic-release.sh ci(travis): run shellcheck during lint job [skip ci] 2019-11-27 21:04:23 +00:00
release-rules.js feat: implementing semantic release 2019-11-20 21:45:37 +00:00
release.config.js feat: implementing semantic release 2019-11-20 21:45:37 +00:00

nfs-formula

Travis CI Build Status Semantic Release

A SaltStack formula to install and configure nfs server and client.

Table of Contents

General notes

See the full SaltStack Formulas installation and usage instructions.

If you are interested in writing or contributing to formulas, please pay attention to the Writing Formula Section.

If you want to use this formula, please pay attention to the FORMULA file and/or git tag, which contains the currently released version. This formula is versioned according to Semantic Versioning.

See Formula Versioning Section for more details.

If you need (non-default) configuration, please pay attention to the pillar.example file and/or Special notes section.

Contributing to this repo

Commit message formatting is significant!!

Please see How to contribute for more details.

Special notes

None

Available states

nfs.server

Install nfs server components

nfs.client

Install nfs client components

nfs.mount

Mount nfs shares via. pillar using the following parameters:

  • mountpoint
  • location
  • opts: default => "vers=3"
  • persist: default => True
  • mkmnt: default => True

nfs.unmount

Unmount nfs shares via. pillar using the following parameters:

  • mountpoint
  • location
  • persist: default => False

Testing

Linux testing is done with kitchen-salt.

Requirements

  • Ruby
  • Docker
$ gem install bundler
$ bundle install
$ bin/kitchen test [platform]

Where [platform] is the platform name defined in kitchen.yml, e.g. debian-9-2019-2-py3.

bin/kitchen converge

Creates the docker instance and runs the nfs.server main state, ready for testing.

bin/kitchen verify

Runs the inspec tests on the actual instance.

bin/kitchen destroy

Removes the docker instance.

bin/kitchen test

Runs all of the stages above in one go: i.e. destroy + converge + verify + destroy.

bin/kitchen login

Gives you SSH access to the instance for manual testing.