Commits

Etienne Perot  committed 490317e

Revert to default config

  • Participants
  • Parent commits 07b5327

Comments (0)

Files changed (2)

File modules/base/manifests/timekeeping.pp

-class base::timekeeping (
-	$source = 'perot.me',
-	$port = 443,
-	$proxy = 'none',
-	$cert = 'certs/perot.me.crt'
-) {
+class base::timekeeping {
 	require certs
 	aur_package {'tlsdate':}
-	file {'/etc/tlsdate':
-		ensure => directory,
-		require => Aur_package['tlsdate']
-	}
-	file {'/etc/tlsdate/tlsdated.conf':
-		content => template('base/timekeeping/tlsdated.conf.erb')
-	}
-	file {'/etc/tlsdate/ca-roots':
-		ensure => directory
-	}
-	file {'/etc/tlsdate/ca-roots/tlsdate-ca-roots.conf':
-		content => file('/usr/share/ca-certificates/mozilla/StartCom_Certification_Authority.crt')
-	}
 	systemd_service {'tlsdated':
 		enable => true,
 		require => Aur_package['tlsdate']

File modules/base/templates/timekeeping/tlsdated.conf.erb

-base-path                          /var/cache/tlsdated
-dry-run                            no
-jitter                             0
-max-tries                          10
-min-steady-state-interval          86400
-should-load-disk                   yes
-should-netlink                     yes
-should-save-disk                   yes
-should-sync-hwclock                yes
-steady-state-interval              86400
-subprocess-tries                   10
-subprocess-wait-between-tries      3
-verbose                            yes
-wait-between-tries                 10
-
-source
-        host <%= source %>
-        port <%= port %>
-        proxy <%= proxy %>
-end