Compare commits

...
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

10 commits

Author SHA1 Message Date
Fedora Release Engineering
1fe5103031 dist-git conversion 2010-07-28 09:34:00 +00:00
Bill Nottingham
8ee38c15c2 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:24:37 +00:00
Bryan Kearney
7d1941a864 Changes from Joey Boggs and the ovirt team. 2009-03-16 18:32:08 +00:00
Bryan Kearney
e7f4e1df09 Added ip tables fix from boggs 2009-02-18 14:53:22 +00:00
Bryan Kearney
508d49683b - Status of puppet script is reflected in command line and init script
- Executingn 'ace --verbose' now provides real time view of puppet output
- Will work with new puppet which includes the augas plugin
2009-01-07 14:24:41 +00:00
Bryan Kearney
d32c014020 new changelog 2008-12-16 22:00:57 +00:00
Bryan Kearney
30bb234a70 Fixes some bugs in the postgres plugin around dependencies. Found while
testing ovirt.
2008-12-16 21:39:52 +00:00
Bryan Kearney
9fd88091d7 Bring in the latest build which fixes the location of the main ruby files 2008-12-02 21:05:26 +00:00
Bryan Kearney
2cb3f30c2a Initial checkin 2008-11-25 20:06:19 +00:00
Kevin Fenzi
871f2336c3 Initialize branch F-10 for ace 2008-10-15 21:53:43 +00:00
5 changed files with 304 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
ace-0.0.7.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: ace
# $Id$
NAME := ace
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

302
ace.spec Normal file
View file

@ -0,0 +1,302 @@
%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")}
%define pbuild %{_builddir}/%{name}-%{version}
%define binFile %{_bindir}/ace
%define initFile %{_initrddir}/ace
%define acehome %{_datadir}/ace
%define modulehome %{acehome}/modules
##############
# Main Module
##############
Summary: Appliance Configuration Engine
Name: ace
Version: 0.0.7
Release: 2%{?dist}
Group: Applications/Internet
License: LGPLv2+
URL: http://www.thincrust.net
Source0: %{url}/download/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: ruby(abi) = 1.8
BuildRequires: ruby-devel >= 1.8
BuildRequires: ruby
Requires: yum
Requires: ruby(abi) = 1.8
Requires: puppet
Requires: ruby-augeas
Requires: /usr/sbin/crond
Requires(post): chkconfig
Requires(preun): chkconfig
%description
Boot time configuration engine for appliances.
%files
%defattr(-,root,root,-)
%dir %{ruby_sitelib}
%dir %{acehome}
%dir %{modulehome}
%dir %{modulehome}/appliance_base
%dir %{modulehome}/augeas
%dir %{modulehome}/firewall
%dir %{acehome}/facts
%dir %{acehome}/lenses
%dir %{acehome}/manifests
%dir %{acehome}/tools
%{modulehome}/appliance_base/*
%{modulehome}/augeas/*
%{modulehome}/firewall/*
%{acehome}/facts/*
%{acehome}/lenses/*
%{acehome}/manifests/*
%{acehome}/tools/*
%{ruby_sitelib}/*
%doc %{acehome}/COPYING
%{binFile}
%{initFile}
###############
# Apache Module
###############
%package apache
Summary: Apache ACE Module
Group: Applications/Internet
License: LGPLv2+
URL: http://www.thincrust.net
BuildArch: noarch
Requires: ace
Requires: httpd
Requires: ruby(abi) = 1.8
%description apache
Apache module for the Appliance Configuration Engine
%files apache
%defattr(-,root,root,-)
%dir %{modulehome}/apache
%{modulehome}/apache/*
%doc %{modulehome}/apache/COPYING
#################
# Banners Module
#################
%package banners
Summary: Simple Banners ACE Module
Group: Applications/Internet
Requires: ace
Requires: ruby(abi) = 1.8
%description banners
Login and Console information for appliances
%files banners
%defattr(-,root,root,-)
%dir %{modulehome}/banners
%{modulehome}/banners/*
%doc %{modulehome}/banners/COPYING
####################
# Basic Site Module
####################
%package basic-site
Summary: Simple Web Site ACE Module
Group: Applications/Internet
Requires: ace-apache
Requires: ruby(abi) = 1.8
%description basic-site
Basic informative web site for appliances
%files basic-site
%defattr(-,root,root,-)
%dir %{modulehome}/basic-site
%{modulehome}/basic-site/*
%doc %{modulehome}/basic-site/COPYING
##############
# MySQL Module
##############
%package mysql
Summary: ACE Mysql module
Group: Applications/Internet
Requires: ruby(abi) = 1.8
Requires: ace
Requires: mysql
Requires: mysql-server
%description mysql
Mysql management for appliances.
%files mysql
%defattr(-,root,root,-)
%dir %{modulehome}/mysql
%{modulehome}/mysql/*
%doc %{modulehome}/mysql/COPYING
##############
# PHP Module
##############
%package php
Summary: ACE php module
Group: Applications/Internet
Requires: ruby(abi) = 1.8
Requires: ace
Requires: php
%description php
PHP management for appliances.
%files php
%defattr(-,root,root,-)
%dir %{modulehome}/php
%{modulehome}/php/*
%doc %{modulehome}/php/COPYING
#################
# Postgres Module
#################
%package postgres
Summary: ACE postgres module
Group: Applications/Internet
Requires: ruby(abi) = 1.8
Requires: ace
Requires: postgresql
Requires: postgresql-server
%description postgres
Postgres database management for appliances.
%files postgres
%defattr(-,root,root,-)
%dir %{modulehome}/postgres
%{modulehome}/postgres/*
%doc %{modulehome}/postgres/COPYING
############
# SSH Module
############
%package ssh
Summary: ACE ssh module
Group: Applications/Internet
Requires: ruby(abi) = 1.8
Requires: ace
Requires: openssh-server
%description ssh
SSH configuration for appliances
%files ssh
%defattr(-,root,root,-)
%dir %{modulehome}/ssh
%{modulehome}/ssh/*
%doc %{modulehome}/ssh/COPYING
###########################
# Prep, Build, and Install
###########################
%prep
%setup -q
%build
%install
rm -rf %{buildroot}
install -d %{buildroot}/%{acehome}
install -d %{buildroot}/%{ruby_sitelib}
install -d %{buildroot}/%{_bindir}
install -d %{buildroot}/%{_initrddir}
cp -pr %{pbuild}/COPYING %{buildroot}/%{acehome}
cp -pr %{pbuild}/lib/ace.rb %{buildroot}/%{ruby_sitelib}
cp -pr %{pbuild}/lib/ace %{buildroot}/%{ruby_sitelib}
cp -pr %{pbuild}/bin/ace %{buildroot}/%{binFile}
cp -pr %{pbuild}/bin/ace-init %{buildroot}/%{initFile}
cp -pr %{pbuild}/modules %{buildroot}/%{acehome}
cp -pr %{pbuild}/COPYING %{buildroot}/%{modulehome}/apache
cp -pr %{pbuild}/COPYING %{buildroot}/%{modulehome}/banners
cp -pr %{pbuild}/COPYING %{buildroot}/%{modulehome}/basic-site
cp -pr %{pbuild}/COPYING %{buildroot}/%{modulehome}/mysql
cp -pr %{pbuild}/COPYING %{buildroot}/%{modulehome}/php
cp -pr %{pbuild}/COPYING %{buildroot}/%{modulehome}/postgres
cp -pr %{pbuild}/COPYING %{buildroot}/%{modulehome}/ssh
cp -pr %{pbuild}/facts %{buildroot}/%{acehome}
cp -pr %{pbuild}/manifests %{buildroot}/%{acehome}
cp -pr %{pbuild}/tools %{buildroot}/%{acehome}
cp -pr %{pbuild}/lenses %{buildroot}/%{acehome}
%clean
rm -rf %{buildroot}
%post
/sbin/chkconfig --add %{name}
%preun
if [ $1 = 0 ] ; then
/sbin/service ace stop >/dev/null 2>&1
/sbin/chkconfig --del %{name}
fi
###########
# Changelog
###########
%changelog
* Wed Mar 16 2009 Bryan Kearney <bkearney@redhat.com> 0.0.7-2
- Ovirt enhancements from Joey Boggs
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Feb 18 2009 Bryan Kearney <bkearney@redhat.com> 0.0.6-1
- Iptables enhancements from Joey Boggs
* Tue Jan 07 2009 Bryan Kearney <bkearney@redhat.com> 0.0.5-1
- Status of puppet script is reflected in command line and init script
- Executingn 'ace --verbose' now provides real time view of puppet output
- Will work with new puppet which includes the augas plugin
* Tue Dec 16 2008 Bryan Kearney <bkearney@redhat.com> 0.0.4-1
- Postgres packages did not enforfce dependencies correctly
- init script can handle many appliances
* Tue Dec 2 2008 Bryan Kearney <bkearney@redhat.com> 0.0.3-7
- Modify the build requires to include the ruby binary
* Tue Dec 2 2008 Bryan Kearney <bkearney@redhat.com> 0.0.3-6
- Modify the build requires to get the sitelibdir value
* Thu Oct 2 2008 Bryan Kearney <bkearney@redhat.com> 0.0.3-5
- Remove the console to package it later.
* Thu Oct 2 2008 Bryan Kearney <bkearney@redhat.com> 0.0.3-4
- Combine all ace packages into a single SRPM.
* Wed Sep 24 2008 Bryan Kearney <bkearney@redhat.com> 0.0.3-3
- Comments from David Lutterkort and Bill Nottingham
* Fri Sep 19 2008 Bryan Kearney <bkearney@redhat.com> 0.0.3-2
- Submit For Fedora Packaging Process
* Thu Sep 18 2008 Bryan Kearney <bkearney@redhat.com> 0.0.3-1
- Begin Fedora Packaging Process
* Thu Jul 17 2008 Bryan Kearney <bkearney@redhat.com> 0.0.2-1
- Converted to puppet syntax
* Thu Mar 26 2008 Bryan Kearney <bkearney@redhat.com> 0.0.1-1
- Initial packaging

View file

@ -0,0 +1 @@
7d894e1385a9f8b41ad74c57fbcfe644 ace-0.0.7.tar.gz