Installation
aptitude install python-pip
or the manual instructions.Using pip
It's as simple as:
pip install bundlewrap
Note that you need at least Python 2.7 to run BundleWrap. Python 3 is supported as long as it's >= 3.3.
From git
Install basic requirements:
aptitude install build-essential git python-dev python-pip
Clone the GitHub repository:
cd /opt
git clone https://github.com/bundlewrap/bundlewrap.git
Use pip install -e to install in "development mode":
pip install -e /opt/bundlewrap
You can now try running the bw command line utility:
bw --help
That's it.
To update your install, just pull the git repository and have setup.py` check for new dependencies:
cd /opt/bundlewrap
git pull
python setup.py develop
Requirements for managed systems
While the following list might appear long, even very minimal systems should provide everything that's needed.
apt-get(only used with pkg_apt items)catchmodchowndconf(only used with dconf items)dpkg(only used with pkg_apt items)echofilefindgrepgroupaddgroupmodidinitctl(only used with svc_upstart items)mkdirmvpacman(only used with pkg_pacman items)pamac(only used with pkg_pamac items)rm- sftp-enabled SSH server (your home directory must be writable)
sudosha1sumstatsystemctl(only used with svc_systemd items)tar(only used with git_deploy items)useraddusermodzfsandzpool(only used with zfs_dataset and zfs_pool items)
Additionally, you need to pre-configure your SSH client so that it can connect to your nodes without having to type a password (including sudo on the node, which also must not have the requiretty option set).