projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
988399c
)
Run short SMART self test at 2am every Sunday
author
Tom Hughes
<tom@compton.nu>
Sun, 15 Mar 2015 00:32:11 +0000
(
00:32
+0000)
committer
Tom Hughes
<tom@compton.nu>
Sun, 15 Mar 2015 00:32:11 +0000
(
00:32
+0000)
cookbooks/hardware/templates/default/smartd.conf.erb
patch
|
blob
|
history
diff --git
a/cookbooks/hardware/templates/default/smartd.conf.erb
b/cookbooks/hardware/templates/default/smartd.conf.erb
index 3f793175a742116e1ae6f7f72f44ff40e8a4daaf..b4f2aeb5f0fe7e759fde8bc201614d6eb5851ac6 100644
(file)
--- a/
cookbooks/hardware/templates/default/smartd.conf.erb
+++ b/
cookbooks/hardware/templates/default/smartd.conf.erb
@@
-2,8
+2,8
@@
<% @disks.each do |disk| -%>
<% if disk[:driver] -%>
-/dev/<%= disk[:device] %> -d <%= disk[:driver] %>,<%= disk[:id] %> -m admins@openstreetmap.org
+/dev/<%= disk[:device] %> -d <%= disk[:driver] %>,<%= disk[:id] %> -
s S/../../7/02 -
m admins@openstreetmap.org
<% else -%>
-/dev/<%= disk[:device] %> -m admins@openstreetmap.org
+/dev/<%= disk[:device] %> -
s S/../../7/02 -
m admins@openstreetmap.org
<% end -%>
<% end -%>