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: v.tols...@selfip.ru
jabber: v...@selfip.ru

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


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.

Marco

On Fri, Oct 10, 2014 at 9:20 AM, Vasiliy Tolstov v.tols...@selfip.ru
wrote:

 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: v.tols...@selfip.ru
 jabber: v...@selfip.ru

 --
 Juju mailing list
 Juju@lists.ubuntu.com
 Modify settings or unsubscribe at:
 https://lists.ubuntu.com/mailman/listinfo/juju

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju