User Tools

Site Tools


juju-charms

This is an old revision of the document!


Writting Juju Charms for Windows

:!: This page needs more work :!:

The rules of writting charms are the same in Windows as they are in linux. As a reference, the Havana Hyper-V charm can be used. The charm can be found at:

https://github.com/gabriel-samfira/juju-hacks/tree/master/charms/win2012hvr2/nova-hyperv

By default, Juju adds $env:CHARM_DIR\hooks\Modules and $env:CHARM_DIR\Modules in $env:PSModulePath. So you can simply write a module, bundle it with your charm, and simply do an Import-Module in your hooks. We should strive to create a common suite of helper modules for all juju charms on windows!

The CharmHelpers module in the above mentioned Hyper-V charm is a good start. Its basically a port of the Openstack charm helpers written in python.

Windows Charms:

1. Windows Active Directory Controller 2. Windows Active Directory Join 3. Windows Active Directory Exchange 4. Windows Active Directory MsSQL 5. Windows Active Directory SharePoint

juju-charms.1399473242.txt.gz · Last modified: 2014/05/07 17:34 by avladu