summaryrefslogtreecommitdiff
path: root/strata/ntpd
Commit message (Collapse)AuthorAgeFilesLines
* Reformat all definitions according to a consistent styleSam Thursfield2015-07-191-1/+1
| | | | | | | | | | | | | | | | | This was done using the 'indent' tool, which uses a fork of PyYAML named 'ruamel.yaml' to rewrite YAML files without losing comments, ordering, or certain elements of formatting. My aim with doing this is to open the door to automated editing of the reference system definitions using the 'ruamel.yaml' library. This can be used to implement automated migration when we want to make changes to the YAML format that we use to represent Baserock system definitions. Although this looks drastic, remember that it's actually only altered 65 out of 608 .morph files -- the vast majority already pass unchanged through my version of ruamel.yaml. Change-Id: I95ec978714b5bd1c02c90183336a9fbb846cb692
* Improve ntpd systemd unit and configurationTiago Gomes2015-06-171-3/+3
| | | | | | | | | | | | Start ntpd with the `-N` and `-g` options, as recommended in the man page. `-N` will, to the extent permitted by the operating system, run the ntpd at the highest priority. `-g` will make ntpd to update the time even if the offset with the current time is greater than 1000s. Add 'limited' to the restrict options to avoid the following warning in the log: 'restrict ::: KOD does nothing without LIMITED'. Change-Id: I23e264533ef27af7a0504e8cd5b69c7e01843728
* ntpd: Set default .service and conf file in the morphology fileJavier Jardon2015-04-221-0/+41
| | | | | | So we can avoid an specific extension to introduce it in the system Change-Id: I57f446977e3e5fba5fe98be6fdd6a3f150623f14
* Run ntpd as non-root userRichard Ipsum2015-04-161-0/+10
Building with libcap allows ntpd to drop root privileges it doesn't need, we also don't want to run ntpd as root, so we create an ntp user and an ntp group. Change-Id: Idd8a7916af97c10704290234c1bb1f34a14baf2c