-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the ability to set deamon command line options
This adds the parameter `smartd_opts` to set the command line options for `smartd(8)` using an Augeas resource, and the boolean parameter `manage_smartd_opts` to toggle this behavior. By default `smartd_opts` contains options that will save disk state and attributes to `/var/lib/smartmontool`, except where SELinux restricts this behavior. To maintain backwards compatability, however, `manage_smartd_opts` is set to `false` by default. New parameters: * `smartd_opts` * `manage_smartd_opts` New resources: * Augeas['smartd_opts'] * File['/var/lib/smartmontools']
- Loading branch information
1 parent
25a0848
commit 10c55ef
Showing
3 changed files
with
200 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters