Changeset 573


Ignore:
Timestamp:
Mar 12, 2010, 2:58:03 PM (12 years ago)
Author:
sebas@…
Message:

agrego un segundo punto de montage al pam-mount

Location:
trunk/puppet/modules/puppet-openldap
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/puppet/modules/puppet-openldap/manifests/classes/client.pp

    r568 r573  
    6666#
    6767# used like this:
    68 #
    69 # $pammount_fstype = 'nfs'
    70 # $pammount_server = '10.0.0.2'
    71 # $pammount_path  = '~'
    72 # $pammount_mountpoint = '~'
     68# * for one mount point
     69#    $pammount_fstype = 'nfs'
     70#    $pammount_server = '10.0.0.2'
     71#    $pammount_path  = '~'
     72#    $pammount_mountpoint = '~'
     73# * if you need a second mount point
     74#    $pammount_fstype2 = 'nfs'
     75#    $pammount_server2 = '10.0.0.2'
     76#    $pammount_path2  = '/home/shared/'
     77#    $pammount_mountpoint2 = '/home/shared'
    7378# include openldap::client::pammount
    7479
  • trunk/puppet/modules/puppet-openldap/templates/pam_mount.conf.xml.erb

    r569 r573  
    1111
    1212<volume fstype="<%= pammount_fstype %>" server="<%= pammount_server %>" path="<%= pammount_path %>" mountpoint="<%= pammount_mountpoint %>" />
     13
     14<% if has_variable?("pammount_fstype2") then %>
     15<volume fstype="<%= pammount_fstype2 %>" server="<%= pammount_server2 %>" path="<%= pammount_path2 %>" mountpoint="<%= pammount_mountpoint2 %>" />
     16<% end %>
     17
    1318
    1419                <!-- pam_mount parameters: General tunables -->
Note: See TracChangeset for help on using the changeset viewer.