Comments (8)
sorry for the terrible formatting!
from puppet-bind.
Could you maybe use "diff -u" (unified) and put that between ``` lines?
from puppet-bind.
sure, np. give me a sec.
from puppet-bind.
--- /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.
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.
puppet --version
2.7.23
cat bind/Modulefile
name 'thias-bind'
version '0.5.0'
from puppet-bind.
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.
No reply, so closing (I hope the boolean/string issue was the cause!).
from puppet-bind.
Related Issues (20)
- Hiera Support HOT 1
- on Debain bullseye file_bindkeys is not '/etc/named.iscdlv.key'
- Support for response-policy? HOT 1
- BIND does not load configuration due to rmeoved dnssec-enable and dnssec-lookaside options HOT 1
- Upstream release with Puppet 8 support? HOT 1
- missing controls clause in named.conf HOT 2
- Ubuntu 16.04 HOT 2
- dynamic overwrite? HOT 3
- Views are sorted alphabetically, not in file order HOT 2
- please consider supporting replace for bind:.server::file
- Support 'forward' configuration option
- Add also_notify to options HOT 1
- tsig/keys documentation
- Hard coded logging locations HOT 5
- Undefined method for 'join'
- Assistance tweaking this package for Ubuntu? HOT 1
- Please add support for statistics-channels
- split config files in directory
- Puppet 5.x support HOT 1
- rndc freeze|thaw
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-bind.