Commit Graph

92 Commits

Author SHA1 Message Date
Stephen Finucane 868096bb52 Retire cloud-init
This appears to be an unmaintained fork of the original code, which
lives elsewhere [1]. Kill it.

[1] https://github.com/cloud-init/cloud-init

Change-Id: I1f57197f1f67aa6adce152b5e4acc63a72277c6a
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2019-04-01 16:48:35 +01:00
Joshua Harlow 154a2ee413 Fix all the current brokeness
Add missing files and tweaks so that the automated
CI/flake8/pep8/docs/... and such work correctly.

Change-Id: I838b02bf0037569065b7c7914f4a68b92d7ebd6a
2015-04-01 11:54:46 -07:00
Scott Moser bfeb2aa9a5 use pbr for setup.py 2015-01-21 16:11:37 -05:00
Joshua Harlow e2b814881c Update with trunk and resolve conflicts 2014-11-25 11:46:10 -08:00
Joshua Harlow 8034c6cf4f Only use datafiles and initsys addon outside virtualenvs
To make it so that cloud-init is installable in a virtualenv
where it can be tested in an isolated scenario we need to avoid
using and including datafiles (which won't be written into the
virtualenv) and also avoid using our initsys helper class which
also adds on its own files when we are being ran from a virtualenv.
2014-10-29 17:12:31 -07:00
Joshua Harlow f1ff19ecf7 USR_LIB_EXEC varies depending on system 2014-10-17 16:11:32 -07:00
Scott Moser 09c732c07c merge from trunk 2014-09-02 12:18:21 -04:00
Scott Moser 6b2fc2034a further remove evidence of pylint.
This just removes comments '# pylint:' things and other code
remnents of pylint.
2014-08-26 15:53:41 -04:00
Harm Weites a21388fe5a fix: Syntax. 2014-08-23 12:10:30 +00:00
Scott Moser 6965c69665 setup.py: remove read_datafiles, use globals for ETC and USR 2014-08-22 16:43:32 -04:00
Harm Weites fdf11244ba fix: Don't create a directory that will never be used anyway. 2014-08-16 17:55:42 +00:00
Harm Weites 35236255a0 change: Install everything in the right location on both Linux (which
ofcourse already was good) and FreeBSD (which realy likes /usr/local
for this).
2014-08-10 11:50:19 +00:00
Harm Weites 695142260c fix: To install the new freebsd sysvinit scripts, accept a new
sysvinit_freebsd argument. Specifying sysvinit will install the RH
scripts, which is wrong.
2014-08-09 08:12:35 +00:00
Scott Moser 2bfeaf78c9 pep8 fixes (2 unrelated to this mp) 2014-07-24 09:06:16 -04:00
Scott Moser 63e7c22e43 remove print statement from setup.py 2014-07-24 08:53:54 -04:00
Dimitri John Ledkov 1737ed602a Merge systemd instlal paths. 2014-07-24 12:08:20 +01:00
Dimitri John Ledkov f3f7e60834 refactor redundant systemd_root 2014-07-24 11:57:17 +01:00
Dimitri John Ledkov 1158c24ed4 Use pkg-config 2014-07-24 11:54:10 +01:00
Dimitri John Ledkov 2b37d0d021 fix ups 2014-07-23 16:48:14 +01:00
Dimitri John Ledkov 8811469c1b refactor 2014-07-23 15:54:46 +01:00
Dimitri John Ledkov 2b2f57d9d8 Modernise packaging, and allow multiple init system installation (based on smoser pastebins). 2014-07-23 15:47:16 +01:00
Dimitri John Ledkov c495290e5e Make systemd root installation dir appropriate for debian-like systems, else fallback to universally acceptable one. 2014-07-23 14:54:14 +01:00
Scott Moser b9fa90b977 pep8/pylint fixes
tools/run-pep8 wasn't checking all python files.
tools/run-pylint wasnt checking bin/cloud-init

fixed resultant pep8 issues after finding them.
2014-01-24 14:47:28 -05:00
Juerg Haefliger 06f05751cb move redhat sysvinit scripts 2013-07-19 09:23:53 +02:00
Scott Moser ef1eaf7ca6 pylint fixes
a.) appease pylint on raring, as it doesn't like subprocess
    pylint: 0.26.0-1ubuntu1
    This is mentioned in comments at http://www.logilab.org/ticket/46273

b.) tests/unittests/test_util.py:
    the mountinfo lines are longer than 80 chars.
    Just disable long lines complaints for this file.
2013-03-19 09:06:31 -04:00
Vlastimil Holer 7f7725a340 New option INIT_SYSTEM=sysvinit_deb for Debian /etc/ directories 2013-02-21 15:07:54 +01:00
Vlastimil Holer c6a7f9770b Modify init-scripts to be able to run both on RHEL and Debian. 2013-02-21 14:23:53 +01:00
Scott Moser 87dc9c19eb pylint: setup.py 2012-08-09 13:06:04 -04:00
Joshua Harlow 26b36823a5 Fix the initsys variable, setuptools/distools will automatically assign
to a variable of the name 'init_system' instead due to the param name being
'init-system'.
2012-07-06 14:13:19 -07:00
Scott Moser 833740407e setup.py: rename "daemon type" to "init system"
This brings with it other changes, and also makes an install
install all of the requisite init files. (ie, cloud-init needs the -local and
the non-local)
2012-07-06 17:03:11 -04:00
Joshua Harlow d043d304f4 Add the ability to have setup.py have a CLI option that specifies the daemon type
which then later affects the installation of certain config files, which then
can be extracted during package creation as needed.
2012-07-03 16:04:58 -07:00
Joshua Harlow 545fd9c3b9 1. Fixup the setup.py to not include custom startup scripts, let the packaging solutions handle these
2. Get the cloud-init specfile working for the init.d case (with the right postun and post and install sections)
   a. It works!!!
2012-07-02 15:40:51 -07:00
harlowja fc6ebd5aec Copy the tiny_p from the packager code 2012-06-26 07:56:54 -07:00
harlowja aa530fa2bd Add all the upstart/systemd/init.d files.
Let the package building solutions figure out exactly which 
of these they wish to delete or wish to take, since setup.py
can not know it just has to install them all.
2012-06-26 07:47:29 -07:00
Joshua Harlow c829485aeb Use the standard utils now in tools for reading requires/dependencies/versions. 2012-06-25 16:59:54 -07:00
Joshua Harlow ca9c402c25 Use the new tool created to get the version. 2012-06-25 13:08:20 -07:00
Joshua Harlow f70046b813 Add a license and use find_packages to locate the needed packages 2012-06-20 17:45:45 -07:00
Joshua Harlow 0e7181d286 Fix secondary config subdir name 2012-06-20 17:34:36 -07:00
Joshua Harlow 812971e7dc Use setuptools instead of disttools, this seems to be needed for requirements to work 2012-06-20 17:32:03 -07:00
Joshua Harlow 6a1e0d2426 1. Add a comment that the upstart dir should probably be put elsewhere sometime (in a distro specific build?)
since not all distros fully support upstart that is in config here or even have upstart in general at all (for various reasons)
2. Found out that we really do need to specify these 2 packages due to the following
   a. The cloudinit root needs to be a package (pretty obvious)
   b. Not so obvious is the cloudinit.conf also needs to be a package so that its modules can be directly imported without 
      referring to the module name.
2012-06-20 16:34:09 -07:00
Scott Moser d221d29fb2 update tools/bddeb and debian.trunk packaging
* debian.trunk/changelog: increase debian version to '1' to avoid lintian
   error
 * debian.trunk/control: bump standards version
 * debian.trunk/rules: remove cloud-init-run-module symlink (been deprecated
   for some time)
 * tools/bddeb: read version from ChangeLog rather than setup.py
2012-06-20 16:24:24 -04:00
Joshua Harlow 473cc39708 Update with parsing of a requirments file, changelog for this new refactoring stuff and setup.py for both of those. 2012-06-11 22:15:11 -07:00
Scott Moser 57fb3dc426 move Z99-cloud-locale-test.sh out of profile.d to tools
Just to avoid an entry in top level directory, get rid of profile.d there
and instead move Z99-cloud-locale-test.sh -> tools/Z99-cloud-locale-test.sh
2012-04-04 13:22:06 -04:00
Ben Howard 9e1855d3c3 Added a profile.d message to inform people about invalid locale setting. 2012-03-30 17:22:12 -06:00
Scott Moser eb7ea6c08c replace cloud-init-run-module with cloud-init-per
This replaces cloud-init-run-module (which was probably rarely or never used)
with 'cloud-init-per' which does basically the same thing, but doesn't
support "modules".
2011-12-20 11:39:46 -05:00
Scott Moser f0465dfacf setup.py: move version to 0.6.3 2011-12-16 12:05:48 -05:00
Scott Moser 72acffaf47 update version strings 0.6.1 to 0.6.2 2011-03-21 22:09:31 -04:00
Scott Moser 28ffcfc820 change 0.6.0 -> 0.6.1 2011-02-18 15:09:21 -05:00
Scott Moser 7348735244 change from yaml+'#include' to yaml + config.d format for cloud.cfg 2011-02-17 15:48:41 -05:00
Scott Moser 37993eb2cf do not install cloud-init-query, it isn't really functional 2011-01-27 14:06:21 -05:00