GithubHelp home page GithubHelp logo

Comments (4)

rnelson0 avatar rnelson0 commented on July 21, 2024

The calling class looks like this:

class profile::dns {
  # Named package and configs
  include bind
  $bind_server_confs = hiera_hash('bind_server_confs', undef)
  if ($bind_server_confs) {
    create_resources('bind::server::conf', $bind_server_confs)
  }
  $bind_server_files = hiera_hash('bind_server_files', undef)
  if ($bind_server_files) {
    create_resources('bind::server::file', $bind_server_files)
  }
}

The hiera data looks like this:

bind_server_confs:
  '/etc/named.conf':
    listen_on_addr:
      - '127.0.0.1'
      - '10.0.0.253'
    allow_query:
      - 'localhost'
      - '10.0.0.0/24'
    zones:
      0.0.10.in-addr.arpa:
        - 'type master'
        - 'file "named.0.0.10"'
        - 'allow-update { none; }'

from puppet-bind.

rnelson0 avatar rnelson0 commented on July 21, 2024

@thias I tested this in my lab, the PR is ready for review.

from puppet-bind.

grosscol avatar grosscol commented on July 21, 2024

I ran into a similar issue on a Debian install.

from puppet-bind.

thias avatar thias commented on July 21, 2024

I'll go with the simpler fix from #71 for now. Do feel free to create a PR about only rspec that can be reviewed independently from other changes.

from puppet-bind.

Related Issues (20)

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.