Git Product home page Git Product logo

salt-formula-ntp's Introduction

Usage

The Network Time Protocol (NTP) formula is used to properly synchronize services across the nodes. This file provides the sample configurations for different use cases.

  • [Deprecated] NTP client configuration, should not be used if the stratum parameter exists:

    ntp:
      client:
        enabled: true
        strata:
        - ntp.cesnet.cz
        - ntp.nic.cz
  • The NTP client extended definition with auth:

    ntp:
      client:
        enabled: true
        stratum:
          primary:
            server: ntp.cesnet.cz
            key_id: 1
          secondary:
            server: ntp.nic.cz
            key_id: 2
  • The NTP client with MD5 auth configuration:

    ntp:
      client:
        enabled: true
        auth:
          enabled: true
          secrets:
            1:
              secret_type: 'M'
              secret: 'Runrabbitrundigthath'
              trustedkey: true
            2:
              secret_type: 'M'
              secret: 'Howiwishyouwereherew'
              trustedkey: true
        stratum:
          primary:
            server: ntp.cesnet.cz
            key_id: 1
          secondary:
            server: ntp.nic.cz
            key_id: 2
  • The NTP server with MD5 auth configuration:

    ntp:
      client:
        enabled: false
      server:
        enabled: true
        auth:
          enabled: true
          secrets:
            1:
              secret_type: 'M'
              secret: 'Runrabbitrundigthath'
              trustedkey: true
            2:
              secret_type: 'M'
              secret: 'Howiwishyouwereherew'
              trustedkey: true
        stratum:
          primary:
            server: ntp.cesnet.cz
            key_id: 1
          secondary:
            server: ntp.nic.cz
            key_id: 2
  • A cleaning up of the NTP configurations left by DHCP:

    ntp:
      client:
        enabled: true
        remove_dhcp_conf: true # default false
  • The NTP server simple peering definition:

    ntp:
      server:
        peers:
        - 192.168.0.241
        - 192.168.0.242
  • The NTP server extended peering definition:

    ntp:
       server:
         peers:
           1:
             host: 192.168.31.1
           2:
             host: 192.168.31.2
           3:
             host: 192.168.31.3
  • The NTP server definition enabling the listen and ignore actions on specific addresses:

    ntp:
      server:
          1:
            value: wildcard
            action: ignore
          2:
            value: ::1
            action: listen
          3:
            value: 192.168.31.1
            action: listen
  • The NTP client orphan mode definition:

    ntp:
      client:
        enabled: true
        orphan: 5
        stratum:
          primary:
            server: ntp.cesnet.cz

Read more

Documentation and bugs

salt-formula-ntp's People

Contributors

alekseychuprin avatar alexz-kh avatar cznewt avatar dis-xcom avatar epcim avatar fpytloun avatar geertwitter avatar ildarsv avatar jakubjosef avatar jiribroulik avatar martin819 avatar mk-lab-ci avatar ogusarenko avatar prannon avatar richardfelkl avatar smolaon avatar stelucz avatar teselkin avatar tomkukral avatar vitalygusev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

salt-formula-ntp's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.