On Mon, Jul 16, 2012 at 3:19 AM, Dominic Cleal <[email protected]> wrote: > Hello, > > I'm currently implementing a new provider for the mounttab type (the one > distributed in the puppetlabs/mount_providers module) in the > augeasproviders[1] project. > > From the provider I need to access the list of options given in the > mounttab resource, defined in the type as: > > newproperty(:options, :parent => Puppet::Property::List) do > def delimiter > "," > end > end > > The trouble with this is the type appears to be defining how the > property is stored by specifying the delimiter, something that's > normally the preserve of the provider. Since I'm passing the options > into Augeas, I actually would like the original list of options to avoid > parsing them back out of the joined string available from > resource[:options]. > > Does anybody know how to get at this original list?
Unfortunately this appears to require a change to the type, and I don't know that this can be done purely in the provider. Nan -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
