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

       Web browser: ---
            Bug ID: 51271
           Summary: Improving the way roles are added to the puppet
                    configuration
           Product: Tools
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: MediaWiki-Vagrant
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

At the moment, there are two ways to enable a role in the puppet configuration:
either by editing the Roles.yaml file in the root directory, or by editing
puppet/manifests/sites.pp

I want to point out that this can be confusing for someone who is not familiar
with the puppet machinery. As I am myself unfamiliar with it, here are the
questions which naturally came to my mind:
* how does puppet know how to use the Roles.yaml file?
* which file has precedence over which?

Maybe (and this is just a suggestion) it would be less confusing to have the
file sites.pp being automatically updated to reflect the content of Roles.yaml
and vice versa?

Is the Roles.yaml file really needed? Is it much simpler for the user to edit
Roles.yaml instead of puppet/manifests/sites.pp? Especially since it is just a
matter of commenting/uncommenting lines?

There are probably other reasons that I am missing here, but in any case, the
documentation should be updated to presently recommend editing the Roles.yaml
file.

-- 
You are receiving this mail because:
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