CFEngine3 Node
Webhuis facilitates and encourages attendees to The CFEngine Roadshow to configure a blank VM of choice. We are in the process of supporting as many platforms as possible. We do have full support for debian_7 and debian_8 and partly ubuntu_14. We are working and in need of support for centos_*. We are working on opensuse_13. Mint, Gentoo, Raspberry Pi and Androids geeks are more than welcome.
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 demonstration 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
Centos 7
Netinstall CentOS-7.0-1406-x86_64-NetInstall.iso
- Zet eerst het netwerk aan
- Selecteer de mirror: http://mirror.centos.org/centos/7/os/x86_64/
CFEngine Roadshow Services
The CFEngine Roadshow offers services to support the creation and configuration of Nodes.
Private key cfetest
It is recommended to create a cfetest user on your preferred machine and have the enclosed private key available in the .ssh directory. Then create the file id_rsa with permissions 700 and copy the key content into the file. The passphrase of the key is CFEngine_Roadshow.
-----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: AES-128-CBC,A5D6E322AA20CF2FC2B1FBCB9A86AF57 +tgxD1apbr5OoxVXoIrSaF3Q3HyRcacnV4mliVB9NQ2xns4f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9wWGOvqfw6IZRv7vTOxsWdIuVmOjn1AJV9WSvmyFWrDdhPAfGx8BsBAow7npZ xO5S0tTi0MgWUqNBttTsBPAkTAzHLUE2xs1dfZtAFkgPKsOjlR4DsWEbVRLAcScf OLHjXCE8+TQVBrjMCYTZJo3mu/fZCnjTUGuaQcJFYi28zPU8dSAZ3b8ehWFMEUzv HMt4CgJzuvNx01kt84aimO1H5mYRLTDFofqwn1jDYjijWZ44ykeiZHrQGUwC6bLL A0Fwp2SIjjZFQrsgtdh+OerVp68UtZ3T5A4+WnbNWV7U8iWc2Edc4aw7+7zz9TyF eOn68ySVIcaTrepBML3xfCFTAUzvn4/KJyNC+HKr/pJe9RozXmIjZQXexib5mX87 VJ3u0PIbN458ls2kgP4EMbWpr1oInuzSKmWlIn5yCxQsLHQ2A0/vDu2451yGXoj1 Dc1y7CTBUrtDrZheuZ6MrSXJ7BO7yKPjcncUHkWZIfuMLJqjIChMRVHldvDXfQ/r WKnqs3hAgEF/GoCg5VGZJk/RECAQCNag7ZhPlrhqRGlXSwCXi2vBXUMc69Iejxc6 Ri0W3RBaIEvEg5Z8WGKCFhuZ2jJxn2FTvA7HROeWdfjIDbNj6xkmJEt3Somrdtdk 4gh+E/DKicjv9W13OBq9veOcn791oWkL1FJ/97MU4T65nGcV0nbb4IdvDxzsb0V0 ZnyZG5Ijv21NURlLMO2DGzQaWBxGzf4vhPL6bOY+hLneNQsnXMK/asmhxMhSp9+i GBTX1p+qOKnE+WHWyOyH0nPpR1goA02ZGcVx8KWssHoOSA7yKi6/rY0CoVeHiWFY LIWB2hLVDCICRRGCBcFWptrYy9/RT8odcjnCqfUds0r7i7ZdHf+njXVQukzLt0sV A6PdYdR9wS8FCNUbi/eqcsH+B6NU4oeiAkcHUw12upPNKRfaSoravkWJa2WkRHNF -----END RSA PRIVATE KEY-----
Utility Servers
Service | IP address |
---|---|
ipssys01.webhuis.nl | 10.168.0.1 |
cfeutl01.webhuis.nl | 10.168.0.10 |
aptutl01.webhuis.nl | 10.168.0.11 |
nfsutl01.webhuis.nl | 10.168.0.12 |
Local Mirrors
OS | Mirror | IP address |
---|---|---|
Debian | aptdeb01.webhuis.nl | 10.168.0.20 |
Centos 7 | rpmcos01.webhuis.nl | 10.168.0.22 |
OpenSuse | ||
Ubuntu 14.04 | aptubu01.webhuis.nl | 10.168.0.21 |
Supported Platforms
- Debian
- Centos / Fedora
- Suse
- Ubuntu
Please file a request if you do not find your preferred platform.
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.
Return to: Cfengine