Hey there,<br>I've just get juju to work on CentOS using a patched [1] version of juju 0.5bzr531 (the same in Precise). The patch enables you to use <br><br>The patch consists of a new CloudInit class (CentOSCloudInit), and two changes to the format_cloud_init function: disabling apt-update and apt-upgrade; and adding support for modules.<br>

<br>Regarding cloudinit, I've included a new module [2], which is used to install yum packages, the centos version of juju would depend on that module getting merged into cloudinit code.<br><br>The main goal of this message is to define a strategy to support both CentOS (and/or other RPM-based systems) and Ubuntu. We could add another parameter to the environments.yaml file or to the `juju` command line tool, which would make the LaunchMachine class choose between CloudInit implementations.<br>

<br>Are you all interested in adding support to CentOS in the Python version? What approach do you suggest?<br><br>[1] <a href="https://raw.github.com/timeredbull/juju-centos-6/master/redhat/juju-0.5-cloudinit.patch">https://raw.github.com/timeredbull/juju-centos-6/master/redhat/juju-0.5-cloudinit.patch</a><br>

[2] <a href="https://raw.github.com/timeredbull/cloudinit-centos-6/master/redhat/cc_yum_packages.py">https://raw.github.com/timeredbull/cloudinit-centos-6/master/redhat/cc_yum_packages.py</a><br><br>-- <br>~f<br><br>