The puppet-archipel module installs, configures and manages an Archipel cluster.
It is under development and for now only works with developer mode of Archipel.
- archipel::agent : hypervisor running archipel agent
- archipel::central_server : archipel central agent
- ejabberd: deal with ejabberd installation
See the vagrant/ directory for Archipel-in-a-box configuration allowing you to develop on ArchipelAgent on your laptop.
Here is how to create a development environment in a jiffy:
- Download Vagrant 1.7
- Download the vagrant-libvirt plugin :
vagrant plugin install vagrant-libvirt
- Download and install Vagrant for your OS
- Download and install virtualbox
- Check out submodules:
cd /path/to/puppet-archipel
git submodule init
git submodule update --remote --recursive
cd /path/to/puppet-archipel/vagrant/archipel/Archipel
./pull.sh
- Switch off the firewalld if under Redhat/Centos 7 or Fedora Linux environment for vagrant shared folder to be mounted:
sudo systemctl stop firewalld
cd /path/to/puppet-archipel/vagrant/archipel
- Bring up the environment with
vagrant --agent-count=3 up
, this will bring a 3 nodes environment - Your Archipel hacking environment will be ready in minutes and will prompt a ready to use URL as the first line of the vagrant command above like:
http://192.168.122.2/Archipel/?user=admin%40central-server.archipel.priv&password=admin&service=ws://192.168.122.2:5280/xmpp
Archipel source code is located in vagrant/archipel/Archipel. All modifications to the Archipel Agent code will be applied to all VMs. Except for the UI as it use a precompiled release from nightlies.
Have fun!