Accepting request 445795 from Cloud:Tools

1

OBS-URL: https://build.opensuse.org/request/show/445795
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=32
This commit is contained in:
Dominique Leuenberger 2017-01-21 23:26:12 +00:00 committed by Git OBS Bridge
commit 81acd45fdf
3 changed files with 21 additions and 5 deletions

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Dec 13 12:42:18 CET 2016 - kukuk@suse.de
- fix syntax error in datasource LocalDisk (fix got somehow lost)
-------------------------------------------------------------------
Mon Dec 12 12:47:09 UTC 2016 - dmueller@suse.com
- adjust license (as of 0.7.8 AGPL-3.0 was added)
-------------------------------------------------------------------
Mon Dec 12 11:25:03 UTC 2016 - dmueller@suse.com
- fix unintentional edit in last change again
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 9 09:50:50 UTC 2016 - jgleissner@suse.com Fri Dec 9 09:50:50 UTC 2016 - jgleissner@suse.com

View File

@ -14,11 +14,13 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# change this whenever config changes incompatible
%global configver 0.7
Name: cloud-init Name: cloud-init
Version: 0.7.8 Version: 0.7.8
Release: 0 Release: 0
License: GPL-3.0 License: GPL-3.0 and AGPL-3.0
Summary: Cloud node initialization tool Summary: Cloud node initialization tool
Url: http://launchpad.net/cloud-init/ Url: http://launchpad.net/cloud-init/
Group: System/Management Group: System/Management
@ -97,7 +99,7 @@ Requires: python-six
Requires: python-xml Requires: python-xml
Requires: sudo Requires: sudo
Requires: util-linux Requires: util-linux
Requires: cloud-init-config = %{version} Requires: cloud-init-config = %configver
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define docdir %{_defaultdocdir}/%{name} %define docdir %{_defaultdocdir}/%{name}
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
@ -140,8 +142,7 @@ according to the fetched configuration data from the admin node.
%package config-suse %package config-suse
Summary: Configuration file for Cloud node initialization tool Summary: Configuration file for Cloud node initialization tool
Requires: cloud-init = %{version} Provides: cloud-init-config = %configver
Provides: cloud-init-config = %{version}
Group: System/Management Group: System/Management
Conflicts: otherproviders(cloud-init-config) Conflicts: otherproviders(cloud-init-config)

View File

@ -41,7 +41,7 @@
+ return "%s [seed=%s][dsmode=%s]" % (root, self.seed, self.dsmode) + return "%s [seed=%s][dsmode=%s]" % (root, self.seed, self.dsmode)
+ +
+ def get_data(self): + def get_data(self):
+ if not os.path.isdir('/cloud-init-config') + if not os.path.isdir('/cloud-init-config'):
+ return False + return False
+ +
+ defaults = {"instance-id": DEFAULT_IID} + defaults = {"instance-id": DEFAULT_IID}