A Puppet resource type for managing Windows file shares.
name
- Name of the file share (namevar)path
- Path to the shared directorycomment
- An optional commentmaxcon
- Maximum allowed connections. Defaults to 16777216.
This module ensures by default that shares allow full control access to everyone. It is expected that you will manage access rights with the puppetlabs/acl
module at a filesystem level.
fileshare { 'the_file_share':
ensure => present,
path => 'C:\test',
}
fileshare { 'the_file_share':
ensure => present,
path => 'C:\test',
comment => 'Optional Comment String Goes Here',
}