raid: Don't replace existing mdadm.conf
We don't want to erase existing ARRAY configs. Using augeas would be better, but it didn't work on this file on CentOS 5.
This commit is contained in:
parent
d3d9fb567c
commit
a688d071bf
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ class raid::tools::mdadm {
|
||||||
"centos", "fedora": {
|
"centos", "fedora": {
|
||||||
file { "/etc/mdadm.conf":
|
file { "/etc/mdadm.conf":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
|
replace => false,
|
||||||
content => "MAILADDR root\n",
|
content => "MAILADDR root\n",
|
||||||
mode => "0644",
|
mode => "0644",
|
||||||
owner => "root",
|
owner => "root",
|
||||||
|
|
Loading…
Add table
Reference in a new issue