We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 576114a commit 41915a0Copy full SHA for 41915a0
manifests/config.pp
@@ -2,7 +2,7 @@
2
class ntp::config inherits ntp {
3
4
#The servers-netconfig file overrides NTP config on SLES 12, interfering with our configuration.
5
- if $::operatingsystem == 'SLES' and $::operatingsystemmajrelease == '12' {
+ if $facts['operatingsystem'] == 'SLES' and $facts['operatingsystemmajrelease'] == '12' {
6
file { '/var/run/ntp/servers-netconfig':
7
ensure => 'absent'
8
}
manifests/params.pp
@@ -1,5 +1,5 @@
1
class ntp::params {
- if str2bool($::is_virtual) {
+ if str2bool($facts['is_virtual']) {
$tinker = true
$panic = 0
0 commit comments