Last modified: 2014-07-10 16:38:19 UTC
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
This should be fixed by Misc::Evergreen['apache2'] which is defined in the apache module now. Please reopen if you can still recreate.