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

Don't use 'inherits' in config, install and service #431

Merged
merged 1 commit into from
Dec 11, 2017

Conversation

antaflos
Copy link
Contributor

@antaflos antaflos commented Nov 5, 2017

Since the ntp class contains the other ntp classes ntp::config,
ntp::install and ntp::service it is neither necessary nor useful for
these classes to inherit from the "main" ntp class.

Letting the classes ntp::config, ntp::install and ntp::service inherit
from ntp is also counter all recommendations in the Puppet
documentation. The puppetlabs-ntp module is widely regarded as a "poster
child" for designing Puppet modules and is often used as reference by
Puppet newcomers. It should not make use of deprecated and useless or
confusing patterns.

See also puppetlabs/puppet-docs#801

Since the ntp class contains the other ntp classes ntp::config,
ntp::install and ntp::service it is neither necessary nor useful for
these classes to inherit from the "main" ntp class.

Letting the classes ntp::config, ntp::install and ntp::service inherit
from ntp is also counter all recommendations in the Puppet
documentation. The puppetlabs-ntp module is widely regarded as a "poster
child" for designing Puppet modules and is often used as reference by
Puppet newcomers. It should not make use of deprecated and useless or
confusing patterns.

See also puppetlabs/puppet-docs#801
@tphoney
Copy link
Contributor

tphoney commented Dec 11, 2017

Great PR @antaflos !!!

@tphoney tphoney merged commit 0ba2e32 into puppetlabs:master Dec 11, 2017
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