Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
810e080b72 | ||
|
|
a18181f4cb |
3 changed files with 65 additions and 13 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1,3 @@
|
|||
/aeolus-configserver-0.4.1.tgz
|
||||
/aeolus-configserver-0.4.5.tgz
|
||||
/aeolus-configserver-0.4.8.tgz
|
||||
|
|
|
|||
|
|
@ -13,27 +13,37 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
%define app_root %{_datadir}/%{name}
|
||||
%global app_root %{_datadir}/%{name}
|
||||
|
||||
Name: aeolus-configserver
|
||||
Version: 0.4.1
|
||||
Release: 4%{?dist}
|
||||
Version: 0.4.8
|
||||
Release: 1%{?dist}
|
||||
Summary: The Aeolus Config Server
|
||||
|
||||
Group: Applications/System
|
||||
License: ASL 2.0
|
||||
URL: http://aeolusproject.org
|
||||
Source0: http://joev.fedorapeople.org/configserver/aeolus-configserver-%{version}.tgz
|
||||
Source0: https://github.com/aeolusproject/audrey/tarball/1.0/aeolus-configserver-%{version}.tgz
|
||||
|
||||
BuildRequires: ruby
|
||||
BuildRequires: rubygems
|
||||
%if 0%{?fedora} >= 17
|
||||
BuildRequires: ruby(abi) >= 1.9
|
||||
%else
|
||||
BuildRequires: ruby(abi) = 1.8
|
||||
%endif
|
||||
BuildRequires: ruby-devel
|
||||
BuildRequires: help2man
|
||||
|
||||
Requires: httpd
|
||||
Requires: mod_ssl
|
||||
Requires: puppet
|
||||
Requires: ruby >= 1.8.1
|
||||
Requires: ruby-nokogiri
|
||||
Requires: rubygems
|
||||
%if 0%{?fedora} >= 17
|
||||
Requires: ruby(abi) >= 1.9
|
||||
%else
|
||||
Requires: ruby(abi) = 1.8
|
||||
%endif
|
||||
Requires: rubygem(nokogiri)
|
||||
Requires: rubygem(sinatra)
|
||||
Requires: rubygem(thin)
|
||||
Requires: rubygem(archive-tar-minitar)
|
||||
|
|
@ -61,6 +71,7 @@ rm -rf %{buildroot}
|
|||
# aeolus-configserver
|
||||
##
|
||||
mkdir -p %{buildroot}%{app_root}/configure
|
||||
mkdir -p %{buildroot}%{app_root}/examples
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_initrddir}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
|
||||
|
|
@ -76,7 +87,7 @@ install -d %{buildroot}/%{app_root}/lib/model
|
|||
|
||||
install -m 0644 \
|
||||
src/config.ru \
|
||||
src/config.in.ru \
|
||||
src/common_config.rb \
|
||||
src/configserver.rb %{buildroot}/%{app_root}
|
||||
|
||||
install -m 0644 \
|
||||
|
|
@ -128,6 +139,9 @@ install -m 0644 \
|
|||
install configure/bin/config_httpd.sh \
|
||||
%{buildroot}%{_bindir}/aeolus-configserver-setup
|
||||
|
||||
install examples/katello-register.xml \
|
||||
%{buildroot}%{app_root}/examples
|
||||
|
||||
# copy the generated man page from the buildroot
|
||||
install -m 0644 aeolus-configserver-setup.8 %{buildroot}%{_mandir}/man8
|
||||
|
||||
|
|
@ -144,13 +158,15 @@ getent passwd aeolus >/dev/null || \
|
|||
|
||||
%post
|
||||
# Register the service
|
||||
chkconfig --add %{name}
|
||||
/sbin/chkconfig --add %{name}
|
||||
/sbin/chkconfig %{name} on
|
||||
/sbin/chkconfig httpd on
|
||||
|
||||
%preun
|
||||
# stop and unregister the service before package deletion
|
||||
# cleanup the service before package deletion
|
||||
if [ $1 = 0 ]; then
|
||||
service %{name} stop > /dev/null 2>&1
|
||||
chkconfig --del %{name}
|
||||
/sbin/service %{name} stop > /dev/null 2>&1
|
||||
/sbin/chkconfig --del %{name}
|
||||
fi
|
||||
|
||||
%files
|
||||
|
|
@ -169,6 +185,40 @@ fi
|
|||
%doc COPYING
|
||||
|
||||
%changelog
|
||||
* Thu Apr 12 2012 Greg Blomquist <gblomqui@redhat.com> 0.4.8-1
|
||||
- Fixes provided by jlaska@redhat.com for BZ 812107
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=812107
|
||||
- Update the comment in preun to avoid BZ 803864
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=803864
|
||||
* Tue Apr 10 2012 Greg Blomquist <gblomqui@redhat.com> 0.4.7-1
|
||||
- Updated deployable XML file for Katello registration
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=807473
|
||||
* Wed Mar 28 2012 Greg Blomquist <gblomqui@redhat.com> 0.4.6-2
|
||||
- Added facility to host example deployable XML files
|
||||
- Added first example deployable XML file for Katello registration
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=807473
|
||||
* Mon Mar 05 2012 Dan Radez <dradez@redhat.com> 0.4.6-1
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=798787
|
||||
- chkconfig on for http and configserver
|
||||
* Thu Feb 09 2012 Greg Blomquist <gblomqui@redhat.com> 0.4.6-0
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=788996
|
||||
* Mon Jan 16 2012 Greg Blomquist <gblomqui@redhat.com> 0.4.5-2
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=781459
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=768433
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=773036
|
||||
* Tue Jan 03 2012 Dan Radez <dradez@redhat.com> 0.4.5-1
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=769656
|
||||
* Fri Dec 16 2011 Greg Blomquist <gblomqui@redhat.com> 0.4.4-2
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=760377
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=768425
|
||||
* Mon Dec 12 2011 Greg Blomquist <gblomqui@redhat.com> 0.4.3-2
|
||||
- Fix 500 on audrey-agent HTTP PUT of partial params
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=766967
|
||||
* Fri Dec 09 2011 Greg Blomquist <gblomqui@redhat.com> 0.4.3-1
|
||||
- Fix 500 on HTTP DELETE of deployment data
|
||||
- (https://bugzilla.redhat.com/show_bug.cgi?id=766012)
|
||||
* Tue Nov 29 2011 Greg Blomquist <gblomqui@redhat.com> 0.4.2-2
|
||||
- Allow deletion of deployment configs
|
||||
* Tue Nov 29 2011 Joe VLcek <jvlcek@redhat.com> 0.4.1-4
|
||||
- Use install -m in place of cp in spec file
|
||||
* Mon Nov 28 2011 Joe VLcek <jvlcek@redhat.com> 0.4.1-3
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
b0cf25a9fd6442970937f4d051a4246d aeolus-configserver-0.4.1.tgz
|
||||
c0b8868493b269af94c09fe53ca4c295 aeolus-configserver-0.4.8.tgz
|
||||
|
|
|
|||
Reference in a new issue