On Fri, Feb 25, 2011 at 02:40:25PM -0800, Paul Berry wrote:
> On Fri, Feb 25, 2011 at 2:06 PM, Stefan Schulte <
> stefan.schu...@taunusstein.net> wrote:
> 
> >
> > I'm not really satisfied with the mount provider and I tried to explain
> > that in »Refactoring mounttype«.
> >
> 
> Ah, thanks for pointing that out.  I saw that e-mail when you sent it but I
> didn't give it the attention I should have.  I'm now up to speed.
> 
> 
[...]
> >
> > I'm thinking about splitting the mount type in two independent pieces.
> > fstab present/absent and actual mount mounted/umounted. I dont know when
> > I have time to work on it and I dont even know if thats a good idea. I
> > guess it would fit the API much better if puppet can sync them
> > indepently but I'm not sure if this will raise more problems than it
> > solves.
> >
> 
> Ok, thanks.  I will keep this in mind as I'm working.
> 

Since there is now an RFC on puppet-users I wanted to say that I
actually found some time to work on splitting the types. If you're
interested you can see the changes here:
https://github.com/stschulte/puppet/commits/refactor%2Fnext%2Fmount_split

If splitting is the way to go and there is an official ticket number
I'll rename my brach.

I'm not done yet and I only did a few short tests on my linux box. It
would really help if someone could provide me with detailed sample mount
outputs from HP-UX, Solaris and Darwin and AIX. E.g looking at

https://github.com/puppetlabs/puppet/blob/7e71840e29cb09c772668a51ada3cab1e319e50f/test/data/providers/mount/parsed/solaris.mount

I cannot see that I can extract fstype from it? Has Solaris somesort of
/etc/mtab? Is this one better than parsing mount?

And what is the device on Darwin when mount shows something like this:
map -hosts on /net (autofs, nosuid, automounted, nobrowse)

Is fstype is always the first option on darwin?

-Stefan

Attachment: pgpDWeTK7V501.pgp
Description: PGP signature

Reply via email to