Fix for elasticsearch/puppet-elasticsearch#65.