From a463bb83d79e6d769962e53a1b677e93e03274c5 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Tue, 29 May 2007 17:35:03 +0000 Subject: * (hopefully) fixed problem with respect to wget repeatedly failing with 'files exists' errors under some circumstances: we now simply remove that file and try again * renamed 'export-filter.local' to 'export-filter' and 'clone-filter.local' to 'clone-filter' * completed example files for clone-filter and export-filter for all distros * split distro-info in two parts: the static, shared part (now living in /opt/openslx/share) and the configurable part living in /etc/opt/openslx. This is the last part of settings file related changes, closing ticket#122 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1106 95ad53e4-c205-0410-b2fa-d234c58c8868 --- lib/distro-info/clone-filter.example | 14 ++++++++++++++ lib/distro-info/fedora-6/export-filter.example | 15 +++++++++++++++ lib/distro-info/fedora-6_x86_64/export-filter.example | 15 +++++++++++++++ lib/distro-info/suse-10.1/export-filter.example | 15 +++++++++++++++ lib/distro-info/suse-10.1_x86_64/export-filter.example | 15 +++++++++++++++ lib/distro-info/suse-10.2/export-filter.example | 7 +++++-- lib/distro-info/suse-10.2_x86_64/export-filter.example | 15 +++++++++++++++ 7 files changed, 94 insertions(+), 2 deletions(-) create mode 100644 lib/distro-info/clone-filter.example create mode 100644 lib/distro-info/fedora-6/export-filter.example create mode 100644 lib/distro-info/fedora-6_x86_64/export-filter.example create mode 100644 lib/distro-info/suse-10.1/export-filter.example create mode 100644 lib/distro-info/suse-10.1_x86_64/export-filter.example create mode 100644 lib/distro-info/suse-10.2_x86_64/export-filter.example (limited to 'lib') diff --git a/lib/distro-info/clone-filter.example b/lib/distro-info/clone-filter.example new file mode 100644 index 00000000..14582c3c --- /dev/null +++ b/lib/distro-info/clone-filter.example @@ -0,0 +1,14 @@ +# this file defines the filter rules used when cloning any vendor-OS +# +# copy this file to 'clone-filter' and add your own filters to it +# in order to overrule the filters provided by openslx +# +#Examples: +# the following line would include anything below /var/spool/ +#+ /var/spool/* +# +# this would exclude anything in /etc that starts with dhcpd.conf +#- /etc/dhcpd.conf* +# +# and this would exclude all rpmnew-files: +#- *.rpmnew diff --git a/lib/distro-info/fedora-6/export-filter.example b/lib/distro-info/fedora-6/export-filter.example new file mode 100644 index 00000000..a414fef4 --- /dev/null +++ b/lib/distro-info/fedora-6/export-filter.example @@ -0,0 +1,15 @@ +# this file defines the filter rules used when exporting a vendor-OS +# of this distro +# +# copy this file to 'export-filter' and add your own filters to it +# in order to overrule the filters provided by openslx +# +#Examples: +# the following line would include anything below /var/spool/ +#+ /var/spool/* +# +# this would exclude anything in /etc that starts with dhcpd.conf +#- /etc/dhcpd.conf* +# +# and this would exclude all rpmnew-files: +#- *.rpmnew diff --git a/lib/distro-info/fedora-6_x86_64/export-filter.example b/lib/distro-info/fedora-6_x86_64/export-filter.example new file mode 100644 index 00000000..a414fef4 --- /dev/null +++ b/lib/distro-info/fedora-6_x86_64/export-filter.example @@ -0,0 +1,15 @@ +# this file defines the filter rules used when exporting a vendor-OS +# of this distro +# +# copy this file to 'export-filter' and add your own filters to it +# in order to overrule the filters provided by openslx +# +#Examples: +# the following line would include anything below /var/spool/ +#+ /var/spool/* +# +# this would exclude anything in /etc that starts with dhcpd.conf +#- /etc/dhcpd.conf* +# +# and this would exclude all rpmnew-files: +#- *.rpmnew diff --git a/lib/distro-info/suse-10.1/export-filter.example b/lib/distro-info/suse-10.1/export-filter.example new file mode 100644 index 00000000..a414fef4 --- /dev/null +++ b/lib/distro-info/suse-10.1/export-filter.example @@ -0,0 +1,15 @@ +# this file defines the filter rules used when exporting a vendor-OS +# of this distro +# +# copy this file to 'export-filter' and add your own filters to it +# in order to overrule the filters provided by openslx +# +#Examples: +# the following line would include anything below /var/spool/ +#+ /var/spool/* +# +# this would exclude anything in /etc that starts with dhcpd.conf +#- /etc/dhcpd.conf* +# +# and this would exclude all rpmnew-files: +#- *.rpmnew diff --git a/lib/distro-info/suse-10.1_x86_64/export-filter.example b/lib/distro-info/suse-10.1_x86_64/export-filter.example new file mode 100644 index 00000000..a414fef4 --- /dev/null +++ b/lib/distro-info/suse-10.1_x86_64/export-filter.example @@ -0,0 +1,15 @@ +# this file defines the filter rules used when exporting a vendor-OS +# of this distro +# +# copy this file to 'export-filter' and add your own filters to it +# in order to overrule the filters provided by openslx +# +#Examples: +# the following line would include anything below /var/spool/ +#+ /var/spool/* +# +# this would exclude anything in /etc that starts with dhcpd.conf +#- /etc/dhcpd.conf* +# +# and this would exclude all rpmnew-files: +#- *.rpmnew diff --git a/lib/distro-info/suse-10.2/export-filter.example b/lib/distro-info/suse-10.2/export-filter.example index 96f0d3bc..a414fef4 100644 --- a/lib/distro-info/suse-10.2/export-filter.example +++ b/lib/distro-info/suse-10.2/export-filter.example @@ -1,5 +1,8 @@ -#add your own filters to this file and rename it to 'exclude-filter.local' -#in order to overrule the filters provided by openslx +# this file defines the filter rules used when exporting a vendor-OS +# of this distro +# +# copy this file to 'export-filter' and add your own filters to it +# in order to overrule the filters provided by openslx # #Examples: # the following line would include anything below /var/spool/ diff --git a/lib/distro-info/suse-10.2_x86_64/export-filter.example b/lib/distro-info/suse-10.2_x86_64/export-filter.example new file mode 100644 index 00000000..a414fef4 --- /dev/null +++ b/lib/distro-info/suse-10.2_x86_64/export-filter.example @@ -0,0 +1,15 @@ +# this file defines the filter rules used when exporting a vendor-OS +# of this distro +# +# copy this file to 'export-filter' and add your own filters to it +# in order to overrule the filters provided by openslx +# +#Examples: +# the following line would include anything below /var/spool/ +#+ /var/spool/* +# +# this would exclude anything in /etc that starts with dhcpd.conf +#- /etc/dhcpd.conf* +# +# and this would exclude all rpmnew-files: +#- *.rpmnew -- cgit v1.2.3-55-g7522