forked from jhoblitt/puppet-smartd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge class smartd $devices and $device_options -> $devices
$devices is now accepts and Array of Hash. This is to allow multiple smartd.conf entires for the same blockdev as is typically required for probing through to individual disks behind a block device presented by a RAID controller.
- Loading branch information
Joshua Hoblitt
committed
Oct 1, 2013
1 parent
6029324
commit b2bb897
Showing
5 changed files
with
67 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,8 +77,10 @@ Usage | |
config_file => '/etc/smartd.conf', | ||
devicescan => true, | ||
devicescan_options => '-H -m [email protected]', | ||
devices => [ '/dev/sg1', '/dev/sg2' ], | ||
device_options => { '/dev/sg1' => '-o on -S on -a', '/dev/sg2' => '-o on -S on -a' }, | ||
devices => [ | ||
{ device => '/dev/sg1', options => '-o on -S on -a' }, | ||
{ device => '/dev/sg2', options => '-o on -S on -a' }, | ||
], | ||
mail_to => 'root', | ||
warning_schedule => 'diminishing', | ||
} | ||
|
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
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