|
17 | 17 | # @param browseable
|
18 | 18 | # This controls whether this share is seen in the list of available shares in a net view and in the browse list.
|
19 | 19 | #
|
| 20 | +# @param inherit_acl |
| 21 | +# The inherit acl parameter in Samba controls whether Access Control Lists (ACLs) set on parent directories are automatically inherited by new files and subdirectories created within them. |
| 22 | +# |
| 23 | +# @param host_msdfs |
| 24 | +# The host msdfs parameter controls whether the Samba server acts as an MSDFS root, facilitating redirection of file shares in a distributed file system. |
| 25 | +# |
| 26 | +# @param hosts_allow |
| 27 | +# The hosts allow parameter limit access to these ip-addresses. |
| 28 | +# |
| 29 | +# @param hosts_deny |
| 30 | +# The hosts deny parameter deny access to these ip-addresses. |
| 31 | +# |
20 | 32 | # @param copy
|
21 | 33 | # This parameter allows you to "clone" service entries. The specified service is simply duplicated under the current service's name.
|
22 | 34 | #
|
|
104 | 116 | Optional[Boolean] $writable = undef,
|
105 | 117 | Optional[Boolean] $available = undef,
|
106 | 118 | Optional[Boolean] $browseable = undef,
|
| 119 | + Optional[Boolean] $host_msdfs = undef, |
| 120 | + Optional[Boolean] $inherit_acl = undef, |
| 121 | + Optional[Array[String]] $hosts_allow = undef, |
| 122 | + Optional[Array[String]] $hosts_deny = undef, |
107 | 123 | Optional[String] $copy = undef,
|
108 | 124 | Optional[String] $create_mask = undef,
|
109 | 125 | Optional[String] $directory_mask = undef,
|
|
163 | 179 | "${title}-writable": target => $target, key => 'writable', value => $writable;
|
164 | 180 | "${title}-available": target => $target, key => 'available', value => $available;
|
165 | 181 | "${title}-browseable": target => $target, key => 'browseable', value => $browseable;
|
| 182 | + "${title}-host_msdfs": target => $target, key => 'host msdfs', value => $host_msdfs; |
| 183 | + "${title}-inherit_acl": target => $target, key => 'inherit acl', value => $inherit_acl; |
| 184 | + "${title}-hosts_allow": target => $target, key => 'hosts allow', value => $hosts_allow; |
| 185 | + "${title}-hosts_deny": target => $target, key => 'hosts deny', value => $hosts_deny; |
166 | 186 | "${title}-copy": target => $target, key => 'copy', value => $copy;
|
167 | 187 | "${title}-create mask": target => $target, key => 'create mask', value => $create_mask;
|
168 | 188 | "${title}-directory mask": target => $target, key => 'directory mask', value => $directory_mask;
|
|
0 commit comments