crux-capacitor
4b88c4d797
Update pillar.example
...
Add documentation and an example on specifying the file to be used for a view, as well as documented that you should not define the top-level 'configured_zones' key when using views.
2018-11-14 11:17:45 -05:00
crux-capacitor
d387599e77
Update named.conf.local.jinja
...
Some reorganization of the format.
In the for-loop that handles configured_views:
- Add if-block on lines 124-128 to allow specifying a file for your view, rather than defaulting to the name of the specified zone. This allows multiple views to serve the same zone, but use a different file.
2018-11-14 11:11:07 -05:00
Javier Bértoli
522b369cab
Merge pull request #117 from tiefpunkt/patch-1
...
Update link to example in README.rst
2018-10-26 19:34:59 -03:00
Severin Schols
b4e5c0ce5c
Update link to example in README.rst
...
pillar.example seems to have been moved to the root of the repository. Tried to make it a link but that only seems to work in Markdown, not in RST 🤷♂️
2018-10-26 22:24:42 +02:00
Javier Bértoli
a96669c191
Merge pull request #113 from rbjorklin/readme-formatting
...
fix formatting for yaml blocks
2018-09-26 11:32:05 -03:00
Robin Björklin
652ec42129
change kitchen reporter from k/v to list
2018-09-26 16:23:26 +02:00
Robin Björklin
47fe92ac88
fix formatting for yaml blocks
2018-09-26 12:48:36 +02:00
Alexandre Anriot
ea2f1a2442
Merge pull request #112 from netmanagers/master
...
Parallelize travis tests
2018-09-10 14:09:04 +02:00
Javier Bértoli
13815d984a
Parallelize travis tests
2018-09-10 08:58:42 -03:00
Javier Bértoli
038e6535d3
Merge pull request #111 from aanriot/master
...
db.root is now outdated
2018-09-10 08:57:07 -03:00
Alexandre Anriot
db0681ef4e
db.root is now outdated
2018-09-10 09:10:14 +02:00
Javier Bértoli
703a5e33a7
Merge pull request #110 from bmwiedemann/sort
...
Two fixes
2018-09-04 18:11:53 -03:00
Bernhard M. Wiedemann
7f500766e0
Use dictsort instead of iteritems
...
to process entries in deterministic order
2018-09-04 21:10:24 +02:00
Bernhard M. Wiedemann
353a8dfc15
Sort hashes
...
To process hash entries in deterministic order.
Without this patch, config entries were different for every run
and required a service restart when nothing actually changed.
Doing it similar to
0fe2f7e66b
2018-08-31 15:03:48 +02:00
Bernhard M. Wiedemann
993b7d339d
Fix named_directory usage
...
similar to e573baf26d
was broken by 019e1e4a58
2018-08-31 14:20:13 +02:00
Javier Bértoli
a7041da355
Merge pull request #108 from wanless-systems/master
...
Redhat/CentOS is broken by SELinux
2018-08-30 09:47:23 -03:00
Brian Sidebotham
1da26c7a2d
Move Redhat family logging location to satisfy selinux requirements
2018-08-30 12:25:02 +01:00
Javier Bértoli
3a1e9907fe
Merge pull request #105 from ryanwalder/testing-improvements
...
Overhaul testing
2018-08-03 14:32:12 -03:00
Ryan Walder
05477570e2
Overhaul testing
...
* Test package install
* Test service
* Test configs
* Test zonefiles
2018-08-02 16:16:24 +01:00
Javier Bértoli
23dcc6a86a
Merge pull request #103 from joe-bowman/fix-debian-directory-bug
...
fix named_directory bug in Debian/Ubuntu by using the map value
2018-07-30 09:38:32 -03:00
Joe Bowman
2e585637e1
Merge pull request #4 from ryanwalder/fix-for-the-fix
...
Make `zones_directory` compatible with all distros
2018-07-27 13:50:25 +01:00
Ryan Walder
819126ed50
Make zones_directory
compatible with all distros
...
As all but Debian based distros seem to put the zonefiles in
`named_directory` itself it's been removed from `map.jinja` for all but
debian.
Within `bind.config` we set `zones_directory` to `named_directory` if
not defined in `map.jinja`/pillar.
All zonefile actions then write using the `zones_directory` variable.
2018-07-27 13:30:14 +01:00
Joe Bowman
c0ce2eb97c
Merge pull request #3 from ryanwalder/fix-debian-directory-bug
...
Add `zones_directory` variable to map
2018-07-26 23:44:57 +01:00
Ryan Walder
2e8643fef4
Change zonefile include to use absolute path
2018-07-26 13:00:51 +01:00
Ryan Walder
ccbcd2a31c
Add zones_directory
variable to map
...
This allows the `named_directory` to be the base bind directory as it should so it can be used as a base variable for other directories. Then use the `zones_directory` for placing the zone files in.
2018-07-26 13:00:51 +01:00
Joe Bowman
d51c30c896
replace hardcoded /var/named with variable from map.jinja throughout redhat/named.conf
2018-07-25 16:58:47 +01:00
Joe Bowman
22b206456a
add Gem lockfile to .gitignore
2018-07-25 16:51:53 +01:00
Joe Bowman
e573baf26d
fix incorrect variable reference causing all RedHat os_family tests to fail
2018-07-13 11:43:11 +01:00
Joe Bowman
019e1e4a58
fix named_directory bug in Debian/Ubuntu by using the map value instead of hardcoding
2018-07-13 11:40:50 +01:00
Javier Bértoli
72030c9009
Merge pull request #101 from joe-bowman/fix-dnssec-pillar-duplicate
...
remove superfluous signed-<zone> block
2018-07-12 18:06:39 -03:00
Joe Bowman
a8b703f877
remove superfluous signed-<zone> block, as the per-view block negates the need for this (as default view is still treated as a view); fixes #100
2018-07-09 14:24:15 +01:00
Javier Bértoli
72ea4cf544
Merge pull request #98 from aanriot/master
...
Add support for inline-signing, see #64 for details
2018-06-21 08:37:51 -03:00
Javier Bértoli
aeeafc329a
Merge pull request #97 from nadvornik/reverse
...
Autogenerate reverse zones
2018-06-21 08:35:07 -03:00
Niels Abspoel
e3bf427db7
Merge pull request #99 from nadvornik/forwarders
...
Optionally include generated forwarders.conf
2018-06-18 19:40:48 +02:00
Vladimir Nadvornik
5039e09dad
Optionally include generated forwarders.conf
2018-06-18 16:23:05 +02:00
Vladimir Nadvornik
449597241c
Generate reverse records for 'any' zone
2018-06-15 16:46:06 +02:00
Alexandre Anriot
82726fdb48
Add support for inline-signing, see #64 for details
2018-06-07 14:34:27 +02:00
Vladimir Nadvornik
4623fb5e60
Autogenerate reverse zones
2018-06-05 15:46:48 +02:00
Javier Bértoli
6e8652dcb3
Merge pull request #84 from nadvornik/serial
...
Auto-update zone file serial
2018-06-05 08:39:31 -03:00
Javier Bértoli
87f046e8d9
Merge pull request #96 from nadvornik/chroot
...
Handle log file in chroot
2018-06-05 07:32:15 -03:00
Vladimir Nadvornik
2b99362435
Handle log file in chroot
2018-06-04 16:43:10 +02:00
Vladimir Nadvornik
59502abac3
Do not modify configured_views dict
...
the pillar dict is passed by reference so we should not update it,
update a newly created dict instead
2018-06-01 16:19:59 +02:00
Vladimir Nadvornik
3310f90bb2
De-duplicate views and non-views zone configuration
2018-06-01 15:39:22 +02:00
Vladimir Nadvornik
5d8a666b83
Use watch_in consistently on all files
2018-06-01 15:25:19 +02:00
Vladimir Nadvornik
30a42dbebd
Auto-update zone file serial
...
use https://github.com/saltstack/salt/pull/15828
2018-06-01 15:25:19 +02:00
Javier Bértoli
401188e2cf
Merge pull request #95 from aanriot/master
...
Fix misplaced parenthesis and tests
2018-05-31 10:12:43 -03:00
Alexandre Anriot
b8f4584d3b
Add missing Gemfile in #94
2018-05-31 14:49:38 +02:00
Alexandre Anriot
40d4be4f8f
Fix misplaced parenthesis introduced in #92
2018-05-31 14:43:00 +02:00
Alexandre Anriot
32459c7604
Merge pull request #94 from netmanagers/refactor-named.conf.local_and_logging
...
Refactor named.conf.local & logging
2018-05-31 13:22:26 +02:00
Javier Bértoli
02ff055688
Merge pull request #92 from aanriot/master
...
Allow to use external zone files
2018-05-31 08:21:36 -03:00