Hi,
I'm looking into using puppet to deploy different python applications to
different servers.
I want to be able to sandbox the different applications using virtenv.
A basic setup would be:
1. create user
2. install the virtual environment for that user
- -> as the user: virtualenv /userdir
3. Install package dependencies.
- -> as the user: easy_install <mypackage>.egg
This should install any dependencies.
Is this possible, or should I just host the basic user environment in my
RCS repository?
Has anyone used puppet to install eggs earlier? Do you have any tips?
kind regards,
Tarjei
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIY1ACYVRKCnSvzfIRAgQiAJ0UYfq4EOMUMqP6Y0jfZU8GFHVxdwCeMlQp
2eQeFUZfXKg1nsn0QRF576U=
=7l02
-----END PGP SIGNATURE-----
tarjei wrote:
> Has anyone used puppet to install eggs earlier? Do you have any tips?
>
I started writing a provider for easy_install a while back but quickly
discovered easy_install can't query installed eggs (there is some work
out there with yolk/egg but nothing solid) which makes it hard to manage
them. Nor is there a good uninstall mechanism.
Regards
James Turnbull
- --
Author of:
* Pulling Strings with Puppet
(http://www.amazon.com/gp/product/1590599780/)
* Pro Nagios 2.0
(http://www.amazon.com/gp/product/1590596099/)
* Hardening Linux
(http://www.amazon.com/gp/product/1590594444/)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIY2Se9hTGvAxC30ARAlP4AJ9uarIvdk6ehXiYJ85Ho4CO6BPf/wCgiVwB
vzVG+YdIL7I0m3gcU4UM79k=
=DeB/
-----END PGP SIGNATURE-----