Giter Site home page Giter Site logo

puppet-module-ntp's Issues

incompatible restrict options for Solaris 10

The module is using restrict options that are incompatible with Solaris 10. Because of that the complete line for restrict is ignored leading to an completly unrestricted NTP server.

Error messages show that the restrict lines are ignored (at all)

Feb  5 15:49:21 sol10 xntpd[35808]: [ID 504011 daemon.error] getnetnum: "-4" invalid host number, line ignored
Feb  5 15:49:21 sol10 xntpd[35808]: [ID 504011 daemon.error] getnetnum: "-6" invalid host number, line ignored
Feb  5 15:49:21 sol10 xntpd[35808]: [ID 504011 daemon.error] getnetnum: "::1" invalid host number, line ignored
Feb  5 15:49:21 sol10 xntpd[35808]: [ID 269952 daemon.error] can't open key file /etc/inet/ntp.keys: No such file or directory
Feb  5 15:49:21 sol10 xntpd[35808]: [ID 241925 daemon.error] configure: keyword "tinker" unknown, line ignored
Feb  5 15:49:24 sol10 xntpd[35808]: [ID 373468 daemon.error] adj_frequency: ntp_adjtime failed: Not owner

To restrict ntp on Solaris 10 these line would be sufficient:

restrict default noserve noquery
restrict 127.0.0.1

Should I create a PR with (new) valid defaults for Solaris 10 ?

ensure /etc/ntp is present

If you want to use /etc/ntp/step-tickers, you need /etc/ntp, though your distributions package may not include that directory. Our code should ensure the path for step-tickers is present.

fix README for $keys

Section for $keys got copy pasted from $driftfile and have irritating lefttovers.

rake spec error

I'm getting the following "rake spec" error from v2.2.3 and current master. v2.2.2 had no errors.

  1. ntp with package_name set to an array
    Failure/Error: it { should compile.with_all_deps }
    NameError:
    undefined local variable or method `compile' for #RSpec::Core::ExampleGroup::Nested_1::Nested_21::Nested_1:0x7fb4df7d2698

    ./spec/classes/init_spec.rb:706

  2. ntp with package_name set to a string
    Failure/Error: it { should compile.with_all_deps }
    NameError:
    undefined local variable or method `compile' for #RSpec::Core::ExampleGroup::Nested_1::Nested_21::Nested_2:0x7fb4df47eb18

    ./spec/classes/init_spec.rb:725

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.