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

More permissions #324

Merged
merged 3 commits into from Jun 19, 2016
Merged

More permissions #324

merged 3 commits into from Jun 19, 2016

Conversation

kingpong
Copy link

@kingpong kingpong commented Jun 4, 2016

This includes the branch from #323 but goes a step further and uses the configured attributes as defaults for the consul_definition and consul_watch resources. I made this a separate pull request since it wasn't something we discussed in #322.

# @!attribute group
# @return [String]
attribute(:group, kind_of: String, default: 'consul')
attribute(:group, kind_of: String, default: lazy { node['consul']['config']['group'] })

This comment was marked as outdated.

This comment was marked as outdated.

@johnbellone
Copy link
Contributor

You're going to need to rebase

Use the same attributes to provide defaults for consul_definition and
consul_watch as are used for consul_config.

Consolidated each test suite as a recipe in the consul_spec cookbook to
reduce the boilerplate this would have added to kitchen.yml.
@kingpong
Copy link
Author

Thanks @johnbellone, rebased and updated.

@johnbellone johnbellone merged commit 2876c5e into sous-chefs:master Jun 19, 2016
@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants