Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello,

I'm wondering about the Puppet Version you're using, check that version and make sure of the compatibility with the latest NTP module. The other thing you may try is to create _"%{facts.os.name}"_.yaml (in your case, that should be _ubuntu.yaml_) with the needed content under data folder (check what you got from facter os.name)

Suggesting that because I also had a look on the same Module Code and as you well noticed, it's making use of Hiera as default back ends (instead of beloved "params.pp" pattern), In that Hiera hierarchy, I see that facts.os,name is coming before "%{facts.os.family}" and common.yaml...

---
version: 4
datadir: data
hierarchy:
  - name: "Full Version"
    backend: yaml
    path: "%{facts.os.name}-%{facts.os.release.full}"

  - name: "Major Version"
    backend: yaml
    path: "%{facts.os.name}-%{facts.os.release.major}"

  - name: "Distribution Name"
    backend: yaml
    path: "%{facts.os.name}"

  - name: "Operating System Family"
    backend: yaml
    path: "%{facts.os.family}"

  - name: "common"
    backend: yaml