Web browser: ---
            Bug ID: 58681
           Summary: VM images duplicate
           Product: Wikimedia Labs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: Unprioritized
         Component: Infrastructure
    Classification: Unclassified
   Mobile Platform: ---

It looks as if operations/puppet:modules/labs_vmbuilder/files/postinst.copy
copies the WMF pinning to /etc/apt/preferences.d/wikimedia.pref.  However,
/etc/apt/preferences.d/wikimedia is created by
operations/puppet:modules/apt/manifests/init.pp with (almost) the same content:

| scfc@toolsbeta-mariadb-test5:~$ diff -u
| --- /etc/apt/preferences.d/wikimedia    2013-12-18 17:54:53.194063237 +0000
| +++ /etc/apt/preferences.d/wikimedia.pref       2012-05-15 19:32:09.923918775
| @@ -1,3 +1,4 @@
| +Explanation: Prefer Wikimedia APT repository packages in all cases
|  Package: *
|  Pin: release o=Wikimedia
|  Pin-Priority: 1001
| scfc@toolsbeta-mariadb-test5:~$

So (in theory) changes to /etc/apt/preferences.d/wikimedia triggered by
operations/puppet:modules/apt/manifests/init.pp might be ineffective as
/etc/apt/preferences.d/wikimedia.pref will remain lingering.  These should be
combined as /etc/apt/preferences.d/wikimedia.

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

Reply via email to