On 14 July 2011 09:06, Stefan Schulte <stefan.schu...@taunusstein.net>wrote:

> On Wed, Jul 13, 2011 at 02:54:07PM -0700, Aaron Grewell wrote:
> > I'm trying to mount multiple swap partitions in Solaris, but I'm not sure
> > how to create a working syntax for that.  Since the mountpoint for a swap
> > partition is '-' adding more than one is going to result in a multiple
> > declaration.
>


> You cannot manage a mountpoint (here "-") twice because puppet uses the
>  mount point to identify your resource.
> (there is an old bug report about your exact same usecase:
> http://projects.puppetlabs.com/issues/611)
>
> That's the problem - Solaris swap entries in vfstab do not have unique
names for the mount point - just a "-". I sort of hinted at this in
https://projects.puppetlabs.com/issues/6845#note-12 (which Stefan sorted -
so he's the guru on this)


> Puppet just needs something to identify a resource and for the mounttype
> it is the mount point. You probably can use an exec resource like
>
>
Maybe someone else has better ideas?
>
> I can think of nothing short of modifying the mount provider to accept a
different name for the specific case of swap mount entries. Not pretty.
Maybe it could be merged into https://projects.puppetlabs.com/issues/7188:-)

Regards

John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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