Skip to main content

Tools for maintaining Juju charms

Project description

# Juju Charms

This is a collection of Juju charms for use as a reference and in deploying real services using juju. See Juju’s home page for more information.

https://juju.ubuntu.com https://launchpad.net/charm

# Quick Start

First, you’ll need juju. If its not available in your version of Ubuntu you can use the PPA:

sudo add-apt-repository ppa:juju/stable sudo apt-get update sudo apt-get install juju-core

You can install charm-tools from the distro, stable ppa, or daily-builds PPA.

sudo apt-get install charm-tools

Alternatively you can branch the project and run the tip of the code.

bzr branch lp:charm-tools cd charm-tools

If you’ve branched locally, you’ll need to add the charm-tools/bin directory to your $PATH

export PATH=”$(pwd):${PATH}”

# Directory structure

## bin

tools to help in building charms

## templates

templates for usage in building new charms

# Tools

In order to use any of these charms, once you have juju setup and working in your path

## create

To generate a new charm from a debian package available on your system

juju charm create foo

This should add a directory to charms with the name foo, and some of the metadata.yml and hooks filled in. It will create these in $CHARM_HOME or under the current working directory.

## proof

To perform basic static analysis on a charm, run

juju charm proof foo

It will analyze the charm for any obvious mistakes.

## getall

Retrieves all of the charms in the charm distribution via bzr.

## subscribers

This is used to check the quality of maintainer<->bug subscriptions in launchpad since we do not have this relationship automatically setup.

As a maintainer, if you would like to ensure that you are subscribed to all of your charms you can run this command:

juju charm subscribers –fix-unsubscribed –maintainer you@youremail.com –repository path/to/your/charms

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

charm-tools-1.1.2.tar.gz (30.5 kB view details)

Uploaded Source

File details

Details for the file charm-tools-1.1.2.tar.gz.

File metadata

  • Download URL: charm-tools-1.1.2.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for charm-tools-1.1.2.tar.gz
Algorithm Hash digest
SHA256 f3d0ad510fdb28931a8e8ce2511602cf436ff06e24813746962846f14b436c2d
MD5 67e85c7149e6b41c5b8c701356bac388
BLAKE2b-256 2c51c1145b1b980cbdef068d79745dfbb6f82852d3c134e0c6288ca8181bccae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page