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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/24/2012 03:28 PM, skvidal@xxxxxxxxxxxxxxxxx wrote:
> From: Seth Vidal <skvidal@xxxxxxxxxxxxxxxxx>
> 
> ---
>  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


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux