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.

I'd like to do something like this:

        mount { '-':
            device => '/dev/zvol/dsk/rpool/swap01',
            fstype => "swap",
            atboot => "no",
            options => "-",
        }

        mount { '-':
            device => '/dev/zvol/dsk/upool/swap02',
            fstype => "swap",
            atboot => "no",
            options => "-",
        }

I would use the 'path' property, but it's listed as deprecated and I'd
rather not have my manifest break upon upgrading.  Is there a better way to
do this that I'm missing?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en.

Reply via email to