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:
Ossi Salmi 2014-04-22 11:16:08 +03:00
parent d3d9fb567c
commit a688d071bf

View file

@ -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",