schema/spacewalk/common/tables/rhnContentSource.sql | 4 ++--
spacewalk/setup/answers.txt | 18 ++++++++++++++++++
spacewalk/setup/spacewalk-setup.spec | 2 +-
3 files changed, 21 insertions(+), 3 deletions(-)
New commits:
commit c310088327dbf3c0a4a745db8e55cc438ea752ce
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Fri Jul 2 12:02:40 2010 +0200
add example of answers.txt file
diff --git a/spacewalk/setup/answers.txt b/spacewalk/setup/answers.txt
new file mode 100644
index 0000000..3286958
--- /dev/null
+++ b/spacewalk/setup/answers.txt
@@ -0,0 +1,18 @@
+admin-email = root@localhost
+ssl-set-org = Example Org
+ssl-set-org-unit = Some Dept.
+ssl-set-city = Brno
+ssl-set-state = CZ
+ssl-set-country = CZ
+ssl-password = x
+ssl-set-email = root@localhost
+ssl-config-sslvhost = Y
+satellite-cert-file = /usr/share/spacewalk/setup/spacewalk-public.cert
+db-backend=oracle
+db-user=foo
+db-password=bar
+db-sid=oracle_sid
+db-host=hostname.of.your.db
+db-port=1521
+db-protocol=TCP
+enable-tftp=N
diff --git a/spacewalk/setup/spacewalk-setup.spec b/spacewalk/setup/spacewalk-setup.spec
index b629ed2..272cdce 100644
--- a/spacewalk/setup/spacewalk-setup.spec
+++ b/spacewalk/setup/spacewalk-setup.spec
@@ -89,7 +89,7 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
-%doc Changes README
+%doc Changes README answers.txt
%{perl_vendorlib}/*
%{_bindir}/spacewalk-setup
%{_bindir}/spacewalk-make-mount-points
commit 2332403caee0ff3b726b52b83af450a54f355d4a
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Fri Jul 2 11:52:33 2010 +0200
fix index creation and duplicite name of index
addressing:
SQL>
SQL> CREATE UNIQUE INDEX rhn_ccs_uq
2 ON rhnContentSource (channel_id, type_id, source_url)
3 TABLESPACE DATA_TBS;
ON rhnContentSource (channel_id, type_id, source_url)
*
ERROR at line 2:
ORA-00904: "CHANNEL_ID": invalid identifier
diff --git a/schema/spacewalk/common/tables/rhnContentSource.sql b/schema/spacewalk/common/tables/rhnContentSource.sql
index d7912c3..876dc7d 100644
--- a/schema/spacewalk/common/tables/rhnContentSource.sql
+++ b/schema/spacewalk/common/tables/rhnContentSource.sql
@@ -39,8 +39,8 @@ rhnContentSource
create sequence rhn_chan_content_src_id_seq start with 500;
-create unique index rhn_ccs_uq
- on rhnContentSource(channel_id, type_id, source_url)
+create unique index rhn_cs_uq
+ on rhnContentSource(id, type_id, source_url)
tablespace [[64k_tbs]]
;