forked from griddynamics/openstack-rhel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openstack-nova-cc-config.spec
134 lines (96 loc) · 4.35 KB
/
openstack-nova-cc-config.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
Name: openstack-nova-cc-config
Version: 2011.3
Release: 4
Summary: OpenStack Compute (nova) - Cloud Controller config
Group: Development/Languages
License: ASL 2.0
Vendor: Grid Dynamics Consulting Services, Inc.
URL: http://openstack.org/projects/compute/
Source0: %{name}.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl
Conflicts: openstack-nova-compute-config = %{version}
Requires: openstack-nova = %{version}
Requires: MySQL-python
Requires: mysql-server
Provides: openstack-nova-config = %{version}
%description
Configuration files for Nova as Cloud Controller.
%prep
#setup -q -n nova-%{version}
%build
#{__python} setup.py build
%install
rm -rf %{buildroot}
# Setup directories
install -d -m 755 %{buildroot}%{_sysconfdir}/nova
# Install config files
install -p -D -m 600 %{SOURCE0} %{buildroot}%{_sysconfdir}/nova/nova.conf
%clean
rm -rf %{buildroot}
%pre
getent group nova >/dev/null || groupadd -r nova
getent passwd nova >/dev/null || \
useradd -r -g nova -G nova,nobody,qemu -d %{_sharedstatedir}/nova -s /sbin/nologin \
-c "OpenStack Nova Daemons" nova
exit 0
%files
%config(noreplace) %attr(0600, nova, nobody) %{_sysconfdir}/nova/nova.conf
%changelog
* Wed Jun 29 2011 Andrey Brindeyev <[email protected]> - 2011.3-3
- Release bump for Diablo-2
- Fixed ownership of /etc/nova/nova.conf
* Wed May 11 2011 Andrey Brindeyev <[email protected]> - 2011.3-2
- Secured permissions and ownership of /etc/nova/nova.conf
* Wed Apr 27 2011 Andrey Brindeyev <[email protected]> - 2011.3-1
- Finally bumped version to Diablo
* Wed Apr 13 2011 Andrey Brindeyev <[email protected]> - 2011.2-4
- Added --logdir
* Tue Apr 12 2011 Andrey Brindeyev <[email protected]> - 2011.2-3
- Added vncproxy options
* Sun Apr 10 2011 Andrey Brindeyev <[email protected]> - 2011.2-2
- Added --lock_path
* Tue Mar 15 2011 Andrey Brindeyev <[email protected]> - 2011.2-1
- Pre-Cactus version
* Wed Mar 02 2011 Andrey Brindeyev <[email protected]> 2011.1.1-1
- Release 2011.1.1
* Fri Feb 25 2011 Andrey Brindeyev <[email protected]> 2011.1-17
- Switched back to nova.image.s3.S3ImageService instead of glance
- Use of qcow2 images enabled by default
* Mon Feb 07 2011 Andrey Brindeyev <[email protected]> 2011.1-16
- Added --state-path
* Mon Feb 07 2011 Andrey Brindeyev <[email protected]> 2011.1-15
- Bexar release
* Wed Jan 26 2011 Andrey Brindeyev <[email protected]> 2011.1-14
- Changed dep to mysql-server
* Wed Jan 26 2011 Andrey Brindeyev <[email protected]> 2011.1-13
- Added dependencies on MySQL-python and mysql - default DB for running Nova on
more than one host
* Fri Jan 21 2011 Andrey Brindeyev <[email protected]> 2011.1-12
- Updated configs
* Mon Jan 11 2011 Andrey Brindeyev <[email protected]> - 2011.1-11
- Changed --logfile to --logdir
- Moved all config files to one /etc/nova/nova.conf
* Thu Dec 16 2010 Andrey Brindeyev <[email protected]> - 2011.1-10
- Added Conflicts for openstack-nova-compute-config package
* Tue Dec 14 2010 Andrey Brindeyev <[email protected]> - 2011.1-9
- --dhcpbridge=/usr/bin/nova-dhcpbridge
* Tue Dec 14 2010 Andrey Brindeyev <[email protected]> - 2011.1-8
- --instances_path=/var/lib/nova/instances
* Mon Dec 13 2010 Andrey Brindeyev <[email protected]> - 2011.1-7
- Added missing options (again)
* Mon Dec 13 2010 Andrey Brindeyev <[email protected]> - 2011.1-6
- Refactored specfile to use one source file instead of many
- Added missing options
* Wed Dec 08 2010 Andrey Brindeyev <[email protected]> - 2011.1-5
- Added /etc/nova/nova.conf
* Wed Dec 01 2010 Andrey Brindeyev <[email protected]> - 2011.1-4
- Added missed --cc_host parameter
* Wed Dec 01 2010 Andrey Brindeyev <[email protected]> - 2011.1-3
- Changed configs to multiple server setup in accordance with Wiki page:
http://wiki.openstack.org/NovaInstall/MultipleServer
* Wed Dec 01 2010 Andrey Brindeyev <[email protected]> - 2011.1-2
- Added version to Provides
* Wed Dec 01 2010 Andrey Brindeyev <[email protected]> - 2011.1-1
- Initial build