Displaying 1 result from an estimated 1 matches for "test01lv".
Did you mean:
test01
2010 Feb 15
3
My first type/provider - does nothing...
...vcreate"
def create
lvcreate "-L", resource[:size], "-n", resource[:name],
resource[:vg]
end
def destroy
return true
end
def exists?
return nil
end
end
Test class Bozo
=============
class bozo {
logicalvolume { "test01lv":
size => "100M",
vg => "datavg",
#provider => "logicalvolume",
}
file { "/tmp/lvtest":
content => "aaa",
}
}
The file is created and no notice about the volume. I checken my type
and...