split charm templates and logic for different os (ubuntu/debian/centos)

2014-10-10 Thread Vasiliy Tolstov
Does juju team already have knowledge how the best split hooks and templates to provide support for different OS. AS i google somebody already have patches to deploy into centos. For example now - i want to rewrite wordpress charm to support debian wheezy. -- Vasiliy Tolstov, e-mail:

Re: split charm templates and logic for different os (ubuntu/debian/centos)

2014-10-10 Thread Marco Ceppi
There shouldn't be much in the WordPress charm that's Ubuntu specific and should work fine on Debian. Some charms already have logic to support multiple Ubuntu releases by either coding switches in the hooks or by leveraging a configuration management tool like chef or puppet which abstracts that.