https://bugzilla.wikimedia.org/show_bug.cgi?id=71235

            Bug ID: 71235
           Summary: Add ability to choose between alternate roles
                    (redis/memcached, php5/hhvm, mysql/mariadb)
           Product: MediaWiki-Vagrant
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

We have several roles or potential roles that provide conflicting or redundant
services: HHVM vs PHP5, Redis vs Memcached, MySQL va MariaDB. In a "normal"
Puppet usage, the site manifest would be used to say "setup hostA with hhvm,
redis and mariadb" and "setup hostB with php5, memcached and mysql".

Our use case is strange though. As far as puppet is concerned we have one host
with one configuration. We want that host to "just work" for a new
MediaWiki-Vagrant user in that when they run `./setup.sh; vagrant up` we want a
VM to be created that has some PHP runtime, some cache service and some db to
power a running wiki.

It would be really neat to find a way to create a "virtual class" or interface
of some type that can be used to provide choose one of many support for classes
that are applied to a host. This would optimally allow a default configuration
to be created and then let the user choose at some later time to swap variantA
for variantB. This gets even a little trickier for the database layer as we use
defined types like mysql::user and mysql::db from outside the mysql module.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to