lib/onceover/controlrepo.rb in onceover-3.2.0 vs lib/onceover/controlrepo.rb in onceover-3.2.1
- old
+ new
@@ -333,11 +333,11 @@
Onceover::Controlrepo.evaluate_template('.fixtures.yml.erb',binding)
end
def hiera_config_file
# try to find the hiera.iyaml file
- hiera_config_file = File.expand_path('./hiera.yaml',@spec_dir) if File.exist?(File.expand_path('./hiera.yaml',@spec_dir))
hiera_config_file = File.expand_path('./hiera.yaml',@root) if File.exist?(File.expand_path('./hiera.yaml',@root))
+ hiera_config_file = File.expand_path('./hiera.yaml',@spec_dir) if File.exist?(File.expand_path('./hiera.yaml',@spec_dir))
hiera_config_file
end
def hiera_config
begin