Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (11 sloc) 0.395 kB
dep 'lvm' do
requires 'lvm2.managed', 'lvm startup commands'
end
dep 'lvm2.managed' do
provides 'lvdisplay'
end
dep 'lvm startup commands' do
setup { set :lvm_startup_command, "modprobe dm_mod; vgscan; vgchange -a y; mount -a # manually initialise lvm" }
met? { grep var(:lvm_startup_command), '/etc/rc.local' }
meet { append_to_file var(:lvm_startup_command), "/etc/rc.local" }
end
Jump to Line
Something went wrong with that request. Please try again.