Skip to content

Added hiera support #149

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

Closed
wants to merge 1 commit into from
Closed

Added hiera support #149

wants to merge 1 commit into from

Conversation

tomcsi
Copy link

@tomcsi tomcsi commented Feb 4, 2013

No description provided.

create_resources('mysql::db', $mysql_databases)
}
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Mixing hiera() queries into the middle of tech modules is actually a kind of anti-pattern. Since the class exposes the mysql::db defined resource type as an interface, the controlling profile needing to instantiate specific databases should be responsible for performing the hiera query. See http://www.craigdunn.org/2012/05/239/ for a reference description (though Hiera is only -> profiles).

@tomcsi tomcsi closed this Jun 12, 2013
pmcmaw pushed a commit to pmcmaw/puppetlabs-mysql that referenced this pull request Mar 3, 2021
pdksync - (IAC-890) - Implement CentOS 8 travis tests
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