jujucharms.com and typing out a search term to see what is available to you. So I wrote a tiny plugin to speed that up a bit. Install…" /> jujucharms.com and typing out a search term to see what is available to you. So I wrote a tiny plugin to speed that up a bit. Install…" />

Juju plugin: search charmstore

Adam Stokes

Adam Stokes

on 25 November 2015

Tags: Charms, Juju

Sometimes it is just quicker to type a few commands on the cli than opening your browser window, going to jujucharms.com and typing out a search term to see what is available to you. So I wrote a tiny plugin to speed that up a bit.

Install the plugin

Currently supports Trusty, Vivid, and Wily

$ sudo apt-add-repository ppa:adam-stokes/juju-query
$ sudo apt-get update
$ sudo apt-get install juju-query

Searching the charmstore

If you know the exact name of the charm:

$ juju search ghost

Results in




 juju deploy cs:precise/ghost-3

Get additional information:

 juju info cs:precise/ghost-3

Or part of a charm name

$ juju search nova-cloud\*

Gives us








 juju deploy cs:~landscape/trusty/nova-cloud-controller-6

Get additional information:

 juju info cs:~landscape/trusty/nova-cloud-controller-6

Getting more information

This will give you the output of the README stored on jujucharms.com

$ juju info ghost|less

And the output of the README right to your screen \o/


Ghost is a simple, powerful publishing platform.


# Overview

Ghost is an Open Source application which allows you to write and publish your  
own blog, giving you the tools to make it easy and even fun to do. It's simple,  
elegant, and designed so that you can spend less time making your blog work and  
more time blogging.

This is an updated charm originally written by Jeff Pihach and ported over to  
the charms.reactive framework and updated for Trusty and the latest Ghost release.

# Quick Start

After you have a Juju cloud environment running:

    $ juju deploy ghost
    $ juju expose ghost

To access your newly installed blog you'll need to get the IP of the instance.

    $ juju status ghost

Visit `:2368/ghost/` to create your username and password.  
Continue setting up Ghost by following the  
[usage documentation](http://docs.ghost.org/usage/).

You will want to change the URL that Ghost uses to generate links internally to  
the URL you will be using for your blog.

    $ juju set ghost url=

# Configuration

To view the configuration options for this charm open the `config.yaml` file or:

    $ juju get ghost

This plugin utilizes theblues python library for interfacing with the charmstore’s api. Check out the project on their github page.

If you want to contribute to the plugin you can find that on my github page. Some other features I’d like to add is getting the configuration options, searching bundles, show what relations are provided/required, etc.

Read original article

Ubuntu cloud

Ubuntu offers all the training, software infrastructure, tools, services and support you need for your public and private clouds.

Newsletter signup

Select topics you’re interested in

In submitting this form, I confirm that I have read and agree to Canonical’s Privacy Notice and Privacy Policy.

Related posts

Design and Web team summary – 04 February 2019

Welcome to the latest work and updates from the design and web team. Web squad Three new homepage takeovers This iteration we designed three, built two and are showing one new homepage takeover. Branded snap appstores is live Broadsign and…

Design and Web team summary – 19 December 2018

Welcome to the latest work and updates from the design and web team. Base squad This week, the bulk of our work was on improving our internal system for employee reviews, but we found time to squeeze in a few other things: We also…

How to harness big data for maximum business value

Are you getting maximum value from your big data? Despite most businesses understanding the power and competitive advantage they could gain from harnessing their big data more effectively and leveraging it more efficiently, it’s not an…