-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable support for mutli-mount entry. #124
Comments
Updated description to better reflect the goal of this issue. Will take a look as soon as I can, though we will accept PRs. |
While this issue is unexpected behavior from @elqr's perspective, this is functionally a feature request rather than a bug report as this is currently functioning as intended. |
Is this planned also for multi support in auto.master as well? Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Autofs::Mount[mount]: parameter 'mapfile' expects a match for Variant[Stdlib::Windowspath = Pattern[/^(([a-zA-Z]:[\/])|([\/][\/][^\\\/]+[\/][^\\\/]+)|([\/][\/]?[\/][^\\\/]+))/], Stdlib::Unixpath = Pattern[/^/([^\/\0]+/)$/], Autofs::Mapentry = Pattern[/\A([a-z]+(,[a-z]+)?:\S+|-hosts)\z/]], got 'multi ldap:ou=auto.mount,ou=site1,dc=example,dc=com -- ldap:ou=auto.mount,ou=all,ou=views,dc=example,dc=com' |
When I can get around to it, yes. However, it will be some time before I will make it back around to this codebase. We will accept PRs or I can ping someone in the community to see if they have time to try and tackle this |
FYI, I just submitted a PR ( #164 ) that adds multi-mount support. |
$key in autofs/manifests/mapping.pp and autofs/types/fs_mapping.pp should allow a space character.
Current pattern Pattern[/\A\S+\z/] does not allow offeset directories or directories with a space in the name. Proposed new pattern: Pattern[/\A\S+.*\z/]
From autofs docs:
centos autofs docs
Sample code:
The text was updated successfully, but these errors were encountered: