vagrant/plugins/provisioners
Darragh Bailey cae0bfdf9d provisioners/ansible: Replace inventory file instead of modify
When updating the inventory, write to a temp file and replace the
original once writing is complete, to allow for an atomic replacement
of the contents.

Ensures that ansible reading an inventory file will get either the old
or new contents, but never the truncated version of the file that
appears should you open it with 'w' mode set to replace the contents.

Solves the 'provided hosts list is empty' error, which is emitted by
ansible should it manage to be reading the inventory file just as it
was truncated, but before the new contents were flushed to disk.

Partially-Fixes: #6526
2016-03-31 17:44:20 +01:00
..
ansible provisioners/ansible: Replace inventory file instead of modify 2016-03-31 17:44:20 +01:00
cfengine #6674 CFEngine Provisioner Broken on Debian (http > https) 2015-12-16 14:25:23 +01:00
chef Use hostname if no node_name is set 2016-03-17 20:15:11 -05:00
docker #7074 - fixes does not allow provisioning when container name is specifed - since recent versions of Docker stores it's full container ID we no longer need to use the short version 2016-02-28 13:00:35 +01:00
file provisioners/file: validate source relative to Vagrantfile path 2015-07-06 14:22:00 -06:00
puppet Fixed an issue locating puppet binary. Issue-6876 2016-01-21 20:14:43 +01:00
salt Fixing the Salt bootstrap script for Windows 2015-11-18 21:55:32 -06:00
shell Convert env values to strings before escaping 2015-12-22 14:23:56 -05:00