lp:~mew/charm-helpers/lp1202804

Created by Matthew Wedgwood and last modified
Get this branch:
bzr branch lp:~mew/charm-helpers/lp1202804
Only Matthew Wedgwood can upload to this branch. If you are Matthew Wedgwood please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Matthew Wedgwood
Project:
Charm Helpers
Status:
Merged

Recent revisions

66. By Matthew Wedgwood

Move apt-related helpers to fetch

65. By Matthew Wedgwood

[michael.nelson] Adds ansible support to charm-helpers

64. By Adam Gandelman

[jamespage]

Don't use get_unit_hostname when generating canonical_url - use private-address

63. By Stuart Bishop

Add password generating helper

62. By Matthew Wedgwood

[michael.nelson] Namespace the relationship data stored in the salt grains file and make it persistent

61. By James Page

[gandelman-a]

contrib.storage.linux.loopback: Fix create_loopback() to actually return full path of new device.

60. By James Page

[gandelman-a]

contrib.openstack.context: Add ImageServiceContext() and tests

Update OpenStack templates: Remove whitespace from rendered template.

59. By Matthew Wedgwood

Remove all magic from host.py. Resolves #119956

58. By Matthew Wedgwood

[michael.nelson] ensure that the /etc/salt dir exists before writing out grains.

When installing only the salt-common lib, the /etc/salt directory is not created (at least with the version I'm using from lamont).

This branch was just going to ensure that the dir exists before it writes out the grains for use in templates...

...but, while QAing this branch on my charm, I came across some changed behaviour in hookenv.relation_get(). When run in the context of no relation, it used to return None, now it returns Serializable(None).

What I was seeing was this http://paste.ubuntu.com/5783035/

So I added a test to demo the issue and fixed it. Just in terms of consistency, I'm not sure whether it's intended that hookenv.unit_get always returns a dict (result of json.loads) rather than a Serializable (when the result isn't None, that is).

Finally, I got sick of waiting for one specific test to finish when doing `make test`, so added `make ftest` for use while developing.

57. By James Page

[fixup] Fixup broken test from merge of changes to save_rc_script

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:charm-helpers
This branch contains Public information 
Everyone can see this information.

Subscribers