User:Fab/Bcfg2
Bcfg2 helps system administrators produce a consistent, reproducible, and verifiable description of their environment, and offers visualization and reporting tools to aid in day-to-day administrative tasks.
Bcfg2 is based on a client-server architecture. The clients are responsible for interpreting their configurations provided by the Bcfg2 server. The clients are uploading a set of statistics to the server when the configuration is done.
Server
Install Bcfg2
apk add bcfg2 bcfg2-server -U -X http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
Start bcfg2-server
After the installation bcfg2-server is not running. To start the Bcfg2 server, use start.
/etc/init.d/bcfg2-server start
You will get a feedback about the status.
* Caching service dependencies [ ok ] * Starting bcfg2-server... [ ok ]
Stop bcfg2-server
If you want to stop the web server use stop.
/etc/init.d/bcfg2-server stop
Restart bcfg2-server
After changing the configuration file bcfg2-server needs to be restarted.
/etc/init.d/bcfg2-server restart
Runlevel
Normally you want to start the Bcfg2 server when the system is launching. This is done by adding bcfg2-server to the needed runlevel.
rc-update add bcfg2-server default
Client
Install Bcfg2
apk add bcfg2 -U -X http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted