Hello,

I have created a tool that allows users to recursively clone configuration 
channels between orgs of a spacewalk/satellite server or alternatively 
between servers themselves.  I am CC'ing this to the spacewalk-list as per 
one of the list owners suggestions.

If the powers that be find it useful, please consider this an application 
to have it merged into the git repo.

Cheers,

(see attached)




Example output:

[gprocuni@dev rhnapi-dev]$ ./rhn-cfg-copy --src_host satserver.example.com 
--src_auth org1-auth --src_conf hardening-global --dst_host 
satserver.example.com --dst_auth org2-auth --dst_conf clone-test

[-] Checking if source channel exists
[-] Checking that destination channel does not exist
[-] Getting source channel details
[-] Dumping source Channel File List
[-] Extracting source channel data
[-] Creating config channel destination

Replicating data:

F /etc/aliases
F /etc/cron.allow
F /etc/cron.deny
F /etc/issue.net
F /etc/login.defs
F /etc/logrotate.conf
F /etc/motd
F /etc/nossh
F /etc/nslcd.conf
F /etc/nsswitch.conf
F /etc/ntp.conf
F /etc/openldap/ldap.conf
F /etc/pam.d/password-auth-ac
F /etc/pam.d/sshd
F /etc/pam.d/system-auth-ac
F /etc/pam_ldap.conf
F /etc/profile
F /etc/resolv.conf
F /etc/rsyslog.conf
F /etc/securetty
F /etc/security/access.conf
F /etc/ssh/sshd_config
F /etc/warning
F /root/.ssh/authorized_keys

Done!

--

Greg Procunier
UNIX Administrator III - Enterprise Servers and Storage
1 Robert Speck Parkway, Suite 400, Mississauga, Ontario L4Z 4E7
Office: 416-673-3320 
Mobile: 647-465-9752
Email: gprocun...@symcor.com

Attachment: rhn-cfg-copy
Description: Binary data


CONFIDENTIALITY WARNING 
This communication, including any attachments, is for the exclusive use of 
addressee and may contain proprietary and/or confidential information. If you 
are not the intended recipient, any use, copying, disclosure, dissemination or 
distribution is strictly prohibited. If you are not the intended recipient, 
please notify the sender immediately by return e-mail, delete this 
communication and destroy all copies.

AVERTISSEMENT RELATIF À LA CONFIDENTIALITÉ 
Ce message, ainsi que les pièces qui y sont jointes, est destiné à l’usage 
exclusif de la personne à laquelle il s’adresse et peut contenir de 
l’information personnelle ou confidentielle. Si le lecteur de ce message n’en 
est pas le destinataire, nous l’avisons par la présente que toute diffusion, 
distribution, reproduction ou utilisation de son contenu est strictement 
interdite. Veuillez avertir sur-le-champ l’expéditeur par retour de courrier 
électronique et supprimez ce message ainsi que toutes les pièces jointes.
_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to