keep the same structure for every distro + minor permission fixes

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-06-24 08:03:42 +02:00
parent 164e1108e5
commit 3f790bc334
5 changed files with 25 additions and 15 deletions

View File

@@ -1457,7 +1457,7 @@ include-dir=/etc/powerdns/froxlor/
</file>
<command><![CDATA[mkdir -p /etc/powerdns/froxlor/]]></command>
<file name="/etc/powerdns/froxlor/pdns_froxlor.conf" chown="root:root"
chmod="644">
chmod="600">
<content><![CDATA[
#local-ipv6=YOUR_IPv6_(if_any)
bind-config=<BIND_CONFIG_PATH>named.conf

View File

@@ -566,7 +566,6 @@ guardian=yes
# include-dir Include *.conf files from this directory
#
# include-dir=
include-dir=/etc/powerdns/pdns.d
#################################
# launch Which backends to launch and order to query them in
@@ -893,7 +892,8 @@ version-string=powerdns
#
# webserver-print-arguments=no
include-dir=/etc/powerdns/froxlor
# include froxlor-bind-specific config
include-dir=/etc/powerdns/froxlor/
]]>
</content>
</file>
@@ -1107,7 +1107,6 @@ guardian=yes
# include-dir Include *.conf files from this directory
#
# include-dir=
include-dir=/etc/powerdns/pdns.d
#################################
# launch Which backends to launch and order to query them in
@@ -1434,10 +1433,15 @@ version-string=powerdns
# webserver-print-arguments If the webserver should print arguments
#
# webserver-print-arguments=no
# include froxlor-bind-specific config
include-dir=/etc/powerdns/froxlor/
]]>
</content>
</file>
<file name="/etc/powerdns/pdns.d/bindbackend.conf" backup="true">
<command><![CDATA[mkdir -p /etc/powerdns/froxlor/]]></command>
<file name="/etc/powerdns/froxlor/pdns_froxlor.conf" chown="root:root"
chmod="600">
<content><![CDATA[
# Bind backend configuration

View File

@@ -363,6 +363,7 @@ include-dir=/etc/powerdns/froxlor/
]]>
</content>
</file>
<command><![CDATA[mkdir -p /etc/powerdns/froxlor/]]></command>
<file name="/etc/powerdns/froxlor/pdns_froxlor.conf" chown="root:root"
chmod="600">
<content><![CDATA[
@@ -398,12 +399,13 @@ socket-dir=/var/run
version-string=powerdns
bind-config=<BIND_CONFIG_PATH>named.conf
bind-check-interval=300
include=/etc/powerdns/pdns_froxlor.conf
include-dir=/etc/powerdns/froxlor/
]]>
</content>
</file>
<file name="/etc/powerdns/pdns_froxlor.conf" chown="root:root"
chmod="644">
<command><![CDATA[mkdir -p /etc/powerdns/froxlor/]]></command>
<file name="/etc/powerdns/froxlor/pdns_froxlor.conf" chown="root:root"
chmod="600">
<content><![CDATA[
allow-axfr-ips=<NAMESERVERS>
#local-ipv6=YOUR_IPv6_(if_any)

View File

@@ -433,12 +433,13 @@ socket-dir=/var/run
version-string=powerdns
bind-config=<BIND_CONFIG_PATH>named.conf
bind-check-interval=300
include-dir=/etc/powerdns/pdns.d
include-dir=/etc/powerdns/froxlor/
]]>
</content>
</file>
<file name="/etc/powerdns/pdns.d/bindbackend.conf" chown="root:root"
chmod="644">
<command><![CDATA[mkdir -p /etc/powerdns/froxlor/]]></command>
<file name="/etc/powerdns/froxlor/pdns_froxlor.conf" chown="root:root"
chmod="600">
<content><![CDATA[
allow-axfr-ips=<NAMESERVERS>
#local-ipv6=YOUR_IPv6_(if_any)

View File

@@ -732,7 +732,8 @@ socket-dir=/var/run
# allowed methods are anonymous / powerdns / full / custom
version-string=powerdns
include-dir=/etc/powerdns/froxlor
# include froxlor-bind-specific config
include-dir=/etc/powerdns/froxlor/
]]>
</content>
</file>
@@ -1070,12 +1071,14 @@ socket-dir=/var/run
# allowed methods are anonymous / powerdns / full / custom
version-string=powerdns
include-dir=/etc/powerdns/pdns.d
# include froxlor-bind-specific config
include-dir=/etc/powerdns/froxlor/
]]>
</content>
</file>
<file name="/etc/powerdns/pdns.d/bindbackend.conf" backup="true" chown="root:root"
chmod="644">
<command><![CDATA[mkdir -p /etc/powerdns/froxlor/]]></command>
<file name="/etc/powerdns/froxlor/pdns_froxlor.conf" chown="root:root"
chmod="600">
<content><![CDATA[
# Bind backend configuration