fstab merge vs overwrite on defaults
shaiguitar opened this issue · comments
Due to
ephemeral_lvm/attributes/default.rb
Lines 29 to 32 in 333581c
"ephemeral_lvm": {
"mount_point": "/mnt/mongodb",
"mount_point_properties": { "options": ["defaults", "noatime","auto"], "paas": 0 }
}
The end result fstab will be:
/dev/mapper/vg--data-ephemeral0 /mnt/mongodb ext4 defaults,noauto,noatime,auto 0 0
instead of having just the auto (and not both merged on top of each other). Is this intended behavior and/or something to do to fix?
looking at this, it's definitely intentional: https://github.com/rightscale-cookbooks/ephemeral_lvm/blob/master/recipes/default.rb#L69