[cobbler: 1/3] New upstream release - 2.4.0-beta1

jimi jimi at fedoraproject.org
Thu Oct 11 23:32:14 UTC 2012


commit e7a702bf24757c6a73d38e5ad1a83865df0304a9
Author: James Cammarata <jimi at sngx.net>
Date:   Thu Oct 11 17:47:44 2012 -0500

    New upstream release - 2.4.0-beta1

 cobbler.spec |  216 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 212 insertions(+), 4 deletions(-)
---
diff --git a/cobbler.spec b/cobbler.spec
index 08f5b4f..063f06d 100644
--- a/cobbler.spec
+++ b/cobbler.spec
@@ -7,8 +7,8 @@ Summary: Boot server configurator
 Name: cobbler
 License: GPLv2+
 AutoReq: no
-Version: 2.2.3
-Release: 2%{?dist}
+Version: 2.4.0
+Release: beta1%{?dist}
 Source0: http://shenson.fedorapeople.org/cobbler/cobbler-%{version}.tar.gz
 Group: Applications/System
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
@@ -25,6 +25,7 @@ Requires: httpd
 Requires: tftp-server
 Requires: mod_wsgi
 Requires: createrepo
+Requires: python-augeas
 Requires: python-cheetah
 Requires: python-netaddr
 Requires: python-simplejson
@@ -79,8 +80,8 @@ other applications.
 test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install --optimize=1 --root=$RPM_BUILD_ROOT $PREFIX
 mkdir -p $RPM_BUILD_ROOT/etc/httpd/conf.d
-install -p -m 644 config/cobbler.conf $RPM_BUILD_ROOT/etc/httpd/conf.d/
-install -p -m 644 config/cobbler_web.conf $RPM_BUILD_ROOT/etc/httpd/conf.d/
+mv config/cobbler.conf $RPM_BUILD_ROOT/etc/httpd/conf.d/
+mv config/cobbler_web.conf $RPM_BUILD_ROOT/etc/httpd/conf.d/
 
 mkdir -p $RPM_BUILD_ROOT/var/spool/koan
 
@@ -238,6 +239,7 @@ test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
 %{python_sitelib}/cobbler
 
 %config(noreplace) /var/lib/cobbler
+%exclude /var/lib/cobbler/webui_sessions
 
 /var/log/cobbler
 /var/www/cobbler
@@ -256,6 +258,8 @@ test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
 /tftpboot/images
 %endif
 
+/usr/share/augeas/lenses/cobblersettings.aug
+
 %doc AUTHORS CHANGELOG README COPYING
 
 %package -n koan
@@ -281,6 +285,7 @@ of an existing system.  For use with a boot-server configured with Cobbler
 %dir /var/spool/koan
 %dir /var/lib/koan/config
 %{_bindir}/koan
+%{_bindir}/ovz-install
 %{_bindir}/cobbler-register
 %{python_sitelib}/koan
 
@@ -329,6 +334,209 @@ sed -i -e "s/SECRET_KEY = ''/SECRET_KEY = \'$RAND_SECRET\'/" /usr/share/cobbler/
 /var/www/cobbler_webui_content/
 
 %changelog
+* Thu Oct 11 2012 James Cammarata <jimi at sngx.net> 2.4.0-beta1
+- Beta Release 1 of 2.4.0
+- BUGFIX - Issue #329 - Systems no longer allow an add with an image for a
+  parent (jimi at sngx.net)
+- BUGFIX - Issue #327 - revert 5afcff7 and fix in a more sane way
+  (jimi at sngx.net)
+- Removed some duplicates created by reapplying a patch (jimi at sngx.net)
+- BUGFIX - Issue #267 - old python-virtinst does not support --boot
+  (jimi at sngx.net)
+- Revise install_post_puppet.py to use newer puppet syntax
+  (stephen at esstec.co.uk)
+- Get rid of deprecated Puppet syntax so that cobbler works with Puppet 3.0
+  (stephen at esstec.co.uk)
+- Added ubuntu to dist check for named.conf location
+  (daniel.givens at rackspace.com)
+- Expanded automatic determination of tftpboot path, isc dhcp and bind service
+  names and config files based on distro. (daniel at givenstx.com)
+- Make the service name for DHCP and DNS restarts configurable for better
+  portable between distros. (daniel.givens at rackspace.com)
+- Serial based on formatted date and revision number (alevy at mobitv.com)
+- Correct undefined variable name (jbd at jbdenis.net)
+- fix merge Issue #252 BUGFIX and #262 (daikame at gmail.com)
+- Add check for valid driver_type before executing qemu-img (jimi at sngx.net)
+- fix mistake remove import. (daikame at gmail.com)
+- move exec method to utils.py, and catch unexpected exception.
+  (daikame at gmail.com)
+- not check driver type on create method. (daikame at gmail.com)
+- BUGFIX - Issue #305 - Incorrect Kickstart file when gPXE enabled
+  (jimi at sngx.net)
+- BUGFIX - Issue #304 - Cobbler does not store values correctly for ksmeta
+  Objects were getting flattened improperly, so it was losing escapes/quoting
+  for values with spaces (jimi at sngx.net)
+- add vmdk and raw file create support. (daikame at gmail.com)
+- BUGFIX - Issue #267 - old python-virtinst does not support --boot
+  (jimi at sngx.net)
+- Modified spec version/release to be 2.4.0-beta-1 (jimi at sngx.net)
+- Initial commit for mysql backend support (jimi at sngx.net)
+- BUGFIX - Issue #277 - move webroot to /srv/www for debian/ubuntu
+  (jimi at sngx.net)
+- FEATURE - adding 'zonetype' variable for DNS zone rendering (jimi at sngx.net)
+- BUGFIX - Issue #278 - cobbler import fails for ubuntu images due to rsync
+  args (jimi at sngx.net)
+- BUGFIX - Issue #285 - update cobbler man page for incorrect options
+  (jimi at sngx.net)
+- BUGFIX - Issue #241 - adding distro with blank name via XMLRPC should not
+  work (jimi at sngx.net)
+- BUGFIX - Issue #272 - allow anamon to log entries when building systems based
+  on profiles (no corresponding system record) (jimi at sngx.net)
+- BUGFIX - Issue #252 - fuzzy match on lvs name returns a false match
+  preventing LV creation (jimi at sngx.net)
+- BUGFIX - Issue #287 - patch to allow templar to work without a config, which
+  was breaking the tftpd.py script (jimi at sngx.net)
+- add qcow2 driver type (daikame at gmail.com)
+- fix koan qemu-machine-type param test. (daikame at gmail.com)
+- Only cosmetic cleanup - removed commands that were commented out, added
+  spaces for more clear code (flaks at bnl.gov)
+- Modified sample.seed to make use kickstart_start and kickstart_done snippets
+  for debian. As a result the following cobbler features work for debian:   -
+  prevent net boot looping   - cobbler status reflects debian installations   -
+  preseed file is downloaded a nd saved on the installed system as
+  /var/log/cobbler.seed Also made download_config_files_deb snippet, make use
+  of late_command New post_run_deb snippet allows to execute post installation
+  script. (flaks at bnl.gov)
+- Some changes for testing (jimi at sngx.net)
+- Minor fix for urlparse on older pythons (>2.5) (jimi at sngx.net)
+- FEATURE - Issue #253 - Use PEERDNS=no for DHCP interfaces when name servers
+  are specified (jimi at sngx.net)
+- install-tree for debian/ubuntu modified to take tree= from meta data. http,
+  ftp and nfs remote tree locations supported (flaks at bnl.gov)
+- add support of custom logical volume name (daikame at gmail.com)
+- Partial revert of 87acfc8b, and a minor change to bring the koan extra-args
+  inline with the PXE args (jimi at sngx.net)
+- New default preseed, and a few minor changes to make ubuntu auto install work
+  better (jimi at sngx.net)
+- Add support for qemu machine type to emulate (option --qemu-machine-type).
+  (isaoshimizu at gmail.com)
+- Modern x86 kernels have 2048 char limit and this is needed to support
+  configurations with kickstart+NIC kernel params. Otherwise koan refuses to
+  accept the param list. (oliver at cpan.org)
+- Allow koan's -S option to work for SuSE breed. Also remove -S for breed=None,
+  as I assume "Red Hat" is not a sane assumption for all Distros without a
+  breed. (oliver at cpan.org)
+- Only add a udev net rule for an interface if the MAC is set. This fixes
+  behaviour whereby a dummy udev rule at eth0 forces the first NIC to get eth1
+  post-install. (oliver at cpan.org)
+- Make the domainname setting be the full eth0 DNS Name, minus the first dotted
+  part (and not the FQDN). (oliver at cpan.org)
+- BUGFIX - Issue #252 - fuzzy match on lvs name returns a false match
+  preventing LV creation (jimi at sngx.net)
+- Added back in the filesystem loader. (oliver at cpan.org)
+- BUGFIX - Issue #247 - Reposync does not work from the web interface
+  (jimi at sngx.net)
+- BUGFIX - Issue #246 - CentOS 5.x install fence_tools to /sbin/
+  (jimi at sngx.net)
+- Fix post_report trigger typo (jimi at sngx.net)
+- Some fixes for koan running with an old virt-install (jimi at sngx.net)
+- Define pxe_menu_items variable when creating PXE files for systems
+  (jthiltges2 at unl.edu)
+- Refactor PXE and GRUB menu item creation into a separate function
+  (jthiltges2 at unl.edu)
+- django 1.4 and later have deprecated the old TEMPLATE_LOADERS and replaced
+  them with a new app_directories.Loader (oliver at cpan.org)
+- Add support for UEFI boot to the subnet, but not for defined systems yet.
+  (erinn.looneytriggs at gmail.com)
+- Fix redhat import whitelist for Fedora 17 (jimi at sngx.net)
+- Fix unittest on the case of haven't virt-install libs. (daikame at gmail.com)
+- os_version for debian should be similar to ubunty for virt-install to work
+  changed tree in app.py so that I can use debian mirror different from cobbler
+  server (flaks at bnl.gov)
+- fedora 17 changed the output of ifconfig command. This will make IFNAME set
+  in snippets again (flaks at bnl.gov)
+- remove edit for now (flaks at bnl.gov)
+- Fixed snippets for bonded_bridge_slave and a few other fixes for koan/web GUI
+  (jimi at sngx.net)
+- Initial support for bonded_bridge_slave type. TODO: modifying snippets to
+  actually make it work... (jimi at sngx.net)
+- The webui_sessions directory belongs only to cobbler-web
+  (chutzimir at gmail.com)
+- RPM: put cobbler*.conf files only in /etc/httpd/conf.d
+  (cristian.ciupitu at yahoo.com)
+- better fix for pull request #228 (jorgen.maas at gmail.com)
+- make rpms failed because the misc/ directory containing the augeas lense
+  could not be found. this simple diff fixes that. (jorgen.maas at gmail.com)
+- Ubuntu actually requires auto=true in kopts See
+  http://serverfault.com/a/144290/39018 (ekirpichov at gmail.com)
+- Whitespace cleanup for the new openvz stuff (jimi at sngx.net)
+- Remove dead code (useless imports) (cristian.ciupitu at yahoo.com)
+- BUGFIX extra-args option problems (daikame at gmail.com)
+- FIX koan virt-install tests. (daikame at gmail.com)
+- added debian support to prevent net boot looping (flaks at bnl.gov)
+- README.openvz: - added (nvrhood at gmail.com)
+- scripts/ovz-install: - added support for "services" kickstart option -
+  corrected repos and installation source processing (nvrhood at gmail.com)
+- cobbler.spec, setup.py: - added scripts/ovz-install (nvrhood at gmail.com)
+- koan/openvzcreate.py, scripts/ovz-install: - changes in copyright notice
+  (nvrhood at gmail.com)
+- koan/app.py: - bug in koan: size of freespace on VG expressed as float with
+  comma, but need fload with point (nvrhood at gmail.com)
+- koan/app.py: - added type "openvz" (nvrhood at gmail.com)
+- cobbler/collection.py: - openvz containers doesn't need to boot from PXE, so
+  we prevent PXE-menu creation for such profiles. (nvrhood at gmail.com)
+- cobbler/item_profile.py, cobbler/utils.py: - added "openvz" virtualization
+  type (nvrhood at gmail.com)
+- cobbler/item_system.py: - added openvz for virt_type (nvrhood at gmail.com)
+- [BUGFIX] template errors can hit an exception path that references an
+  undefined variable (jimi at sngx.net)
+- If the call to int() fails, inum has no value, thus the reference to inum in
+  the except clause causes an UnboundLocalError when it tries to reference
+  inum. (joshua at azariah.com)
+- Add new ubuntu (alpha) version to codes.py (jorgen.maas at gmail.com)
+- Not all remove current ifcfg- post_install_network_config (me at n0ts.org)
+- Update systemctl script to resolve some issues (jimi at sngx.net)
+- More spec fixes (jimi at sngx.net)
+- Removing replicate_use_default_rsync_options setting and setting
+  replicate_rsync_options to existing rsync default.  Issue #58
+  (john at julienfamily.com)
+- Commit for RFE: Expose rsync options during replication.  Issue #58
+  (john at julienfamily.com)
+- Yet more HTML/CSS fixes, cleaning up some overly large inputs caused by other
+  CSS changes (jimi at sngx.net)
+- More HTML/CSS improvements for new weblayout (jimi at sngx.net)
+- CSS improvements for the tabbed layout (jimi at sngx.net)
+- Fix for settings edit using the new tab format (jimi at sngx.net)
+- Added a cancel button to replace the reset button (jimi at sngx.net)
+- Fix saving of multiselect fields (jimi at sngx.net)
+- Modification to generic_edit template to use tabs for categories plus some
+  miscellaneous cleanup (jimi at sngx.net)
+- Adding an example line for redhat imports to the whitelist file
+  (jimi at sngx.net)
+- Another minor fix for suse imports - fixing up name when using --available-as
+  (already done in other import modules) - allowing multiple arch imports (also
+  already done in other imports) (jimi at sngx.net)
+- Some fixups for suse using --available-as (jimi at sngx.net)
+- Fix for import when using --available-as - currently rsyncs full remote tree,
+  changing that to only import files in a white list - some modifications to
+  import modules to clean some things up and make available-as work better -
+  fix in utils.py for path_tail, which was not working right and appending the
+  full path (jimi at sngx.net)
+- Run the same sed command on the default distributed config file to ensure
+  consistent indentation (jimi at sngx.net)
+- Add setting to enable/disable dynamic settings changes Adding
+  cobblersettings.aug to distributed files, since we need a copy that doesn't
+  insert tabs Added a "cobbler check" that checks if dynamic settings is
+  enabled and prints a sed command to cleanup the settings file spacing/indents
+  (jimi at sngx.net)
+- Change cli command "settings" to "setting" to match other commands (which are
+  not plurarlized) (jimi at sngx.net)
+- Removing commented-out try/except block in config.py, didn't mean to commit
+  this (jimi at sngx.net)
+- Fixed/improved CLI reporting for settings (jimi at sngx.net)
+- Added support for validating setting type when saving Also fixed up the
+  augeas stuff to save lists and hashes correctly (jimi at sngx.net)
+- Fix for incorrect redirect when login times out when looking at a setting
+  edit (jimi at sngx.net)
+- Dynamic settings edit support for the web GUI (jimi at sngx.net)
+- Added ability to write settings file via augeas (jimi at sngx.net)
+- Initial support for modifying settings live Changed settings do not survive a
+  reboot and revert to what's in /etc/cobbler/settings TODO:  * report --name
+  show a single setting  * validate settings based on type (string, list, bool,
+  etc.)  * web support for editing  * persisting settings after change
+  (jimi at sngx.net)
+- Branch for 2.4.0, updated spec and setup.py (jimi at sngx.net)
+
 * Sun Jun 17 2012 James Cammarata <jimi at sngx.net> 2.2.3-2
 - [BUGFIX] re-enable writing of DHCP entries for non-pxeboot-enabled systems
   unless they're static (jimi at sngx.net)


More information about the scm-commits mailing list