← Back to team overview

maas-devel team mailing list archive

Re: DHCP packaging

 

Hi Julian,

> > 
> > Now, 'maas-region-controller' should install the WebUI, wsgi, etc, etc.
> > 
> > Furthermore, I think it is important to separate 'maas-dhcp', given that
> > if the administrator doesn't want to manage DNS/DHCP with maas, then he
> > shouldn't need to have isc-dhcp-server as a Depends of
> > maas-cluster-controller. Note that Depends is required in order for the
> > package/software to work. A Recommends enhances the functionality of it.
> 
> It sounds like a Suggests is more appropriate based on the documentation I've 
> seen for Suggests vs Recommends (the latter being more of a strong dependency 
> that is used except in unusual cirumstances).

Correct. Though, maybe the idea is to tell the user to use the DNS/DHCP
server by default. But those who are integrating it in their own
existing network can simply install MAAS without installing its
Recommends. So maybe it is better to leave them as recommends. This is
very easy to change though, and it is not really a blocker.

> (Especially since I think the default is to install Recommends: unless 
> explicitly disabled?)

Correct. 

> maas
>  Depends: python-django-maas, maas-region-controller
>           maas-cluster-controller

> python-django-maas
>  Installs: src/maasserver, src/metadataserver
> 
> python-maas-provisioningserver
>  Installs: src/provisioningserver
> 
> maas-region-controller
>  Depends: python-django-maas, python-maas-provisioningserver
>  Installs: maas-txlongpoll upstart job, installs DB, apache2, etc.
> 
> maas-cluster-controller
>  Depends: python-maas-provisioningserver
>  Installs: maas-pserv, maas-celery upstart job (enlistment wrapper)
>  Suggests: maas-dns, maas-dhcp
> 
> maas-dhcp
>  Depends: isc-dhcp-server
>  (Virtual package, configures DHCP in postinst)
> 
> maas-dns
>  Depends: bind9, maas-dhcp
>  (Virtual package, sets up /etc/bind/maas etc)
> 
> maas-cli
>  Installs: src/apiclient
> 

Looks good to me. We can do improvements later.

> My only remaining packaging question, as an incompetent packager, is how to 
> split the existing file installation up between -region and -cluster packages.
> 
This should be that hard. I'll start working on it and have something
for you to look at.

Cheers.
-- 
Andres Rodriguez
Ubuntu Server Developer
Canonical USA Inc.
Andres Rodriguez <andres.rodriguez@xxxxxxxxxxxxx>



References