Commit graph

546 commits

Author SHA1 Message Date
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
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
James Bromberger
9c759fe8bf ASwitch manifests ot explicitly use Ec2 for metadata. Swap S3 to use a 4GB root FS. 2014-04-08 12:34:25 +00:00
James Bromberger
b034ca8ed1 Correct merge/rebase. Fix handling of console to hvc0. Try and pre-seed cloud-init. 2014-04-08 10:09:02 +00:00
Anders Ingemann
b871f0cd85 Merge pull request #67 from osallou/azure_provider
add azure provider
2014-04-08 09:03:32 +02:00
Olivier Sallou
fb5d630c9b add azure provider 2014-04-08 08:53:26 +02:00
Anders Ingemann
cf4a414c59 When detaching unset single partition dev_path 2014-04-07 21:52:26 +02:00
Anders Ingemann
b67b8b7260 Set volume dev_path to None when detaching 2014-04-07 21:52:20 +02:00
Anders Ingemann
2c20b593b4 Remove load_json fn from manifest 2014-04-07 21:50:59 +02:00
Anders Ingemann
bd56e810b2 Fix check_ordering of succ. (it always succeeded) 2014-04-07 21:50:06 +02:00
Anders Ingemann
a0bc989459 Remove default argument (info={}) in tasklist.run 2014-04-07 21:49:52 +02:00
Anders Ingemann
bbea12599c Minor adjustments in pkg code 2014-04-07 21:49:07 +02:00
Anders Ingemann
801284cfec Unset unlinked_device_path after use 2014-04-07 21:48:25 +02:00
Anders Ingemann
0c4ba09958 Remove unused real_device_path 2014-04-07 21:48:03 +02:00
Anders Ingemann
bb680b28c5 Re-raise the catched exception after rollback 2014-04-07 21:47:05 +02:00
Anders Ingemann
ef1ab7692a Move import statement 2014-04-07 21:46:46 +02:00
Anders Ingemann
1371f639ac Move volume imports in fs/__init__ 2014-04-07 21:45:45 +02:00
Anders Ingemann
399dfa3fa0 Merge pull request #62 from Jimdo/add-support-for-apt-preferences
Add support for adding APT preferences
2014-04-06 12:00:53 +02:00
James Bromberger
334ef9209b Merge remote-tracking branch 'upstream/master'
Conflicts:
	bootstrapvz/common/tasks/apt.py
2014-04-05 09:38:21 +00:00
Jan Brauer
8d399dade5 Add support for adding APT preferences 2014-04-04 12:22:46 +02:00
Anders Ingemann
2532c588a8 Merge pull request #60 from myhro/fix-plugins
Moving remaining plugins to bootstrapvz/plugins/
2014-04-04 00:56:34 +02:00
Tiago Ilieve
14682eb96d Moving remaining plugins to bootstrapvz/plugins/
Three of the last developed plugins remained on the old `plugins/`
folder. This probably happened because they didn't existed when the
`documentation` branch were created, so they weren't moved when it was
rebased against `master`.
2014-04-03 19:08:04 -03: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
2279da3cef Link to API docs 2014-04-02 21:32:09 +02:00
Anders Ingemann
3d25ba5904 Sphinx API documentation 2014-04-02 21:26:14 +02:00
Anders Ingemann
6d757d2598 relative imports fixed 2014-04-02 21:26:14 +02:00
Anders Ingemann
18dfefe560 Minor doc fixes 2014-04-02 21:26:14 +02:00
Anders Ingemann
6c0e9b1692 Add license 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
Anders Ingemann
fe2f7724bc Merge pull request #57 from myhro/fix-guestadditions
Comment the usage of log_call()
2014-04-02 18:42:19 +02:00
Tiago Ilieve
c22c6fe69d Comment the usage of log_call()
Add two comments to the InstallGuestAdditions, explaining why its return
code will not be checked with `log_check_call()` or even manually
grabbing the status informed by `log_call()` itself.

Previously discussed on the #55 issue and 43e3d96 commit.
2014-04-02 11:43:13 -03:00
Anders Ingemann
a037acc673 Merge pull request #55 from myhro/fix-guestadditions
Don't check Guest Additions installation status
2014-04-02 08:36:32 +02:00
Tiago Ilieve
0fb8b38158 Remove status/out/err atribution from log_call 2014-04-02 00:31:22 -03:00
Tiago Ilieve
43e3d9678a Don't check Guest Additions installation status
I've been discussing that with Anders for over a week and we agreed that
checking the return code of the Guest Additions installation is just a
waste of time. It seems to return 1 no matter what happen, like:

- It has been launched without administrator privileges: OK
- Requirements like bzip2 and gcc are missing: OK
- Kernel headers or dkms are missing: OK
- It was installed successfully, but without X11 drivers: ???

There isn't even a way (at least until the current 4.3.x version) to
disable the X11 drivers installation. The `--nox11` option, just "Do not
spawn an xterm".

And the worst part: until the version 4.2.x, it returned 0 if it could
be installed with no errors beside this one about the missing X11
drivers. This means that this verification will most likely fail on any
other version older than 4.3.x, preventing the build from finishing in a
successful way. So, we can't really rely on its return code whatsoever.

That said, neither him or me likes the idea of ignoring the return code
of a command. It just happens that we can't do anything about that.
2014-04-01 23:37:45 -03:00
Anders Ingemann
8495a5a421 Merge pull request #53 from myhro/tasksel
Add option to install packages from tasksel
2014-04-01 23:46:09 +02:00
Tiago Ilieve
f3abb0d85c Use log_check_call instead of subprocess module 2014-04-01 18:11:52 -03:00
Tiago Ilieve
60dbbee731 Add option to install packages from tasksel 2014-04-01 17:18:49 -03:00
Anders Ingemann
f315915a73 Merge pull request #52 from jaybonci/chef-plugin
Chef plugin
2014-04-01 08:35:38 +02:00
Jay Bonci
c8b916b5a2 Abstracted some of the copy_tree stuff out 2014-04-01 01:19:40 +00:00
Jay Bonci
b56bf53573 Simple chef plugin based on the puppet plugin 2014-04-01 00:23:24 +00:00
Anders Ingemann
a2f0b794b1 Merge pull request #50 from odyssey4me/grub-console-support
Add console output to serial when using grub
2014-03-31 18:29:56 +02:00
Jesse Pretorius
dab1dfa930 Add console output to serial when using grub 2014-03-31 14:16:16 +02:00
Anders Ingemann
9105f957ca Merge pull request #45 from myhro/ntp
New plugin: ntp
2014-03-29 15:51:54 +01:00
Tiago Ilieve
16f37ceca8 ntp: clones the server list from manifest 2014-03-29 11:45:08 -03:00