Skip to content

Commit 0ba2e32

Browse files
authored
Merge pull request #431 from antaflos/remove_inherits
Don't use 'inherits' in config, install and service
2 parents 8b461c2 + 004571c commit 0ba2e32

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

manifests/config.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @api private
22
# This class handles the configuration file. Avoid modifying private classes.
3-
class ntp::config inherits ntp {
3+
class ntp::config {
44

55
#The servers-netconfig file overrides NTP config on SLES 12, interfering with our configuration.
66
if ($facts['operatingsystem'] == 'SLES' and $facts['operatingsystemmajrelease'] == '12') or

manifests/install.pp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# @api private
1+
# @api private
22
# This class handles ntp packages. Avoid modifying private classes.
3-
class ntp::install inherits ntp {
3+
class ntp::install {
44

55
if $ntp::package_manage {
66

manifests/service.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @api private
22
# This class handles the ntp service. Avoid modifying private classes.
3-
class ntp::service inherits ntp {
3+
class ntp::service {
44

55
if $ntp::service_manage == true {
66
service { 'ntp':

0 commit comments

Comments
 (0)