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

Create a default recipe to allow for attribute-driven hostsfile entries #85

Open
bodgix opened this issue Jul 13, 2017 · 0 comments
Open

Comments

@bodgix
Copy link

bodgix commented Jul 13, 2017

This cookbook provides new chef resource types which can be used by other recipes. However, the cookbook does not have any recipes so it doesn't actually do anything on it's own. This is perfectly fine in most situations.

However, there are use cases where it doesn't make sense to create a new cookbook just for the purpose of creating a single entry in /etc/hosts. Or there isn't an existing cookbook which would be appropriate for adding a recipe that configures hostsfile_entry resources.

Those simple use cases would benefit if cookbook hostsfile allowed attribute-driven configuration. No new cookbooks would be required. Simply including hostsfile::default in the runlist and setting some attributes in environment/role/recipe would be enough.

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

No branches or pull requests

1 participant