search for: lvsize

Displaying 3 results from an estimated 3 matches for "lvsize".

Did you mean: vsize
2008 May 27
8
How to manage partitions and logical volumes with puppet?
...e on a series of nodes different LVM logical volumes to create and mount. I''m trying to do this at the moment with a define of the following type: # Manage a partition and create if needed. define lv_partition( $name = "partition", $location = "/tmp", $lvsize = "1G", $fstype = "ext3", $vgname = "vg00", $lvname = $name, $owner = "root", $group = "root", $mode = "755" ) { file { "$location/$name": ensure => directory, own...
2011 Sep 28
6
I can't seem to create mountpoint and change permissions after mounting in 2.7.3
...ode or start from scratch, but I need help to create my mountpoint location with root:root/755 and after mounting allow the same location to have a different owner:group/ permissions. These are the defines I use at this moment define lvm::createfs ( $mountpath = undef, $mountpoint = undef, $lvsize = undef, $fstype = undef, $vgname = undef, $lvname = "${name}", $requisite = '''' ) { # Load defaults require lvm::params # Check mountpath equals root $rootpath = $mountpath ? { ''/'' => undef, default => $mountpath,...
2011 May 13
18
Thoughts about extlookup: http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/
Hi, I have been trying to improve the coding of some of my puppet recipes and had some trouble so wrote this: http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/ Comments on the web seem to indicate that extlookup() solves "all problems" but I don''t really see that and hence have proposed a possible way to keep the data closer together and make the extlookup()