New sysrc module for managing rc files on FreeBSD (#1460)

* New sysrc module for managing rc files on FreeBSD

* Updated sysrc module, docs and tests per reviews

* Refactored the check_mode to be in the methods and not main

Also updated tests

* Fixed a duplicate "name" key in the sysrc test

* Remove debugging output

* Add changelog fragment

* Remove changelog fragment

* Make sure tests actually run in CI.

* Update failing test due to bad path to jail

* Create and remove testjail for tests

* Fix and cleanup tests

* Set the correct path to the testjail

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
David Lundgren 2021-01-16 07:14:23 -06:00 committed by GitHub
parent 3e9a6acff7
commit aa33ac349c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 637 additions and 0 deletions

1
plugins/modules/sysrc.py Symbolic link
View file

@ -0,0 +1 @@
./system/sysrc.py