[Spacewalk-list] New to list - Subversion script

Matt Wells matt at sprackle.org
Thu Jun 4 04:59:52 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all, new to the list but thought it was past time to sign up.
I wrote this script to 'integrate' our subversion server with our
internal satellite server.  I thought it may do some good for somebody
some place so here it is.
Here was the list of requirements that started the script.  In this
example I'll use zone files.
- - We have all of our zone files in subversion for revision management.
- - We don't actually deploy zone files to systems but use configuration
channels to do this for us.
- - So a need came for an easy way to work in subversion with the files
and push them to the Satellite server configuration channels.

Some assumptions are made within this script.

1. We decided to make a large Repo for files that we deployed with the
satellite server.
2. The configuration channels names had to match those of the repo.
excerpt from the script. -
#  This script assumes a certain setup of the subversion and
# # Satellite server.  Example is below with a DNS server
# # Subversion server repositories are inside a ConfigChannels repo.
# # Within the ConfigChannel a repo for 'DNS'.
# # Within the DNS there could be multiple folders but for this assume
'ZONES'
# # The Satellite server would have a configuration channel called.
# # DNS-ZONES and inside are the zone files to be deployed to systems.
- - -

There are some great options that could be added but this is what met
our needs.  We didn't want to outsource the Subversion or Satellite
server management with the script just the files.

Here's the link to the script.  sorry it's 197 lines.. didn't want to
paste it in.
http://sprackle.org/?p=196


- --
- - - Matt Wells - -
Matt at Sprackle.Org
GPG Public Key ID:  0x4ADEA413
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkonVMgACgkQj63APkrepBPt0wCgqvAfv1T+grZ/TMcQFK2YG/7X
qCIAoKfnEownEMO6Dwr6VU9rsQ5wnvZp
=1c57
-----END PGP SIGNATURE-----




More information about the Spacewalk-list mailing list