A (Very) Minimal Charm

2016-11-30 Thread Nate Finch
On IRC, someone was lamenting the fact that the Ubuntu charm takes longer
to deploy now, because it has been updated to exercise more of Juju's
features.  My response was - just make a minimal charm, it's easy.  And
then of course, I had to figure out how minimal you can get.  Here it is:

It's just a directory with a metadata.yaml in it with these contents:

name: min
summary: nope
description: nope
series:
  - xenial

(obviously you can set the series to whatever you want)
No other files or directories are needed.

Figured this might be useful for others.

-Nate
-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev


Bundle SVG Generator updated

2016-11-30 Thread Marco Ceppi
Hey everyone,

A while ago I built a small web app that you could feed raw bundle.yaml
files to and get back SVG images of the deployment like you would in the
Charm Store or Juju GUI. This was built for things like Juju Benchmarking
which shows an image representing the Juju deployment under test. Now it's
become a resource for those building slides, presentations, blog posts, and
readme files. However, SVG is not the most approachable format for some of
these new use cases.

As a result of this, I've added a raster converter as part of the
application making bundle.yaml and transform them into transparent PNGs,
PDF, or XML. The service will continue to default to SVG.

Here's a few live examples:

PNG: svg.juju.solutions/?bundle-file=https://[snip]/bundle.yaml=png

PDF: svg.juju.solutions/?bundle-file=https://[snip]/bundle.yaml=pdf


The landing page has been updated to include a quick submission form, no
more need to hack URLs manually. https://svg.juju.solutions

Finally, this is an open source project with an accompanying charm:

* https://github.com/marcoceppi/svg.juju.solutions
* https://github.com/marcoceppi/layer-charmsvg
* https://jujucharms.com/u/marcoceppi/charm-svg

The site is, of course, deployed and managed by Juju.

Thanks,
Marco Ceppi
-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev


Re: [charms] Barbican + Identity Standalone - AWS

2016-11-30 Thread Marco Ceppi
Hey James!

We were looking at adding Keystone as a user management backend for
Kubernetes. This is a great step forward in making that possible, I noticed
the barbican charm in the AWS deploy was "local", are there any major
changes to the charm from ~openstack-charmers needed for it to run in AWS?

Marco

On Wed, Nov 30, 2016 at 6:50 AM Mark Shuttleworth  wrote:

>
> Might be worth sharing this on some of the OpenStack lists too, for folks
> who are interested in using Horizon this way on other substrates.
>
> Mark
>
>
> On 29/11/16 21:36, James Beedy wrote:
>
> Another great day of Juju driven successes - deploying the barbican
> standalone stack for identity mgmt and secrets mgmt. For those that don't
> know, newton horizon brings support for identity only! This means you can
> (as I am) use the openstack-dashboard for mgmt of just users, projects, and
> domains, without a full Openstack! In previous Openstack releases, if you
> hooked up horizon and you didn't have the core Openstack services
> registered in your service catalogue, horizon would throw errors and would
> be unusable. This is a huge win for those wanting object storage and
> identity mgmt only, too!
>
> AWS Barbican Stack -> http://paste.ubuntu.com/23556001/
>
> LXD Barbican Bundle (with script to help get started setting secrets in
> barbican)-> https://github.com/jamesbeedy/juju-barbican-lxd-bundle
>
> Also, here's a utility function from barbican-client layer I've been using
> to make getting secrets from barbican containers easy for charms (WIP) ->
> https://github.com/jamesbeedy/juju-layer-barbican-client/blob/master/lib/charms/layer/barbican_client.py
>
> ~james
>
>
>
> --
> Juju mailing list
> j...@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev


Re: [charms] Barbican + Identity Standalone - AWS

2016-11-30 Thread Mark Shuttleworth

Might be worth sharing this on some of the OpenStack lists too, for
folks who are interested in using Horizon this way on other substrates.

Mark

On 29/11/16 21:36, James Beedy wrote:
> Another great day of Juju driven successes - deploying the barbican
> standalone stack for identity mgmt and secrets mgmt. For those that
> don't know, newton horizon brings support for identity only! This
> means you can (as I am) use the openstack-dashboard for mgmt of just
> users, projects, and domains, without a full Openstack! In previous
> Openstack releases, if you hooked up horizon and you didn't have the
> core Openstack services registered in your service catalogue, horizon
> would throw errors and would be unusable. This is a huge win for those
> wanting object storage and identity mgmt only, too!
>
> AWS Barbican Stack -> http://paste.ubuntu.com/23556001/
>
> LXD Barbican Bundle (with script to help get started setting secrets
> in barbican)-> https://github.com/jamesbeedy/juju-barbican-lxd-bundle
>
> Also, here's a utility function from barbican-client layer I've been
> using to make getting secrets from barbican containers easy for charms
> (WIP) ->
> https://github.com/jamesbeedy/juju-layer-barbican-client/blob/master/lib/charms/layer/barbican_client.py
>
> ~james
>
>

-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev