-
-
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 auto-naming of the /etc/auto.<mount> file. #105
Comments
Currently, On the other hand, however, the title already has a different, but similar use: it is the default value of the Personally, I would be inclined to go the other way: leave the title's significance alone, and make |
@jcbollinger it's been a while. Any update to this? |
@dhollinger, this feature request was filed against version 4 of the module, in which That does not mean that
I make an exception to (3) for Overall, then, my recommendation would be to close this request without further changes. The use of the title of |
@jcbollinger It's been a little over a week since your response. I'm going to follow your recommendation and close this. |
It'd be nice to have the /etc/auto. file auto-named based on the name of the defined type, "mount."
autofs::mount { 'home':
mount => '/home',
mapfile => '/etc/auto.home',
mapcontents => ['* netapp.example.com//home/&'],
}
Since the name of the defined type in this instance is 'home' and the mapfile is '/etc/auto.home', it makes sense that leaving out $mapfile should imply that the $name of the defined type is also the name of the /etc/auto. file.
Leaving out $mapfile when instantiating the defined type just leaves out the file in /etc/auto.master.
The text was updated successfully, but these errors were encountered: