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

Allow service to be managed seperately #21

Merged
merged 1 commit into from
Apr 29, 2015
Merged

Allow service to be managed seperately #21

merged 1 commit into from
Apr 29, 2015

Conversation

jcpunk
Copy link
Contributor

@jcpunk jcpunk commented Apr 27, 2015

Fixes #20

@@ -13,6 +13,7 @@
# by cvmfs. If you are managing autofs elsewhere set to false.
# This being the string 'true' and not boolean true is a hiera bug.
$config_automaster = hiera('cvmfs_config_automaster','true')
$manage_autofs_service = hiera('cvmfs_manage_autofs_service','true')
Copy link
Contributor

Choose a reason for hiding this comment

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

Please set this just true and skip the explicit hiera call. I plan to deprecate all these hiera calls in favor of parameter lookup.

Copy link
Contributor

Choose a reason for hiding this comment

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

Hmmm this is backwards incompatible if someone has set config_automaster false.

In params.pp $manage_autofs_service should default to $cvmfs::config_automaster I think? Not sure if that works.

@traylenator
Copy link
Contributor

Am fine in principal but would ideally like to make it backwards compatible though it's not obvious
how to do because of the many ways cvmfs_config_automaster can be set.

@traylenator
Copy link
Contributor

@jcpunk I'm happy to merge this, could you squash the commits and I'll do so.

traylenator added a commit that referenced this pull request Apr 29, 2015
Allow autofs service to be managed seperately
@traylenator traylenator merged commit 0bbb952 into voxpupuli:master Apr 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

autofs management is all or nothing
2 participants