Anders Ingemann
989f33c226
Kill the initalize() function. Nobody uses it except ec2
...
The boto debug messages are now silenced with a task.
2015-05-03 12:31:44 +02:00
Anders Ingemann
71c7d445ad
Fix #217 , by introducing class for comparison of releases
2015-04-29 21:38:06 +02:00
Anders Ingemann
e9137ac172
Make serialization a lot more easy to handle
2015-04-16 22:15:20 +02:00
Anders Ingemann
2b6fefd789
Fix serialization of exceptions
2015-04-16 22:15:20 +02:00
Anders Ingemann
3542406b91
Fix (de-)serialization
2015-04-16 22:15:17 +02:00
Anders Ingemann
282e22c001
debugging
2015-04-16 22:15:17 +02:00
Anders Ingemann
150b15bb4f
(g|s)etstate for manifest
2015-04-16 22:15:17 +02:00
Anders Ingemann
0cc26d82d0
Allow passing data into the manifest.
...
This makes it possible to create dynamically created manifests
2014-07-09 23:17:05 +02:00
Anders Ingemann
1dc9ae18db
Do a basic validation of the manifest before accessing it.
...
This prevents cryptic error messages
2014-07-09 23:17:05 +02:00
Anders Ingemann
03a0746299
Convert every JSON file to YAML
...
Lines removed: over 500. Readiblity gained: A shitload
Now you can actually get an overview of a manifest on a single screen height.
I am sure that it will also save a lot of hassle when modifying schema in the future.
No more "expected property name" etc. because of an extraneous comma
Comments are of course natively support, so there's no need for this minify_json hokey pokey
2014-07-09 23:17:04 +02:00
Anders Ingemann
ebba39f59b
Convert "provider" into provider specific section
...
This is where all provider specific settings belong
like waagent on azure, guest additions iso path on vbox and virtualization type on ec2
2014-07-09 23:17:04 +02:00
Anders Ingemann
ee3fe0bf42
Convert param docs into parseable format.
2014-05-04 19:31:53 +02:00
Anders Ingemann
3cc84c95e8
Silly me, putting things where they don't belong
2014-05-04 19:09:34 +02:00
Anders Ingemann
f3d633780f
Use string concatenation instead of format()
...
String concatenation can at times be easier to read that format().
One should choose whichever approach is more readable.
2014-05-04 13:41:15 +02:00
Anders Ingemann
7958950d19
Generalize "grub only on partitioned volumes" err
...
(move it into base manifest validation)
2014-05-03 16:13:49 +02:00
Anders Ingemann
8ded026f5b
Use importlib to import providers and plugins
2014-04-08 21:58:48 +02: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
2c20b593b4
Remove load_json fn from manifest
2014-04-07 21:50:59 +02:00
Anders Ingemann
33a430566b
bootstrap-vz is now a proper python package
...
logs/ was remove. logs are now placed in /var/logs/bootstrap-vz instead
2014-04-02 23:25:50 +02:00
Anders Ingemann
bbb06d717e
Properly fix imports and make bootstrapvz work like a package
2014-04-02 21:32:10 +02:00
Anders Ingemann
6d757d2598
relative imports fixed
2014-04-02 21:26:14 +02:00
Anders Ingemann
be96e4c13f
Move code into proper package folder
2014-04-02 21:26:13 +02:00