projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
security_master -> hiera role
[mirror/dsa-puppet.git]
/
modules
/
ntpdate
/
manifests
/
init.pp
diff --git
a/modules/ntpdate/manifests/init.pp
b/modules/ntpdate/manifests/init.pp
index
ca21a4d
..
c4d7c8b
100644
(file)
--- a/
modules/ntpdate/manifests/init.pp
+++ b/
modules/ntpdate/manifests/init.pp
@@
-1,15
+1,16
@@
class ntpdate {
class ntpdate {
+ package { [
+ 'ntpdate',
+ 'lockfile-progs'
+ ]:
+ ensure => installed
+ }
- if getfromhash($site::nodeinfo, 'broken-rtc') {
- package { [
- 'ntpdate',
- 'lockfile-progs'
- ]:
- ensure => installed
- }
+ $ntpservers = $::hostname ? {
+ default => ['manda-node03.debian.org', 'manda-node04.debian.org', 'bm-bl1.debian.org', 'bm-bl2.debian.org']
+ }
- file { '/etc/default/ntpdate':
- content => template('ntpdate/etc-default-ntpdate.erb'),
- }
- }
+ file { '/etc/default/ntpdate':
+ content => template('ntpdate/etc-default-ntpdate.erb'),
+ }
}
}