feat: create ntp consul service
- create consul policy for ntp servers - add consul service check and check script
This commit is contained in:
@@ -35,5 +35,13 @@ class profiles::ntp::server (
|
||||
queryhosts => $allowquery,
|
||||
}
|
||||
}
|
||||
|
||||
file {'/usr/local/bin/check_ntp.sh':
|
||||
ensure => 'file',
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0644',
|
||||
content => template('profiles/ntp/check_ntp.sh.erb'),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user