616.2.476
by desai
Version bump to 0.9.4 (final) |
1 |
%define release 0.1
|
507
by desai
Spec file updates |
2 |
%define __python python
|
616.2.440
by desai
spec fix from mbrady |
3 |
%{!?py_ver: %define py_ver %(python -c 'import sys;print(sys.version[0:3])')}
|
616.2.260
by desai
Spec fixes for SLES |
4 |
%define pythonversion %{py_ver}
|
616.2.101
by desai
Version bump to 0.8.7.3 (for fedora extras inclusion) |
5 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
616.2.261
by desai
Fix for sles |
6 |
%{!?_initrddir: %define _initrddir %{_sysconfdir}/rc.d/init.d}
|
1
by desai
last step of repo switches |
7 |
|
616.2.408
by desai
Fix RPM spec for lxml (resolves Ticket #445) |
8 |
# Most rpm-based distributions include the lxml package a 'python-lxml',
|
9 |
# but some distributions and some people who roll their own lxml packages
|
|
10 |
# call it just 'lxml'. We'll try to catch both.
|
|
11 |
%define dfl_lxml python-lxml
|
|
12 |
%define alt_lxml lxml
|
|
13 |
%define lxmldep %(rpm -q %{alt_lxml} 2>&1 > /dev/null && echo %{alt_lxml} || echo %{dfl_lxml})
|
|
14 |
||
616.2.101
by desai
Version bump to 0.8.7.3 (for fedora extras inclusion) |
15 |
Name: bcfg2 |
616.2.396
by desai
Version bump to 0.9.4pre1 |
16 |
Version: 0.9.4 |
1
by desai
last step of repo switches |
17 |
Release: %{release} |
616.2.101
by desai
Version bump to 0.8.7.3 (for fedora extras inclusion) |
18 |
Summary: Configuration management system |
19 |
||
20 |
Group: Applications/System |
|
21 |
License: BSD |
|
22 |
URL: http://trac.mcs.anl.gov/projects/bcfg2 |
|
616.2.476
by desai
Version bump to 0.9.4 (final) |
23 |
Source0: ftp://ftp.mcs.anl.gov/pub/bcfg/bcfg2-0.9.4.tar.gz |
616.2.101
by desai
Version bump to 0.8.7.3 (for fedora extras inclusion) |
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
25 |
||
26 |
BuildArch: noarch |
|
27 |
||
28 |
BuildRequires: python-devel |
|
616.2.408
by desai
Fix RPM spec for lxml (resolves Ticket #445) |
29 |
Requires: %{lxmldep} >= 0.9 |
1
by desai
last step of repo switches |
30 |
|
31 |
%description
|
|
616.2.101
by desai
Version bump to 0.8.7.3 (for fedora extras inclusion) |
32 |
Bcfg2 helps system administrators produce a consistent, reproducible, |
33 |
and verifiable description of their environment, and offers |
|
34 |
visualization and reporting tools to aid in day-to-day administrative |
|
35 |
tasks. It is the fifth generation of configuration management tools |
|
36 |
developed in the Mathematics and Computer Science Division of Argonne |
|
37 |
National Laboratory. |
|
38 |
||
39 |
It is based on an operational model in which the specification can be |
|
40 |
used to validate and optionally change the state of clients, but in a |
|
41 |
feature unique to bcfg2 the client's response to the specification can |
|
42 |
also be used to assess the completeness of the specification. Using |
|
43 |
this feature, bcfg2 provides an objective measure of how good a job an |
|
44 |
administrator has done in specifying the configuration of client |
|
45 |
systems. Bcfg2 is therefore built to help administrators construct an |
|
46 |
accurate, comprehensive specification. |
|
47 |
||
48 |
Bcfg2 has been designed from the ground up to support gentle |
|
49 |
reconciliation between the specification and current client states. It |
|
50 |
is designed to gracefully cope with manual system modifications. |
|
51 |
||
52 |
Finally, due to the rapid pace of updates on modern networks, client |
|
53 |
systems are constantly changing; if required in your environment, |
|
54 |
Bcfg2 can enable the construction of complex change management and |
|
55 |
deployment strategies. |
|
1
by desai
last step of repo switches |
56 |
|
57 |
%package -n bcfg2-server
|
|
58 |
Version: %{version} |
|
59 |
Summary: Bcfg2 Server |
|
60 |
Group: System Tools |
|
616.2.308
by desai
Version bump to 0.9.3pre2 |
61 |
Requires: bcfg2 |
616.2.442
by desai
bcfg2 spec patch from mbrady |
62 |
Requires: %{lxmldep} >= 1.2.1 |
462
by leggett
- made more generic for multiple platforms |
63 |
%if "%{_vendor}" == "redhat"
|
64 |
Requires: gamin-python |
|
65 |
%endif
|
|
66 |
||
1
by desai
last step of repo switches |
67 |
%description -n bcfg2-server
|
616.2.442
by desai
bcfg2 spec patch from mbrady |
68 |
Bcfg2 helps system administrators produce a consistent, reproducible, |
69 |
and verifiable description of their environment, and offers |
|
70 |
visualization and reporting tools to aid in day-to-day administrative |
|
71 |
tasks. It is the fifth generation of configuration management tools |
|
72 |
developed in the Mathematics and Computer Science Division of Argonne |
|
73 |
National Laboratory. |
|
74 |
||
75 |
It is based on an operational model in which the specification can be |
|
76 |
used to validate and optionally change the state of clients, but in a |
|
77 |
feature unique to bcfg2 the client's response to the specification can |
|
78 |
also be used to assess the completeness of the specification. Using |
|
79 |
this feature, bcfg2 provides an objective measure of how good a job an |
|
80 |
administrator has done in specifying the configuration of client |
|
81 |
systems. Bcfg2 is therefore built to help administrators construct an |
|
82 |
accurate, comprehensive specification. |
|
83 |
||
84 |
Bcfg2 has been designed from the ground up to support gentle |
|
85 |
reconciliation between the specification and current client states. It |
|
86 |
is designed to gracefully cope with manual system modifications. |
|
87 |
||
88 |
Finally, due to the rapid pace of updates on modern networks, client |
|
89 |
systems are constantly changing; if required in your environment, |
|
90 |
Bcfg2 can enable the construction of complex change management and |
|
91 |
deployment strategies. |
|
1
by desai
last step of repo switches |
92 |
|
93 |
%prep
|
|
616.2.476
by desai
Version bump to 0.9.4 (final) |
94 |
%setup -q -n bcfg2-0.9.4
|
1
by desai
last step of repo switches |
95 |
|
96 |
%build
|
|
462
by leggett
- made more generic for multiple platforms |
97 |
%{__python}%{pythonversion} setup.py build |
1
by desai
last step of repo switches |
98 |
|
99 |
%install
|
|
616.2.260
by desai
Spec fixes for SLES |
100 |
%{__python}%{pythonversion} setup.py install --root=%{buildroot} --record=INSTALLED_FILES --prefix=/usr |
616.2.143
by desai
RPM Spec patch from Mike Brady |
101 |
%{__install} -d %{buildroot}%{_bindir} |
102 |
%{__install} -d %{buildroot}%{_sbindir} |
|
103 |
%{__install} -d %{buildroot}%{_initrddir} |
|
104 |
%{__install} -d %{buildroot}%{_sysconfdir}/default |
|
105 |
%{__install} -d %{buildroot}%{_sysconfdir}/cron.daily |
|
106 |
%{__install} -d %{buildroot}%{_sysconfdir}/cron.hourly |
|
616.2.210
by desai
Version bump to 0.9.1a |
107 |
%{__install} -d %{buildroot}%{_prefix}/lib/bcfg2 |
616.2.143
by desai
RPM Spec patch from Mike Brady |
108 |
%{__mv} %{buildroot}/usr/bin/bcfg2* %{buildroot}%{_sbindir} |
109 |
%{__install} -m 755 debian/buildsys/common/bcfg2.init %{buildroot}%{_initrddir}/bcfg2 |
|
110 |
%{__install} -m 755 debian/buildsys/common/bcfg2-server.init %{buildroot}%{_initrddir}/bcfg2-server |
|
111 |
%{__install} -m 755 debian/bcfg2.default %{buildroot}%{_sysconfdir}/default/bcfg2 |
|
112 |
%{__install} -m 755 debian/bcfg2.cron.daily %{buildroot}%{_sysconfdir}/cron.daily/bcfg2 |
|
113 |
%{__install} -m 755 debian/bcfg2.cron.hourly %{buildroot}%{_sysconfdir}/cron.hourly/bcfg2 |
|
616.2.210
by desai
Version bump to 0.9.1a |
114 |
%{__install} -m 755 tools/bcfg2-cron %{buildroot}%{_prefix}/lib/bcfg2/bcfg2-cron |
1
by desai
last step of repo switches |
115 |
|
116 |
%clean
|
|
462
by leggett
- made more generic for multiple platforms |
117 |
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} || exit 2 |
1
by desai
last step of repo switches |
118 |
|
119 |
%files -n bcfg2
|
|
616.2.150
by desai
Spec patch from Mike Brady/Sumit Roy |
120 |
%defattr(-,root,root,-)
|
616.2.143
by desai
RPM Spec patch from Mike Brady |
121 |
%{_sbindir}/bcfg2
|
122 |
%{python_sitelib}/Bcfg2/*.py*
|
|
616.2.331
by desai
spec build fix |
123 |
%{python_sitelib}/Bcfg2/tlslite/*
|
616.2.143
by desai
RPM Spec patch from Mike Brady |
124 |
%{python_sitelib}/Bcfg2/Client/*
|
125 |
%{_mandir}/man1/*
|
|
126 |
%{_mandir}/man5/*
|
|
127 |
%{_initrddir}/bcfg2
|
|
128 |
%config(noreplace) %{_sysconfdir}/default/bcfg2 |
|
129 |
%{_sysconfdir}/cron.hourly/bcfg2
|
|
130 |
%{_sysconfdir}/cron.daily/bcfg2
|
|
616.2.210
by desai
Version bump to 0.9.1a |
131 |
%{_prefix}/lib/bcfg2/bcfg2-cron
|
1
by desai
last step of repo switches |
132 |
|
133 |
%post -n bcfg2-server
|
|
462
by leggett
- made more generic for multiple platforms |
134 |
/sbin/chkconfig --add bcfg2-server |
506
by desai
Version bump to 0.8.4 |
135 |
|
616.2.101
by desai
Version bump to 0.8.7.3 (for fedora extras inclusion) |
136 |
%files -n bcfg2-server
|
616.2.150
by desai
Spec patch from Mike Brady/Sumit Roy |
137 |
%defattr(-,root,root,-)
|
616.2.101
by desai
Version bump to 0.8.7.3 (for fedora extras inclusion) |
138 |
|
139 |
%{_initrddir}/bcfg2-server
|
|
140 |
||
141 |
%{python_sitelib}/Bcfg2/Server
|
|
142 |
||
616.2.358
by desai
Egg inclusion spec patch from mbrady |
143 |
%if "%{pythonversion}" == "2.5"
|
144 |
%{python_sitelib}/*egg-info
|
|
145 |
%endif
|
|
146 |
||
616.2.101
by desai
Version bump to 0.8.7.3 (for fedora extras inclusion) |
147 |
%{_datadir}/bcfg2
|
148 |
||
149 |
%{_sbindir}/bcfg2-admin
|
|
150 |
%{_sbindir}/bcfg2-build-reports
|
|
151 |
%{_sbindir}/bcfg2-info
|
|
152 |
%{_sbindir}/bcfg2-ping-sweep
|
|
153 |
%{_sbindir}/bcfg2-query
|
|
154 |
%{_sbindir}/bcfg2-repo-validate
|
|
155 |
%{_sbindir}/bcfg2-server
|
|
156 |
||
616.2.174
by desai
Fix missing file spec |
157 |
%{_mandir}/man8/*.8*
|
616.2.210
by desai
Version bump to 0.9.1a |
158 |
%dir %{_prefix}/lib/bcfg2 |
616.2.101
by desai
Version bump to 0.8.7.3 (for fedora extras inclusion) |
159 |
|
506
by desai
Version bump to 0.8.4 |
160 |
%changelog
|
616.2.210
by desai
Version bump to 0.9.1a |
161 |
* Fri Feb 2 2007 Mike Brady <mike.brady@devnull.net.nz> 0.9.1
|
162 |
- Removed use of _libdir due to Red Hat x86_64 issue. |
|
163 |
||
616.2.101
by desai
Version bump to 0.8.7.3 (for fedora extras inclusion) |
164 |
* Fri Dec 22 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.7.1-5
|
165 |
- Server needs client library files too so put them in main package |
|
166 |
||
167 |
* Wed Dec 20 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.7.1-4
|
|
168 |
- Yes, actually we need to require openssl |
|
169 |
||
170 |
* Wed Dec 20 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.7.1-3
|
|
171 |
- Don't generate SSL cert in post script, it only needs to be done on |
|
172 |
the server and is handled by the bcfg2-admin tool. |
|
173 |
- Move the /etc/bcfg2.key file to the server package |
|
174 |
- Don't install a sample copy of the config file, just ghost it |
|
175 |
- Require gamin-python for the server package |
|
176 |
- Don't require openssl |
|
177 |
- Make the client a separate package so you don't have to have the |
|
178 |
client if you don't want it |
|
179 |
||
180 |
* Wed Dec 20 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.7.1-2
|
|
181 |
- Add more documentation |
|
182 |
||
183 |
* Mon Dec 18 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.7.1-1
|
|
184 |
- First version for Fedora Extras |
|
506
by desai
Version bump to 0.8.4 |
185 |
|
186 |
* Fri Sep 15 2006 Narayan Desai <desai@mcs.anl.gov> - 0.8.4-1
|
|
187 |
- Initial log |
|
188 |