Page MenuHomePhabricator

vagrant enable-role followed by vagrant up should trigger a puppet run
Closed, DeclinedPublic

Description

Because not everyone is as awesome as we are about writing idempotent Puppet code, vagrant assumes Puppet runs are an expensive affairs, and it pities the user:

[default] VM already provisioned. Run `vagrant provision` or use `--provision` to force it

This behavior was added fairly recently. If the user just ran vagrant enable-role, the behavior is bogus: MediaWiki-Vagrant ought to know that the user needs a Puppet run to make the machine consistent with its roster of enabled roles.


Version: unspecified
Severity: normal

Details

Reference
bz61456

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:00 AM
bzimport set Reference to bz61456.
bzimport added a subscriber: Unknown Object (MLST).

This is now possible by configuring the Puppet provisioner to :run => 'always'.

See https://docs.vagrantup.com/v2/provisioning/basic_usage.html, section "Run once or always".

Not doing it yet since it's not backwards-compatible.

Bulk unassigning bugs from Ori.

bd808 triaged this task as Lowest priority.Dec 30 2014, 2:32 AM
bd808 subscribed.