create new tag
, view all tags

Automatic TWiki Deployment

This is a follow-up to my blog article with the same name. Over there, I wrote about why, and here's the how.

Disclaimer: As far as I know, the procedure described here has been used in my own environment only. These days I try to exploit this for test automation, so there'll likely be no changes in the stuff presented here for some time. Proceed at own risk.

Generally speaking, I am following the idea of "Infrastructure as Code" (see Wikipedia): The whole system is defined in plain text files, which can (and should!) easily be kept under version control. The text files are a "Vagrantfile" to define a VM and a bunch of YAML files for Ansible to define the configuration.

The current doc has two parts:

I am slightly concerned that this stuff introduces too many different tools and techniques into the mix, though only a tiny fraction of their features is needed. It is a trade-off: I happen to be sufficiently comfortable with Ansible and Vagrant, therefore it was easier to just use these tools instead of writing the same automation procedures focused on TWiki deployment myself.

Things to consider:

  • As of today, the playbooks automate deployment of one TWiki configuration with one web server (Apache). The only choice is the distribution, but this is restricted to Debian and Ubuntu. Other distributions need more work because of their different packaging tools (and package names!). How many different sets of configurations are useful?
  • A playbook to deploy TWiki could live a life of its own, and maybe be published in the Ansible repository. How relevant is Ansible to the TWiki market?
  • To what extent can this stuff be used for test automation? I'm currently experimenting with this topic.
  • All that is totally independent of the TWiki codebase itself, with a separate versioning, and irrelevant for TWiki customers. Should it go into a separate repository, e.g. on github? Or merged into TWikiDevContrib (which is in SVN, but not in Plugins)?
  • The whole concept defines the configuration of the operating system, the web server, and TWiki into some "Uber-config". Is it useful to create one uber-config file to specify all different options?

-- Contributors: Harald Jörg - 2018-01-08


TopicClassification BrainstormingIdea
TopicSummary Install and configure a VM with TWiki from plain text files


Topic revision: r1 - 2018-01-08 - HaraldJoerg
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.