thias/puppet-libvirt — pull request #41 by kakwa (2014-12-08 12:51:29+00:00)
Title: force language to english for virsh

Set environment variable LC_ALL to 'en_US.utf8' in order to force virsh output in English.
Starting at least from version 1.1.1 (CentOS/RHEL 7), virsh is (partially) internationalized.
Example:

$ export LC_ALL=fr_FR.utf8
$ virsh -q net-list --all
br0 actif yes yes

$ export LC_ALL=en_US.utf8
$ virsh -q net-list --all
br0 active yes yes

It doesn't play well with various execs in this module, because unless or onlyif conditions 'greps' on "active".