Merge lp://qastaging/~lazypower/charm-tools/chef_template into lp://qastaging/charm-tools/1.4
Proposed by
Charles Butler
Status: | Needs review |
---|---|
Proposed branch: | lp://qastaging/~lazypower/charm-tools/chef_template |
Merge into: | lp://qastaging/charm-tools/1.4 |
Diff against target: |
979 lines (+828/-0) 22 files modified
charmtools/templates/chef/__init__.py (+18/-0) charmtools/templates/chef/files/README.ex (+44/-0) charmtools/templates/chef/files/config.yaml (+14/-0) charmtools/templates/chef/files/hooks/Gemfile (+4/-0) charmtools/templates/chef/files/hooks/Gemfile.lock (+64/-0) charmtools/templates/chef/files/hooks/bootstrap (+20/-0) charmtools/templates/chef/files/hooks/cookbooks/charm-name/metadata.rb (+8/-0) charmtools/templates/chef/files/hooks/cookbooks/juju-helpers/definitions/juju_port.rb (+11/-0) charmtools/templates/chef/files/hooks/cookbooks/juju-helpers/definitions/relation_set.rb (+10/-0) charmtools/templates/chef/files/hooks/cookbooks/juju-helpers/libraries/juju.rb (+28/-0) charmtools/templates/chef/files/hooks/cookbooks/juju-helpers/libraries/juju/juju_helpers.rb (+48/-0) charmtools/templates/chef/files/hooks/cookbooks/juju-helpers/libraries/juju/juju_helpers_dev.rb (+25/-0) charmtools/templates/chef/files/hooks/cookbooks/juju-helpers/metadata.rb (+7/-0) charmtools/templates/chef/files/hooks/cookbooks/relation-name-relation/metadata.rb (+8/-0) charmtools/templates/chef/files/hooks/install (+5/-0) charmtools/templates/chef/files/hooks/stub (+15/-0) charmtools/templates/chef/files/icon.svg (+279/-0) charmtools/templates/chef/files/metadata.yaml (+17/-0) charmtools/templates/chef/template.py (+87/-0) setup.py (+1/-0) tests_functional/create/test.sh (+4/-0) tests_functional/create/test_chef_create.py (+111/-0) |
To merge this branch: | bzr merge lp://qastaging/~lazypower/charm-tools/chef_template |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Van Steenburgh (community) | Needs Fixing | ||
charmers | Pending | ||
Review via email:
|
Description of the change
Preliminary chef charm template generator.
This is my first template submission, please be critical.
To post a comment you must log in.
Unmerged revisions
- 346. By Charles Butler
-
Remove unused dependency on pkg_resources from test
- 345. By Charles Butler
-
Wrap up of chef template creation and tests
- 344. By Charles Butler
-
Corrects the list duplication in the integration test
- 343. By Charles Butler
-
Preliminary tests that are failing due to duplication in epxected list
- 342. By Charles Butler
-
Wipes unused revision file, validated charm integrity, added endpoint to create with a chef template
- 341. By Charles Butler
-
Updated owner statements, and added missing relationship symlinks
- 340. By Charles Butler
-
Adds chef charm template
Just scanned the diff, here's a few things I noticed:
* Don't forget to add an entry point for the chef template in setup.py
* Don't forget to add unit and/or functional tests for the chef template. Can probably just copy/paste tests for other templates and tweak slightly.
* Consider whether you might want to bake some charm tests into the template. Not necessary, but Cory did that on the python template and I thought it was a great idea.