Skip to content

Commit

Permalink
Move ntpsec workaround to hiera
Browse files Browse the repository at this point in the history
  • Loading branch information
mergwyn committed Oct 6, 2024
1 parent 2c73b31 commit ac907b5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 18 additions & 0 deletions data/os/Ubuntu/24.04.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---

# TODO until formal support for 22.04 in puppet-php
#php::globals::php_version: '8.1'

# TODO workaround until puppet erver/db ackages released for jammy
#profile::puppet::repo::release: 'focal'

# TODO workaround until puppetboard support released for jammy
#puppetboard::python_version: '3.10'


# TODO Workaound for https://github.com/puppetlabs/puppetlabs-ntp/pull/700
# default ntp is a transitional package install ntpsec
ntp::package_name: [ntpsec]
ntp::driftfile: /var/lib/ntpsec/ntp.drift
ntp::config: /etc/ntpsec/ntp.conf
ntp::daemon_config: /etc/default/ntpsec
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
servers => [ $local_clock ] + $network_servers,
restrict => $restrict_default + $restrict,
fudge => [ "${local_clock} stratum 10" ],
# TODO remove workaround for https://github.com/puppetlabs/puppetlabs-ntp/pull/700
driftfile => '/var/lib/ntpsec/drift', # ubuntu 24.04
}
}
}

0 comments on commit ac907b5

Please sign in to comment.