Switching to juju-mongodb

James Page james.page at ubuntu.com
Wed Jan 22 09:41:21 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 21/01/14 22:36, Curtis Hovey-Canonical wrote:
> I want to start testing the packaging rules to include
> juju-mongodb with juju-local. Reading the code in provider local, I
> believe juju will fail because it requires mongodb-server. It will
> install it for trusty.
> 
> How do we want to solve this? Juju could see that the version is 
> trusty or newer and choose to install juju-mongodb. We might
> consider a metapackage that juju installs, and we create the
> packages to know which mongodb to get.

How about you check to see if juju-mongodb is available for install?
That way if we do decide to backport for < 14.04 its a no-op from
Juju's perspective.  This approach could be applied across all providers.

Also note that the binaries are installed into /usr/lib/juju/bin
instead of /usr/bin.  So maybe for the local provider its better just
to check to see if /usr/lib/juju/bin/mongod exists? we can then manage
which mongod for which release via package dependencies.

Cheers

James

- -- 
- -- 
James Page
Ubuntu and Debian Developer
james.page at ubuntu.com
jamespage at debian.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJS35JAAAoJEL/srsug59jDWlAQAJvQ7y+pHpD5+EVoMOJBuwCT
/7T+eZ6KRyuP86nGm8mk5cHl1OS8jo1s5ubvbf3Ep1vjyXORoza6hyfHqerkR0uI
5A7RMTgRoYo5keg2MGfRpxI46knrtWQpUApl3/0O6kW77skkztbcouTx58QQW0Zu
L5QtdBsMDpoyEK8rTfOQyuLPmrsO1lpSnU3NHCYSmo2GTVobMEoSpZnUKR2BDaI2
Y+JKlfCmZHqGIy+ccyQHLm+en851/wklT/CLQY16yqL6MzSPOO9x//byF2TjwaWO
VzQJ8mB1+xhAyJQEcbekOGnxQjvN8Z39Z2o+/NARHyLIjWu6P1Jtd3hA+avtXjVg
tHp1i3N/3vhyqfAPintEs8xcFk1wB3wGwczSpJ3q5frPC6bl8kLgiOunUzsfDbNP
WP3Ap2j8dwrgQhGyIaJUNAM+0E1Z0DYCq9llJ3h+6CwFSVeYoBVRbG0lXbb4orLu
TnTQf6HYfxy211LXEBt6qtTY53h/khFOPuxUhZkVoxJ02WZLg97UBy7Rm1L4gAnc
wmKiKWQ5PdqYK/ZeQwmLS0diLwq5QDde+1SJUUGFggS2q347jwbvu/wFLM+0MPph
aZeTQoU5Nlcp1iXa50Zu4NgF9KXJ7ZLWJPb9+M/DvFi029e6wBeAFtYpoEPXircJ
2zZTXLJfCNYeHLyqNqLD
=VzwN
-----END PGP SIGNATURE-----



More information about the Juju-dev mailing list