Hi,
I have a trusty charm with an install hook in python. The code works for
both python2 and python3.
Is there a way to keep the install hook in python and have the charm
work under both trusty and xenial ?
The issue lies at the shebang : python3 doesn't exist by default on
trusty, and python d
On Mon, Jun 06, 2016 at 05:39:57PM +0400, John Meinel wrote:
> I think the question is whether it is available by default. Not whether it
> could be installed. But as mentioned, if the answer is a short bash script
> that ensures "apt-get install python3" and then everything else in Python3
> that
On Mon, Oct 10, 2016 at 12:51:21AM +, Andrew Wilkins wrote:
> On Fri, Oct 7, 2016 at 11:31 PM Mark Shuttleworth wrote:
>
> > Hi folks
> >
> >
> >
> > My AWS account pre-dates VPCs, so I didn't have one by default. I've now
> >
> > added one, how can I update my credential / controller to make
Hi,
I need to add the same config options to 2 different layers that are
used in the same charm. How does that work ? Should I add them the 2
layers and let "charm build" deal with it ? Or is there another way ?
My use case is to add the "nagios_context" and "nagios_servicegroups"
config options
And once/if you have no Classic instance running in a region, you should
file a ticket to AWS Support asking for a default VPC creation. Once
it's done, you don't need to supply the VPC ID anymore.
Could juju maybe be instructed to use a VPC if and only if a single VPC
exist in a region, without s
On Tue, May 23, 2017 at 10:08:45AM +0100, Nick Veitch wrote:
> I don't believe you can (usually) execute hooks properly e.g. via 'juju
> run' or ssh, precisely because the hook doesn't then run in a hook context.
> If you run 'juju debug-hooks' and wait for a hook to fire, then the various
> $ENV v
On Thu, Nov 16, 2017 at 09:07:42AM +0530, Akshat Jiwan Sharma wrote:
> Hi everyone,
>
> A couple of times I've noticed that the capacity of a machine provisioned
> by juju is much more than what I require for my workload. I was wondering
> that if I were to manually resize the machine would it br
Hi,
I'm developping a charm, and would like to know the best practive to
do some uninstallation steps when a subordinate gets removed from a
unit (these steps being : uninstall a snap)
The only way I can think of is to use @hook('stop'), but as far as I
remember, using hooks is not something one