A little background. We are attempting to improve the deployment flow of our Node.js application, and decided to investigate Juju.
I am attempting to deploy a small practice express app (which does almost nothing) to a local Juju deployment using LXC.
I have worked my way through this https://juju.ubuntu.com/docs/howto-node.html but when I attempt to change the repository that the node-app charm points at using this command,
juju set mark-app app_branch=https://github.com/markwithers/juju-test
the agent-state-info eventually changes to 'hook failed: "config-changed"'.
I've worked my way through several proposed soluition to this problem, some even from this site, but none appear to work in my case.
So, I then git cloned the node-app charm from here https://github.com/charms/node-app and placed it in ~/charms
I then edited the config.yaml in the charm to include the name of my github repository, and attempted to deploy from this local repository using the following command
juju deploy --repository=charms local:node-app
I get the following error message in my terminal
ERROR cannot get latest charm revision: charm not found in "/home/mark/charms": local:precise/node-app
Which doesn't make sense to me, as the repository is definitely in /home/mark/charms/node-app!