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

seth vidal skvidal at fedoraproject.org
Thu May 24 19:27:59 UTC 2012


On Thu, 24 May 2012 19:28:22 +0000
skvidal at fedoraproject.org wrote:

Need +1's to this patch, please

-sv



> 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





More information about the infrastructure mailing list