Last change
on this file since 687 was
586,
checked in by sebas@…, 15 years ago
|
mas documentacion y un ejemplo que anda para nosotro
|
File size:
763 bytes
|
Rev | Line | |
---|
[586] | 1 | == Para usar el servidor de nfs == |
---|
| 2 | * /compartir : el share_root |
---|
| 3 | * shares : directorios dentro de share_root (/compartir) |
---|
| 4 | * volgroup : device a mountar (lvm, raid, ...) |
---|
| 5 | * share_access = IP o hostname |
---|
| 6 | * share_options = rw,sync |
---|
[578] | 7 | |
---|
[586] | 8 | == ejemplo 1 == |
---|
| 9 | include nfs_server |
---|
| 10 | nfs_share { "/compartir": |
---|
| 11 | shares => [ "foo", "bar", "aaaa" ], |
---|
| 12 | volgroup => "", |
---|
| 13 | share_access => "192.178.0.1", |
---|
| 14 | share_options => "rw,sync,no_subtree_check" |
---|
| 15 | } |
---|
[584] | 16 | |
---|
[586] | 17 | == ejemplo 2 == |
---|
| 18 | include nfs_server |
---|
| 19 | nfs_share { "/home": |
---|
| 20 | shares => [ "" ], |
---|
| 21 | volgroup => "", |
---|
| 22 | share_access => "*.nuestrolan.cta.org.ar", |
---|
| 23 | share_options => "rw,sync,no_subtree_check" |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | |
---|
[584] | 27 | ejemplo de uso: |
---|
| 28 | http://reductivelabs.com/trac/puppet/wiki/Recipes/NFS |
---|
Note: See
TracBrowser
for help on using the repository browser.