Commit graph

790 commits

Author SHA1 Message Date
Anders Ingemann
a1bc55fbff Fix import error with cloud_init task 2014-05-03 16:12:34 +02:00
Anders Ingemann
c4e19986dc Merge pull request #80 from rybaktomasz/gce_development
Add Google Cloud Engine (GCE) provider:
2014-05-03 14:44:03 +02:00
Tomasz Rybak
b327823261 Add Google Cloud Engine (GCE) provider:
* force kpartx to use synchronous mode, removing sleep(10)
 * get image configuration, use it during tarball creation and registration
 * add (non-working, path problems) image registration
 * add cleaning of image from Google keys and repositories
 * add NTP server address in manifest
 * add preference for backport kernels in manifest
 * disable IPv6
 * correctly set host name
2014-05-03 14:25:54 +02:00
Tiago Ilieve
ff79056522 Merge pull request #79 from Rory-Finnegan/testing
Testing
2014-04-30 19:30:54 -03:00
Rory Finnegan
128bce8fff Added manifest checking tests.
Overview:
1) fixed up .gitignore file to use absolute paths (to project dir).
2) updated tox to run both manifest tests and flake8
3) updated yml file cause NULL for aws credentials causes an error on validation.
4) actually added the tests under tests/integration
2014-04-30 17:21:32 -05:00
Tiago Ilieve
47997b4b13 PEP8 fixes 2014-04-27 11:05:53 -03:00
Tiago Ilieve
17b0e6e57a Add information about coding style checking
Added a note about this to the CONTRIBUTING.md file. [skip ci]
2014-04-27 10:50:07 -03:00
Tiago Ilieve
51a3e488e3 PEP8 fixes 2014-04-27 10:14:02 -03:00
Tiago Ilieve
014e230221 Add Travis CI
By now, it will only test the coding style rules defined for the
project, which are basically a few exceptions to the PEP8.
2014-04-27 10:12:04 -03:00
Tiago Ilieve
2e5d291b9c Add Travis CI
By now, it will only test the coding style rules defined for the
project, which are basically a few exceptions to the PEP8.
2014-04-27 10:07:53 -03:00
Tiago Ilieve
fe6a5047cd Rename task_sets to task_groups
This closes #17
2014-04-26 17:13:41 -03:00
Tiago Ilieve
72492a6077 Fix SetMetadataSource predecessors
Added GenerateLocale as SetMetadataSource predecessor, to avoid any
potential locale warnings. Also fixed a space indentation flaw and a
string which was being formatted with a non-existent key-argument.

This closes #75.
2014-04-26 16:48:09 -03:00
Tiago Ilieve
1d36255a78 bootstrap method searches for an existing tarball
The tarball bootstrap method now uses an existing tarball if it is
found, regardless of its settings on the manifest, although it will
create a new one only if `"tarball"` is `true`.

This closes #24.
2014-04-26 13:49:47 -03:00
Tiago Ilieve
0f4884698d Merge pull request #77 from rybaktomasz/fix-upstream
Add missing unstable configuration fixing EC2 image building problems.
2014-04-22 15:15:54 -03:00
Tomasz Rybak
f8dd196e59 Add missing unstable configuration fixing EC2 image building problems. 2014-04-22 20:09:47 +02:00
Tiago Ilieve
1781eef692 Add info about gh-pages-dev on CONTRIBUTING 2014-04-21 17:11:41 -03:00
Anders Ingemann
33d2e1df61 Merge pull request #73 from Rory-Finnegan/development
Fixed previous yaml load commit and added a tox.ini file.
2014-04-16 09:07:58 +01:00
Rory Finnegan
708c3d589e Fixed previous yaml load commit and added a tox.ini file.
DETAILS:
- Apparently a potential security issue with yaml.load vs yaml.safe_load.
  Like pickling, yaml.load could result in arbitrary code being run.
- tox.ini file includes the flake8 settings for this project, build spec for 2.7
  and line for eventually testing the project.
2014-04-15 20:29:01 -05:00
Tiago Ilieve
e25276367b Fix apt_proxy/ntp/vagrant plugins manifests 2014-04-14 07:11:03 -03:00
Tiago Ilieve
af379c59fd Fix some typos on the CONTRIBUTING file 2014-04-13 22:36:30 -03:00
Tiago Ilieve
5502a5c3b1 Add hostname setting to azure provider 2014-04-13 21:57:10 -03:00
Tiago Ilieve
18fce45d91 Move hostname setting from vagrant into common
This closes #19.
2014-04-13 21:18:02 -03:00
Anders Ingemann
69a76f2597 Fix PEP8 errors 2014-04-10 00:27:37 +02:00
Anders Ingemann
3b23ccf92c Don't use DictClass for provider namespaces
It's a hack only for the manifest vars and shouldn't be used for anything else
2014-04-10 00:20:35 +02:00
Tiago Ilieve
d84e02247a Make use of $PATH wherever possible 2014-04-09 13:34:34 -03:00
Tiago Ilieve
9d375810f0 'os' module has already been imported 2014-04-09 13:30:42 -03:00
Tiago Ilieve
2fbea1f656 Minor fixes regarding coding style 2014-04-09 13:29:14 -03:00
Tiago Ilieve
bd9b45cadb Merge pull request #71 from osallou/development
Download Waagent archive instead of using git repo.
2014-04-09 13:14:05 -03:00
Olivier Sallou
b04bda220a Download Waagent archive instead of using git repo.
Specify the version in the manifest (system/waagent section)
Add possibility to specify waagent conf file in manifest (system/waagent section)
Update documentation to match changes

Use log_check_call instead of log_call

refactor test on dictionary key
2014-04-09 18:03:29 +02:00
Anders Ingemann
9e20731c84 Cosmetic changes in azure provider 2014-04-08 23:29:45 +02:00
Anders Ingemann
9e748601b3 Use bootstrapinfo module namespace when applicable 2014-04-08 23:12:08 +02:00
Anders Ingemann
a253e643b7 Fix some task descriptions 2014-04-08 23:12:08 +02:00
Anders Ingemann
72323045d3 Delete metadata plugin.
It serves a too limited purpose to be included.
2014-04-08 21:58:48 +02:00
Anders Ingemann
fc1134f371 Depend on boto 2014-04-08 21:58:48 +02:00
Anders Ingemann
8ded026f5b Use importlib to import providers and plugins 2014-04-08 21:58:48 +02:00
Anders Ingemann
1e14a9105a Add provider & plugin namespace to bootstrap info 2014-04-08 21:58:48 +02:00
Anders Ingemann
2017806d1f Switch to docopt for options parsing
Add option to not log to any file.
2014-04-08 21:26:15 +02:00
Anders Ingemann
c154347849 Alignment in azure mnfst 2014-04-08 21:26:15 +02:00
Anders Ingemann
0bc745ea94 Remove plugin enabled flag from kvm mnfst 2014-04-08 21:26:15 +02:00
Anders Ingemann
b04fbf2323 Factor manifest_vars population into separate fn 2014-04-08 21:26:15 +02:00
Tiago Ilieve
c8d9e98893 Merge pull request #68 from myhro/new-contributing
Add contribution guidelines
2014-04-08 15:10:22 -03:00
Anders Ingemann
71b28af3bd Merge branch 'master' into development 2014-04-08 20:03:26 +02:00
Anders Ingemann
36ff04398a Merge pull request #69 from Rory-Finnegan/development
YAML config support
2014-04-08 20:00:21 +02:00
Tiago Ilieve
7a366e724c Add a note about rebasing pull requests 2014-04-08 14:59:32 -03:00
Tiago Ilieve
2b22a9ddb3 Add a note about notification on pull requests 2014-04-08 14:15:28 -03:00
Rory Finnegan
60571f66ad Fixed formatting standards on files I've changed.
Used command `find . -name '*.py' | grep -v minify_json | xargs pep8 --ignore=E101,E221,E241,E501,W191`
2014-04-08 11:56:27 -05:00
Rory Finnegan
338465c2b7 Added pyyaml to setup.py. 2014-04-08 15:21:23 +00:00
Rory Finnegan
df6f190a6a Fixed import style. 2014-04-08 14:45:12 +00:00
Rory Finnegan
4b5c2d8c5f Added YAML config support.
- Manifest format parsing is now checked by the file extension ie: .json, .yml or .yaml.
- load_yaml in common/tools is the same as the json version.
- schema checking of manifest still passes (and fails appropriately) like the json manifests.
- I've also included a sample yaml config based off of the debian test json manifest.
2014-04-08 14:45:12 +00:00
Anders Ingemann
6cafdbee14 Merge pull request #33 from JamesBromberger/master
Manifest, deb Descurity in apt sources.list
2014-04-08 15:37:52 +02:00