Skip to content
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

New boolean mapfile_manage to manage mapfile #58

Merged
merged 1 commit into from Jun 14, 2017

Conversation

traylenator
Copy link
Contributor

It is desirable some times to create and auto.master
entry and not maintain the map file. An example would be

autofs::mount{'smb':
  mount          => '/smb',
  mapfile        => '/etc/auto.smb',
  manage_mapfile => false,
}

In this case the auto.smb is a script provied by the autofs package
and should not be under puppet's control.

@traylenator traylenator added the enhancement New feature or request label Jun 13, 2017
@traylenator traylenator reopened this Jun 13, 2017
@dhollinger
Copy link
Member

This was obsoleted by #57

@dhollinger dhollinger closed this Jun 13, 2017
@traylenator traylenator reopened this Jun 13, 2017
@traylenator
Copy link
Contributor Author

Hi , this was not obsoleted by #57

@dhollinger
Copy link
Member

Sounds like this parameter could be a good idea. Please see #59 for enhancements and issues I've found after merging #57

mapfile: '/etc/auto.smb',
mapfile_manage: false,
options: '--timeout=120',
order: 0o1,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo with the order parameter.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think I copied it from elsewhere.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed in

It is desirable some times to create and auto.master
entry and not maintain the map file. An example would be

```puppet
autofs::mount{'smb':
  mount          => '/smb',
  mapfile        => '/etc/auto.smb',
  manage_mapfile => false,
}
```

In this case the auto.smb is a script provied by the autofs package
and should not be under puppet's control.
@dhollinger dhollinger merged commit 6552096 into voxpupuli:master Jun 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants