lermit / puppet-bind Goto Github PK
View Code? Open in Web Editor NEWA puppet module for bind. According to Example42 NextGen spec.
A puppet module for bind. According to Example42 NextGen spec.
I am interested in using this puppet module, but I could not figure out a way with the current code to handle a wildcard record. The problem that I has was that the * (star) record would always get put at the top of the zone file. This causes problems as the ns record needs to be first.
bind::a { '*':
zone => 'example.com',
target => '2.2.2.2',
}
; File managed by puppet
$TTL 300
@ IN SOA ns1 root.example.com (
1 ; serial
300 ; refresh
300 ; retry
300 ; expire
604800 ; TTL
);
* IN A 2.2.2.2
IN NS ns1
host1 IN A 24.24.24.24
ns1 IN A 10.0.2.15
www IN A 123.45.67.89
I came up with a solution that works and will create a pull request in case this is something that would be beneficial for others.
I'm getting the following error:
Error: Could not find dependent Exec[concat_/etc/bind/named.conf] for File[/var/lib/puppet/concat/_etc_bind_named.conf/fragments/ 50_bind-include-zone-example.com]
when I try to add a bind::zone. The concat module is available in the modules folder.
What am I missing?
Thanks for your help.
Hi there , i found one issue about this stuff. When you want to create two record with the same name for different zone, you got this error:
Error 400 on SERVER: Duplicate definition: Bind::Record[www] is already defined in file
I think this is wrong, because maybe you need to create www.example.com and www.examaple.org, am i right?¿
Cheers
Hi,
I have created a "bind" module following example42 template threee month ago. Unfortunately, my mail anounce was lost.
I'm posting it here if you want to merge parts of it:
https://github.com/sathieu/puppet-bind
Important features:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.