Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 572 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 572 Bytes

Sample Usage

node node01 {
    include lvm 
    lvm::vg {vg0":
        ensure  => present,
        pv      => "/dev/sda4"
    }

    lvm::lv {"host-disk":
        ensure  => present,
        size    => "100G",
        vg      => "vg0",
        fstype  => "ext4",
        require => Lvm::VG["vg0"],
    }

    lvm::lv { "host-swap":
        ensure  => present,
        size    => "1G",
        vg      => "vg0",
        fstype  => "swap",
        require => Lvm::VG["vg0"],
    }}

TODO