Commit graph

228 commits

Author SHA1 Message Date
Tiago Ilieve
4ba701cfad Add CheckAptProxy task
Check if the specified APT proxy server can be reached, informing the
user if this can't be done. That will help them to debug the errors that
will be raised by `apt-get` because of the misleading proxy
configuration.

This closes #95.
2014-05-23 09:51:17 -03: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
Anders Ingemann
4caf5d1813 Make "assets" a required property in chef schema 2014-05-16 18:33:21 +02:00
Anders Ingemann
b03ec12c41 Make "stable" the salt install_source default.
Fix a few indentation things
2014-05-16 18:30:01 +02:00
Anders Ingemann
81659321af Fix name of chef plugin manifest schema name 2014-05-16 18:29:42 +02:00
Anders Ingemann
02c683120a Refactor tasklist for easier integration by taskoverview 2014-05-10 17:28:31 +02:00
Anders Ingemann
f50a8e66ce Merge branch 'master' into development
Conflicts:
	.gitignore
	bootstrapvz/common/tasks/apt.py
	bootstrapvz/plugins/cloud_init/__init__.py
	bootstrapvz/plugins/cloud_init/tasks.py
	tox.ini
2014-05-08 23:00:54 +02:00
Dhananjay Balan
064c4f24bd Add salt plugin
- uses salt bootstrap to install minion code
 - custom grains can be set.
 - option to specify master in the manifest.

e.g manifest (TODO: Add this to doc.)

"salt": {
            "install_source": "git",
            "version": "develop", \\ Only if the source is git
            "master": "", \\ salt master ip or fqdn
            "grains": {
                "custom_grain1": "custom_grain_value1",
                "custom_grain2": "custom_grain_value2",
            }
        }
2014-05-05 00:07:56 +05:30
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
03a9667c64 Add enable_agent option to puppet plugin 2014-05-03 21:50:00 +02:00
Anders Ingemann
0a2cd86b4b Add get_standard_rollback_tasks()
This simplifies the the providser rollback_tasks fn considerably
2014-05-03 16:13:49 +02:00
Anders Ingemann
d5efec8885 Add ssh_group, which configures SSH properly 2014-05-03 16:13:07 +02:00
Anders Ingemann
aad9bc69c4 Require hostname setting for vagrant plugin
Also, fix reference to vbox src to a revision
2014-05-03 16:12:34 +02:00
Tiago Ilieve
47997b4b13 PEP8 fixes 2014-04-27 11:05:53 -03:00
Tiago Ilieve
51a3e488e3 PEP8 fixes 2014-04-27 10:14:02 -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
e25276367b Fix apt_proxy/ntp/vagrant plugins manifests 2014-04-14 07:11:03 -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
Anders Ingemann
9e748601b3 Use bootstrapinfo module namespace when applicable 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
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
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
be96e4c13f Move code into proper package folder 2014-04-02 21:26:13 +02:00