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

Purge config.d directory #59

Merged
merged 1 commit into from
Feb 8, 2017
Merged

Purge config.d directory #59

merged 1 commit into from
Feb 8, 2017

Conversation

rwf14f
Copy link
Contributor

@rwf14f rwf14f commented Dec 14, 2016

This will remove old configuration files which were created by cvmfs::mount when the mount is removed from puppet.

@@ -53,6 +53,14 @@
content => "This directory is managed by puppet but *.conf files are ignored from purging\n",
require => File['/etc/cvmfs/domain.d'],
}
file{'/etc/cvmfs/config.d/README.PUPPET':
Copy link
Contributor

@traylenator traylenator Dec 14, 2016

Choose a reason for hiding this comment

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

Hi,
The domain.d/README and config.d/README may as well be an array of two files like you did for the
directory.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

True, but this also needs a require which has both parent directories in it. Alternatively, we could also define the dependencies outside of the file type which is probably better because you don't end up with the readme in config.d (or domain.d) depending on the domain.d (or config.d) directory.
Let me know which one you prefer and I change it.

@traylenator traylenator merged commit 081a96b into voxpupuli:master Feb 8, 2017
@traylenator
Copy link
Contributor

@rwf14f sorry for delay

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.

2 participants