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

       Web browser: ---
            Bug ID: 57542
           Summary: Apache is sometimes not restarted by puppet after
                    changes
           Product: MediaWiki-Vagrant
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Super-minor, but can cause some grief while debugging.

Steps to reproduce:
1. enable multimedia role (adds a redirect rule to apache)
2. run vagrant provision
3. disable multimedia role
4. run vagrant provision

Apache is restarted at step 2, but not at step 4.

Output:

gtisza@GergoTisza:~/Wikimedia/vagrant/MediaViewer$ vagrant enable-role
multimedia
Ok. Run 'vagrant provision' to commit your changes.

gtisza@GergoTisza:~/Wikimedia/vagrant/MediaViewer$ vagrant provision[default]
Running provisioner: puppet...
Running Puppet with site.pp...
warning: Could not retrieve fact fqdn
warning: Host is missing hostname and/or domain: mediawiki-vagrant
info: Applying configuration version '1385395790.e650445'
info: mount[files]: allowing mediawiki-vagrant access
notice: /Stage[main]/Mediawiki/File[/vagrant/settings.d]/mode: mode changed
'0775' to '0755'
notice: /Stage[main]/Role::Multimedia/Apache::Conf[thumb.php on
404]/File[/etc/apache2/site.d/devwiki/thumb-php-on-404]/ensure: created
info: /Stage[main]/Role::Multimedia/Apache::Conf[thumb.php on
404]/File[/etc/apache2/site.d/devwiki/thumb-php-on-404]: Scheduling refresh of
Service[apache2]
notice: /Stage[main]/Apache/Service[apache2]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Role::Multimedia/Mediawiki::Settings[thumb.php on
404]/File[/vagrant/settings.d/puppet-managed/10-thumb-php-on-404.php]/ensure:
created
notice: Finished catalog run in 3.80 seconds

gtisza@GergoTisza:~/Wikimedia/vagrant/MediaViewer$ vagrant disable-role
multimedia
Ok. Run 'vagrant provision' to commit your changes.

gtisza@GergoTisza:~/Wikimedia/vagrant/MediaViewer$ vagrant provision[default]
Running provisioner: puppet...
Running Puppet with site.pp...
warning: Could not retrieve fact fqdn
warning: Host is missing hostname and/or domain: mediawiki-vagrant
info: Applying configuration version '1385395818.e650445'
info: mount[files]: allowing mediawiki-vagrant access
notice: /Stage[main]/Mediawiki/File[/vagrant/settings.d]/mode: mode changed
'0775' to '0755'
notice:
/File[/vagrant/settings.d/puppet-managed/10-thumb-php-on-404.php]/ensure:
removed
notice: /File[/etc/apache2/site.d/devwiki/thumb-php-on-404]/ensure: removed
notice: Finished catalog run in 2.46 seconds

-- 
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