Thanks for your code. I'll have a look at it. i still need a mkfs
provider and your code may be the starting point.

My code actually works now (ensure was required!) and i'll post it to
the dev list to get some suggestions. These are the currently working
operations:

- Create volume
- Extend volume (Extend size is verified)
- Delete volume

The only missing feature (so far) is to verify that enough space in
the VG is left to actually extend the volume.

-- 

Cheers,

Daniel


On Wed, Feb 17, 2010 at 6:50 PM, Marcin Owsiany <mar...@owsiany.pl> wrote:
> Hello,
>
> On Mon, Feb 15, 2010 at 09:30:04AM -0800, Daniel Kerwin wrote:
>> i tried to write my first type and provider that should create logical
>> volumes. Seems like i'm missing something as i get nothing when i use
>> it: No errors and no logical volume :-(
>
> This is not exactly what you're looking for, but I've written a simple
> LVM type and an associated provider a long time ago, I'm attaching it
> here together with a somewhat related "filesystem" type and provider.
>
> I've been meaning to clean them up, write tests and properly contribute
> to the project for literally years now. I guess if I don't take the
> opportunity to send it out now, the code might never see daylight.
>
> I hope someone finds it useful, and perhaps even give it some love.
> It's been quite a while since I used them, so I'm not sure if they work
> with modern puppet.
>
> --
> Marcin Owsiany <mar...@owsiany.pl>              http://marcin.owsiany.pl/
> GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
>
> "Every program in development at MIT expands until it can read mail."
>                                                              -- Unknown
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to