It is created from another rake task.  It is based on the create config from last run rake task.  It is done by first running beaker on another node then telling it to create from last run.  Ideally because you failed and want to reuse the vcloud host.

-- 

Travis Fields

travis@puppetlabs.com 

Forge Module Engineer


Join us at PuppetConf 2014, September 22-24 in San Francisco

Register by May 30th to take advantage of the Early Adopter discount —save $349!

On Fri, May 30, 2014 at 6:09 PM, waynr <notifications@github.com> wrote:

>> @@ -0,0 +1,107 @@
>> +require 'yaml'
>> +
>> +namespace :beaker do
>> +  namespace :hosts do
>> +    ONE_DAY_IN_SECS = 24 * 60 * 60
>> +
>> +    desc "Generate a config for the Latest Hosts"
>> +    task :generate_config_for_latest_hosts  do
>> +       gen_conf_for_latest_hosts
>> +    end
>> +
>> +    def gen_conf_for_latest_hosts
>> +      preserved_config_hash = { 'HOSTS' => {} }
>> +
>> +      config_hash = YAML.load_file('log/latest/config.yml').to_hash
> Where does `log/latest/config.yml` come from? I am using the latest Beaker master branch for my local Beaker runs and I don't see this file anywhere. Also, it looks like this may be a typo. Should it be `log/latest/config.yml`?
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/puppetlabs/beaker/pull/276/files#r13257510