CFEngine3 Node
Webhuis facilitates and encourages attendees to The CFEngine Roadshow to configure a blank VM of choice.
Contents
Pre requisities
Fair use policy
Every individual who is using the facilities of The CFEngine Roadshow states he or she complies with the following:
- Will follow the instuctions given during The CFEngine Roadshow
- Will not disturb The CFEngine Roadshow by any kind of attacks to any of the The CFEngine Roadshow systems, it is a live demonstartion not a Cracker Camp
- Will not copy Commercial Software to any of the common CFEngine Roadshow utility systems
- Will report if the number of bootstrapped agents exceeds the count of ten, in order to receive an award
Happy bootstrapping!
Create a blank Virtual Machine
Please have your bare Virtual Machine ready before you take part in The CFEngine Roadshow. Please install a bare machine and make it as lean as possible. You even do not need to install ssh, we probably replace it anyway, just use VNC.
We assume a KVM VM. Good descriptions for are avaiable here virt-install. Example code:
# qemu-img create -f qcow2 /data/centos-6.4.qcow2 10G # virt-install --virt-type kvm --name centos-6.4 --ram 1024 \ --cdrom=/data/CentOS-6.4-x86_64-netinstall.iso \ --disk path=/data/centos-6.4.qcow2,size=10,format=qcow2 \ --network network=default\ --graphics vnc,listen=0.0.0.0 --noautoconsole \ --os-type=linux --os-variant=rhel6
Images
With efficient use of bandwidth in mind the preferred method of installation is a netinstall, we assume x86_64. The CFEngine Roadshow uses local mirrors and needs no external connection in order to be able to install and configure guest VM's.
CFEngine Community
Please install CFEngine 3.6.2-1 for your installation method of choice.
OS | Package |
---|---|
Debian CFEngine build | http://cfengine.package-repos.s3.amazonaws.com/community_binaries/cfengine-community_3.6.2-1_amd64.deb |
Debian Debian-team | Preferred, extra reward: https://github.com/Webhuis/Cfengine-debian |
RPM based | http://cfengine.package-repos.s3.amazonaws.com/community_binaries/cfengine-community-3.6.2-1.x86_64.rpm |
Please keep in mind you have to wait for The CFEngine Roadshow to be available before you bootstrap your VM.
Naming convention
We use a naming convention in order to determine the role of a node*.
Role | Mnemonic |
---|---|
apt_cacher | apt |
ips_server | ips |
nfs_server | nfs |
webapp_server | webapp |
- Check this before you use the node, the mnemonics may change.
Use the last four octets of your Mac Address after the mnemonic as a unique identifier.
You can always check the CFEngine code that manages the role of the server here:
The CFEngine Node Role
The CFEngine Debian-team package
Debian users are encouraged to build their own package from:
Debian-team
Instructions can be found here:
Debian-team Wiki
The CFEngine Debian-team is a community initiative to make available to the community a Debian standards compliant CFEngine-Community package. Jessie is near and we are determined to bring the up to date CFEngine-Community 3.6.2 to this version of Debian. One of the major spin off of the project is that the methods we developed are applicable to other distributions too, so we will rename our initiative to the CFEngine Packaging-team.
Supported Platforms
- Debian
- Centos / Fedora
- Suse
- Ubuntu
Please file a request if you do not find your preferred platform.
Return to: Cfengine