----- Original Message -----
| Hi All,
| 
| I have an issue whereby I need to manage a mount that is a physical
| mount of a device as well as a bind mount entry.
| 
| 
| Physical Mount
| ==============
| 
| file { "/exports":
|   owner => "root",
|   group => "root",
|   mode => "771",
|   ensure => directory,
| }
| 
| file { "/exports/homes":
|   owner => "root",
|   group => "Domain Users",
|   mode => "2771",
|   ensure => directory,
|   require => File["/exports"],
| }
| 
| file { "/srv":
|   ensure => directory,
| }
| 
| file { "/srv/homes":
|   ensure => directory,
|   require => File["/srv"],
| }
| 
| 
| mount { "/exports/homes":
|   device  => "LABEL=homes",
|   fstype  => "xfs",
|   ensure  => "mounted",
|   options => "inode64,nobarrier,delaylog,uquota,grpquota",
|   atboot  => true,
|   require => File["/exports/homes"],
| }
| 
| 
| But then I also need a bind mount
| 
| mount { "/srv/homes":
|   device  => "/exports/homes",
|   fstype  => "none",
|   ensure  => "mounted",
|   options => "bind",
|   atboot  => true,
| }
| 

Sorry this is a mistype.  It should be this

 mount { "/export/homes":
   device  => "/srv/homes",
   fstype  => "none",
   ensure  => "mounted",
   options => "bind",
   atboot  => true,
 }



-- 
James A. Peltier
Manager, IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax     : 778-782-3045
E-Mail  : [email protected]
Website : http://www.sfu.ca/itservices

“A successful person is one who can lay a solid foundation from the bricks 
others have thrown at them.” -David Brinkley via Luke Shaw

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to