lib/onceover/controlrepo.rb in onceover-3.2.8 vs lib/onceover/controlrepo.rb in onceover-3.3.0
- old
+ new
@@ -437,19 +437,23 @@
Onceover::Controlrepo.init_write_file(generate_onceover_yaml(repo), repo.onceover_yaml)
# [DEPRECATION] Writing nodesets is deprecated due to the removal of Beaker"
#Onceover::Controlrepo.init_write_file(generate_nodesets(repo),repo.nodeset_file)
init_write_file(
evaluate_template('pre_conditions_README.md.erb', binding),
- File.expand_path('./pre_conditions/README.md', repo.spec_dir))
+ File.expand_path('./pre_conditions/README.md', repo.spec_dir)
+ )
init_write_file(
evaluate_template('factsets_README.md.erb', binding),
- File.expand_path('./factsets/README.md', repo.spec_dir))
+ File.expand_path('./factsets/README.md', repo.spec_dir)
+ )
init_write_file(
evaluate_template('Rakefile.erb', binding),
- File.expand_path('./Rakefile', repo.root))
+ File.expand_path('./Rakefile', repo.root)
+ )
init_write_file(
evaluate_template('Gemfile.erb', binding),
- File.expand_path('./Gemfile', repo.root))
+ File.expand_path('./Gemfile', repo.root)
+ )
# Add .onceover to Gitignore
gitignore_path = File.expand_path('.gitignore', repo.root)
if File.exists? gitignore_path
gitignore_content = (File.open(gitignore_path, 'r') {|f| f.read }).split("\n")