What would you like to see in the virtual Charm School hangouts?
Mark Shuttleworth
mark at ubuntu.com
Sat May 25 07:16:27 UTC 2013
On 05/24/2013 07:37 PM, Peter M. Petrakis wrote:
> cat > install << EOF
> #!/bin/bash
>
> apt-get update && apt-get install -y ruby-1.9.1-full
> ruby hooks/install.rb
> EOF
>
> All hooks are executed from the charm's root.
I think Franck was looking for something a bit cleaner than that. Seems
to me that a package dep declaration would be a good option, though we
may need the combination of a declaration and some pre-install hooks
that handle issues associated with that preparatory phase, such as
dealing with known cases where the packaging system needs specific
guidance beyond "please install these packages".
Mark
More information about the Juju
mailing list