puppetlabs/Razor — pull request #203 by danburkert (2012-10-02 20:31:52+00:00)
Title: Specify LVM or regular partitioning when provisioning with Ubuntu

Add a `partition_method` metadata variable to the generic Ubuntu model template. The partition method will be selected upon model creation (options are `regular` and `lvm`). The preseed file then uses this value when installing. The default is `lvm` (which is currently hardcoded).

This is needed because it is difficult to remove LVM post installation. Additionally, supporting the regular partition method is important. For example, Hadoop recommends not using LVM, as it degrades HDFS performance.