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

Anchor the consul install/config/run_service classes #102

Merged
merged 1 commit into from
Apr 5, 2015
Merged

Anchor the consul install/config/run_service classes #102

merged 1 commit into from
Apr 5, 2015

Conversation

koendc
Copy link

@koendc koendc commented Apr 5, 2015

This fixes dependency issues on underlying packages and services.

For me this helped to solve a dependency issue between a yum repo and the consul package. I had to add another anchor around the calling consul class:

yum::repo { 'my-repo': }

anchor {'my_consul_first': }
->
class { '::consul':
    install_method => 'package',
    package_ensure => '0.5.0-2.el6',
    require        => Yum::Repo['my-repo'],
}
->
anchor {'my_consul_last': }

This fixes dependency issues on underlying packages and services.
solarkennedy added a commit that referenced this pull request Apr 5, 2015
Anchor the consul install/config/run_service classes
@solarkennedy solarkennedy merged commit 5b0d418 into voxpupuli:master Apr 5, 2015
@koendc koendc deleted the f-anchor branch April 6, 2015 20:05
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.

3 participants