
On 3 August 2016 at 13:10, Russell Coker via luv-main <luv-main@luv.asn.au> wrote:
I've seen various reports of people using tools like puppet and chef for deploying systems.
I'm looking at setting up some scripts to create test images for Debian. The main use will be for testing SE Linux so I can test all the combinations of daemons that the policy should support. But I also plan to publish them for the benefit of other people.
What system do you recommend for creating such images? Puppet? Chef? Something else?
I've seen the current competing configuration management tools referred to as CAPS. The CAPS are Chef, Ansible, Puppet and SaltStack. CFEngine is apparently still a contender too, but I haven't seen it used much, and haven't touched it in over ten years. I assume it's become more user-friendly in the meantime.. If you want to compare the different syntaxes, I have a repo with some configs for each of the CAPS running in standalone mode (i.e. no master). https://github.com/furlongm/standalone-configuration-management To answer your original question though, I would probably also use packer to create the images. Packer has provisioners for local shell scripts, and also all four of the configuration management tools mentioned above: https://www.packer.io/docs/provisioners/shell-local.html https://www.packer.io/docs/provisioners/chef-solo.html https://www.packer.io/docs/provisioners/ansible-local.html https://www.packer.io/docs/provisioners/puppet-masterless.html https://www.packer.io/docs/provisioners/salt-masterless.html Cheers, Marcus.