Michael DeHaan wrote: > Jolynn Schmidt wrote: > >> Would it be possible to add the rsync exclude option to this? I have one >> snippet that contains regional info and would not want it synced / >> overwritten in other locations. The feature would use a standard rsync >> exclude file Thoughts? >> >> Jolynn >> >> This e-mail and its attachments are intended only for the individual or >> entity to whom it is addressed and may contain information that is >> confidential, privileged, inside information, or subject to other >> restrictions on use or disclosure. Any unauthorized use, dissemination or >> copying of this transmission or the information in it is prohibited and may >> be unlawful. If you have received this transmission in error, please notify >> the sender immediately by return e-mail, and permanently delete or destroy >> this e-mail, any attachments, and all copies (digital or paper). Unless >> expressly stated in this e-mail, nothing in this message should be construed >> as a digital or electronic signature. >> _______________________________________________ >> cobbler mailing list >> [email protected] >> https://fedorahosted.org/mailman/listinfo/cobbler >> >> > > Absolutely, currently the stock rsync.excludes file used during import > contains: > > ### files to exclude from "cobbler import" commands that use > ### rsync mirrors. by default ISOs, PPC code, and debug > ### RPM's are not transferred. Some users may want to > ### re-enable debug RPM's. > **/debug/** > **/ppc/** > **/alpha/** > **/ia64/** > **/source/** > **/SRPMS/** > **/*.iso > **/kde-i18n** > > Basically this is set up to avoid rsync'ing arches we didn't support in > the case where someone wanted to rsync a tree containing multiple arches. > > ppc is being added and will drop out of this list. ia64 probably > shouldn't be excluded either, though people can add it back if needed. > > I think reusing this same file for replication makes sense. > > Can you file an RFE in Trac for this one so we don't lose this idea? > Trac is at http://fedorahosted.org/cobbler ("New Ticket"). If you don't > yet have a Fedora account you can get one at > https://admin.fedorahosted.org/accounts > > > --Michael > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler >
On second thought, in your use case, removal of regional info would best be done with a new option like "--rsync-flags" added to the replicate command. This way you could choose which rsync exclude file to have. We already have this for "cobbler repo add" so it would basically be the same thing. _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
