Commit graph

21 commits

Author SHA1 Message Date
Carlos Meza
1ec736038c pylint E1608(old-octal-literal) 2018-04-09 22:27:43 -07:00
Anders Ingemann
a40c639c3c
Move some package adding tasks into the preparation phase 2017-04-15 10:01:27 +02:00
Nicolas Braud-Santoni
90da634226
Systematically use rel_path for relative paths 2016-09-12 19:11:20 +02:00
Anders Ingemann
cf6234bafd Split grub config into small tasks
The way boot options for linux and config params for grub
were configured gave rise to quite a few bugs.
The configuration has now been abstracted so that
options can be added without interfering with the work
of other tasks (no more sed_i!)
2016-06-04 18:48:54 +02:00
Anders Ingemann
f62c8ade99 Convert indentation from tabs to spaces (4)
Up until now I didn't see the point of using spaces for indentation.
However, the previous commit (a18bec3) was quite eye opening.
Given that python is an indentation aware language, the amount of
mistakes that went unnoticed because tabs and spaces were used
at the same time (tabs for indentation and spaces for alignment)
were unacceptable.

E101,W191 have been re-enable in the tox flake8 checker and
the documentation has been modified accordingly.

The following files have been left as-is:
* bootstrapvz/common/assets/extlinux/extlinux.conf
* bootstrapvz/common/assets/init.d/expand-root
* bootstrapvz/common/assets/init.d/generate-ssh-hostkeys
* bootstrapvz/common/assets/init.d/squeeze/generate-ssh-hostkeys
* bootstrapvz/plugins/docker_daemon/assets/init.d/docker
* bootstrapvz/providers/ec2/assets/bin/growpart
* bootstrapvz/providers/ec2/assets/grub.d/40_custom
* bootstrapvz/providers/ec2/assets/init.d/ec2-get-credentials
* bootstrapvz/providers/ec2/assets/init.d/ec2-run-user-data
* docs/_static/taskoverview.coffee
* docs/_static/taskoverview.less
* tests/unit/subprocess.sh
2016-06-04 11:38:16 +02:00
Anders Ingemann
5823c9119b Split grub and extlinux installs into separate modules 2015-04-16 22:21:12 +02:00
Dan Lorenc
718ef7ed26 Fix log_check_call in docker_daemon. 2014-11-24 11:24:13 -08:00
Dan Lorenc
170ece3691 Add opts parameter to docker_daemon. 2014-11-21 17:35:57 -08:00
Johan Euphrosine
e4663f4fbe docker_daemon: add comments 2014-11-21 11:22:11 -08:00
Johan Euphrosine
141e6399f3 fix ident, raise TaskError 2014-11-21 10:51:03 -08:00
Johan Euphrosine
99786539c7 plugins/docker_daemon: flake8 2014-11-19 16:25:27 -08:00
Johan Euphrosine
e53e727c9c plugins/docker_daemon: only add PullDockerImages tasks when pull_images is set 2014-11-19 16:21:38 -08:00
Johan Euphrosine
6fdf0cc403 plugins/docker_daemon: align with space 2014-11-19 16:16:26 -08:00
Johan Euphrosine
31ba98821c plugins/docker_daemon: logcheckcall, inline pull and indent 2014-11-19 16:14:51 -08:00
Johan Euphrosine
feb4d093c9 bootstrapvz/plugins/docker_daemon: spaces to tabs 2014-11-19 11:53:23 -08:00
Johan Euphrosine
962532065c bootstrapvz/plugins/docker_daemon: flake8 2014-11-19 11:49:26 -08:00
Johan Euphrosine
f3a9a1b1ec docker_daemon: add pull_images option 2014-10-31 05:32:15 -07:00
Tiago Ilieve
0f5de13bae Add version option to docker_daemon plugin
As requested on #147, there is now an option to specify the Docker
version to be installed when using the `docker_daemon` plugin. The
version string is validated against a pattern extracted from the
Docker's CHANGELOG. If the version is not present, it will just download
the latest available.

The download method was also changed from `urllib` to `wget`, so we can
see its progress if needed.

This closes #147.
2014-09-13 15:08:52 -03:00
Anders Ingemann
e4a9cc837a Differentiate installation of grub 1.99 and grub 2 2014-07-09 23:17:05 +02:00
Victor Marmol
fb8507c0f4 Enable the memory cgroup for the Docker plugin.
This will allow for the enforcement and tracking of memory limits and usage.
2014-06-23 19:38:38 +00:00
Johan Euphrosine
6fda70a237 plugins/docker_daemon: initial import
A plugin that install the docker daemon w/ an init script.
2014-05-17 12:37:06 -03:00