aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-extended/cloud-init
AgeCommit message (Collapse)Author
2020-11-14cloud-init: remove recipeBruce Ashfield
Support has been moved to meta-virt, so we drop this older recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22openstack: packages: update for python3Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2017-01-09chef: remove the use of chefMark Asselstine
The use of chef was never complete, had isses with updating binary database files and had a cumbersome implementation. Since we are using Ansible in meta-overc we are dropping the use of chef here and will look to being at par with meta-overc by using Ansible if/when we get time to look at runtime configuration in meta-cloud-services. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-12-21housekeeping: replace deprecated base_containsMark Asselstine
Fixes: base_contains is deprecated, please use bb.utils.contains instead. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-20cloud-init: fix installed-vs-shipped issue by creating a separate packageXulin Sun
This solves the following issue by creating a separate package to put the below files: QA Issue: cloud-init: Files/directories were installed but not shipped in any package: /lib /lib/systemd /lib/systemd/system /lib/systemd/system/cloud-init.service /lib/systemd/system/cloud-config.target /lib/systemd/system/cloud-config.service /lib/systemd/system/cloud-init-local.service /lib/systemd/system/cloud-final.service Signed-off-by: Xulin Sun <xulin.sun@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-04-23cloud-init: fix 64bit librarieswruser
We need to ensure that the cloud-init to install in the correct location (/usr/lib64) Signed-off-by: Eddy Raineri <eddy.raineri@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-04-14cloud-init: update to 0.7.6Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-21QA: fix build and runtime warningsBruce Ashfield
oe-core now warns on detected missing runtime and build time warnings. So we update our recipes to have these missingn deps (largely bash). Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-29housekeeping: Add a non-numeric PR prefix to allow PRINC in bbappendsMark Asselstine
Although the use of PRINC is deprecated in later versions of Yocto it may still be used and if you are using this layer with older Yocto it is recommended for use in bbappends. It is therefore expected to work. PRINC expects a non-numeric prefix followed by a numeric value, as can be seen in base.bbclass pr_prefix = re.search("\D+",pr) prval = re.search("\d+",pr) if pr_prefix is None or prval is None: bb.error("Unable to analyse format of PR variable: %s" % pr) Failing to stick to this convention yields a parsing error when you attempt to use PRINC: ERROR: Unable to analyse format of PR variable Adding the non-numeric prefix allows PRINC use in bbappends to function correctly. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2014-09-26openstack: add support for openstackchef class to servicesMustapha Lansana
Openstackchef enables us to recreate configuration files for services in an openstack installation. It does this by creating template file(s) out of configuration file(s) exposed to the class by services. The following services are inheriting the openstack class and then exposing a set of configuration files to the class. These services expose their configuration files to openstackchef by assigning them to the variable CHEF_SERVICES_CONF_FILES. The files are assumend to have been installed in the image directory under the service's WORKDIR. At build-time, openstackchef makes chef-solo templates out of the registered files. And at run-time, the deploychef package makes a call to chef-solo, which in-turn use the template files to recreate the registered configuration files. For legacy reasons, the string OPENSTACKCHEF_ENABLED is defined in openstackchef class, but it can be overwritten in a .bb, .class, .bbappend or local.conf file to an empty string when openstackchef support is not desired. This enables all of these services to be built without openstackchef support. In addition, it prevents the recipes from substituting the placeholders in their configuration files when inheriting openstackchef. Signed-off-by: Mustapha Lansana <Mustapha.Lansana@windriver.com>
2014-06-16cloud-init: install to correct target directoryKeith Holman
The setup.py script that is included with the cloud-init code is setup to install files into the "/usr/lib" directory. On 64-bit machines the target directory should be "/usr/lib64". This generates a warning when using bitbake. This fix performs a search and replace on the setup.py file to set the correct output directory. This fix also adds a symbolic link to each script from the /etc/cloud directory to make the scripts available from a more obvious location. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
2014-05-26sysklogd: add syslog user and group and add dependencyKeith Holman
Some OpenStack components expect the system to contain a syslog user for logging purposes and fail if one doesn't exist. This fix adds the syslog user and group within the sysklogd package since it responsible for the system logging capabilities of the system. This fix also adds a dependency between the package requiring the syslog user to exist. Signed-off-by: Keith Holman <Keith.Holman@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-03-11cloud-init: create skeleton packageBruce Ashfield
This creates a basic/skeleton cloud-init package that has the following properties: - working sysvinit scripts - Wind River distro definition - baseline cloud.cfg with no data source and "hands off" configuration Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>