This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
juju-charms [2014/04/22 23:12] gsamfira created |
juju-charms [2015/02/03 17:44] (current) gsamfira |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| + | ======= Rules ======= | ||
| - | 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:// | + | |
| - | | + | - Master branch of any charm is holy ground. If a piece of code gets in, it is expected to work without any issues. |
| + | - All new features must be added as new branches. | ||
| + | - Under no circumstances are branches to be merged into master unless they have been thoroughly tested and scrutinized. | ||
| + | - Merges are only to be done after one or more peers have had a chance to review and aprove the code. Untill then, the code WILL remain in its feature branch | ||
| + | - Any deviation from the above is only possible by devine intervention, | ||
| + | |||
| + | |||
| + | ===== Charm Structure ===== | ||
| + | |||
| + | |||
| + | The rules of writing charms are the same in Windows as they are in linux. As a reference, the Nova Hyper-V charm can be used. The charm can be found at: | ||
| + | |||
| + | | ||
| By default, Juju adds $env: | By default, Juju adds $env: | ||
| 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. | 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 | ||
| + | |||
| + | Relations: | ||
| + | | ||
| + | File dependencies(put them on a samba share, in the folder " | ||
| + | | ||
| + | | ||
| + | Configuration: | ||
| + | Specify the Samba share where the file dependencies are | ||
| + | Virtual machine requirements: | ||
| + | CPU - more than 4 cores | ||
| + | RAM - more than 6GB | ||
| + | HDD - more than 40GB | ||
| + | Beware!: | ||
| + | You can install only one Exchange per Active Directory Domain | ||
| + | The machine will reboot 4 times | ||
| + | The installation will take approximately 1 hour | ||
| + | |||
| + | 4. Windows Active Directory MsSQL | ||
| + | |||
| + | 5. Windows Active Directory SharePoint | ||
| + | |||
| + | 6. Windows IIS Drupal | ||
| + | |||
| + | Relations: | ||
| + | MySQL | ||
| + | | ||
| + | | ||
| + | | ||
| + | File dependencies: | ||
| + | Every file dependency is downloaded from the internet using official download links and it is checked for integrity using SHA1 checksum. | ||
| + | Minimum virtual machine requirements: | ||
| + | CPU - 2 cores | ||
| + | RAM - 2GB | ||
| + | HDD - 30GB | ||
| + | NOTE: If any download link becomes unavailable, | ||