GithubHelp home page GithubHelp logo

Comments (8)

mazzystr avatar mazzystr commented on July 21, 2024

sorry for the terrible formatting!

from puppet-bind.

thias avatar thias commented on July 21, 2024

Could you maybe use "diff -u" (unified) and put that between ``` lines?

from puppet-bind.

mazzystr avatar mazzystr commented on July 21, 2024

sure, np. give me a sec.

from puppet-bind.

mazzystr avatar mazzystr commented on July 21, 2024

--- /etc/puppet/modules/bind/manifests/init.pp 2014-03-18 11:27:42.807512784 -0400
+++ /etc/puppet/modules/bind/manifests/init.pp-old 2014-03-18 13:38:35.511510396 -0400
@@ -23,8 +23,8 @@

Main package and service

$packagenamesuffix = $chroot ? {

  • 'true' => '-chroot',
  • 'false' => '',
  • true => '-chroot',
  • false => '',
    }
    class { 'bind::package':
    packagenameprefix => $packagenameprefix,
    @@ -37,8 +37,8 @@

We want a nice log file which the package doesn't provide a location for

$bindlogdir = $chroot ? {

  • 'true' => '/var/named/chroot/var/log/named',
  • 'false' => '/var/log/named',
  • true => '/var/named/chroot/var/log/named',
  • false => '/var/log/named',
    }
    file { $bindlogdir:
    require => Class['bind::package'],

from puppet-bind.

thias avatar thias commented on July 21, 2024

What version of my module are you using? I see this in the current code :

  # Main package and service
  $packagenamesuffix = $chroot ? {
    true  => '-chroot',
    false => '',
  }

And :

  # We want a nice log file which the package doesn't provide a location for
  $bindlogdir = $chroot ? {
    true  => '/var/named/chroot/var/log/named',
    false => '/var/log/named',
  }

And the module is working fine for me...

from puppet-bind.

mazzystr avatar mazzystr commented on July 21, 2024

puppet --version

2.7.23

cat bind/Modulefile

name 'thias-bind'
version '0.5.0'

from puppet-bind.

thias avatar thias commented on July 21, 2024

And are you passing the $chroot parameter value using hiera? If you are, then that must be the problem, as there was a bug in older hiera versions where booleans were incorrectly passed as strings.

from puppet-bind.

thias avatar thias commented on July 21, 2024

No reply, so closing (I hope the boolean/string issue was the cause!).

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.