[PATCH] - add db-fas01 to dns - add to puppet - based in larger part off of db01's recipe

Ricky Elrod codeblock at fedoraproject.org
Thu May 24 19:37:13 UTC 2012


On 05/24/2012 03:28 PM, skvidal at fedoraproject.org wrote:
> From: Seth Vidal <skvidal at fedoraproject.org>
> 
> ---
>  manifests/nodes/db-fas01.phx2.fedoraproject.org  |   18 ++++++++++++++++++
>  modules/bind/files/master/126.5.10.in-addr.arpa  |    4 ++--
>  modules/bind/files/master/phx2.fedoraproject.org |    3 ++-
>  3 files changed, 22 insertions(+), 3 deletions(-)
>  create mode 100644 manifests/nodes/db-fas01.phx2.fedoraproject.org
> 
> diff --git a/manifests/nodes/db-fas01.phx2.fedoraproject.org b/manifests/nodes/db-fas01.phx2.fedoraproject.org
> new file mode 100644
> index 0000000..ac90bf9
> --- /dev/null
> +++ b/manifests/nodes/db-fas01.phx2.fedoraproject.org
> @@ -0,0 +1,18 @@
> +node db01-fas.phx2.fedoraproject.org {
> +    $bacula5 = "true"
> +    # re-enable this once we have db's setup. 
> +    # $backup_db_often = true
> +    include phx
> +    include db
> +    include appDB-el6
> +    collectd::collectd { 'log02': }
> +    collectd::postgres { 'postgres':
> +       databases => ['fas']
> +    }
> +
> +    # Workaround for bug 768055
> +    semanage_fcontext { '/usr/lib64/nagios/plugins/check_disk':
> +        type => 'nagios_unconfined_plugin_exec_t'
> +    }
> +
> +}
> diff --git a/modules/bind/files/master/126.5.10.in-addr.arpa b/modules/bind/files/master/126.5.10.in-addr.arpa
> index 39e2b4d..9dbb2e2 100644
> --- a/modules/bind/files/master/126.5.10.in-addr.arpa
> +++ b/modules/bind/files/master/126.5.10.in-addr.arpa
> @@ -2,7 +2,7 @@ $TTL 86400
>  @    IN    SOA    126.5.10.in-addr.arpa. hostmaster.fedoraproject.org.  (
>  ; Make SURE to update the serial # when changes are made. Format is YYYYMMDDNN
>  ; (NN is just a counter to handle multiple changes in one day).
> -                2012031900 ; Serial
> +                2012052400 ; Serial
>                  28800      ; Refresh
>                  14400      ; Retry
>                  1000000    ; Expire
> @@ -109,7 +109,7 @@ $TTL 86400
>  96       IN        PTR      download04.phx2.fedoraproject.org.
>  97       IN        PTR      download05.phx2.fedoraproject.org.
>  98       IN        PTR      darkserver01.phx2.fedoraproject.org.
> -99       IN        PTR      unused.
> +99       IN        PTR      db-fas01.phx2.fedoraproject.org.
>  100      IN        PTR      unused.
>  101      IN        PTR      unused.
>  102      IN        PTR      unused.
> diff --git a/modules/bind/files/master/phx2.fedoraproject.org b/modules/bind/files/master/phx2.fedoraproject.org
> index c0ebff5..707eae8 100644
> --- a/modules/bind/files/master/phx2.fedoraproject.org
> +++ b/modules/bind/files/master/phx2.fedoraproject.org
> @@ -3,7 +3,7 @@ $TTL 3600
>  ; Make SURE to update the serial # when changes are made. Format is
>  ; YYYYMMDDNN (NN is just a counter to handle multiple changes in one
>  ; day). 
> -                2012051001 ; Serial
> +                2012052401 ; Serial
>                  3600      ; Refresh
>                  600      ; Retry
>                  1000000    ; Expire
> @@ -62,6 +62,7 @@ db5             IN      CNAME   db05
>  db-wiki		IN	CNAME	db05
>  db-smolt	IN	CNAME   db05
>  db-insight	IN	CNAME	db05
> +db-fas01	IN	A	10.5.126.99
>  dhcp01		IN	A	10.5.125.43
>  download01	IN	A	10.5.126.93
>  download02	IN	A	10.5.126.94

+1


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20120524/7564e69e/attachment.sig>


More information about the infrastructure mailing list