Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.kitchen.local.yml missing in source path #831

Open
bob2build opened this issue Mar 24, 2018 · 2 comments
Open

.kitchen.local.yml missing in source path #831

bob2build opened this issue Mar 24, 2018 · 2 comments

Comments

@bob2build
Copy link

Description

INM1VCEUKHTD6:consul anmanoha$ omnibus new ct-consul-server
   identical  omnibus-ct-consul-server/Gemfile
   identical  omnibus-ct-consul-server/.gitignore
   identical  omnibus-ct-consul-server/README.md
   identical  omnibus-ct-consul-server/omnibus.rb
   identical  omnibus-ct-consul-server/config/projects/ct-consul-server.rb
   identical  omnibus-ct-consul-server/config/software/ct-consul-server-zlib.rb
Could not find ".kitchen.local.yml.erb" in any of your source paths. Your current source paths are:
/Users/anmanoha/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/omnibus-5.6.8/lib/omnibus/generator_files

Omnibus Version

5.6.8

Platform Version

Osx

Replication Case

gem install omnibus -v 5.6.8
omnibus new ct-consul-server

Build Output

INM1VCEUKHTD6:consul anmanoha$ omnibus new ct-consul-server
   identical  omnibus-ct-consul-server/Gemfile
   identical  omnibus-ct-consul-server/.gitignore
   identical  omnibus-ct-consul-server/README.md
   identical  omnibus-ct-consul-server/omnibus.rb
   identical  omnibus-ct-consul-server/config/projects/ct-consul-server.rb
   identical  omnibus-ct-consul-server/config/software/ct-consul-server-zlib.rb
Could not find ".kitchen.local.yml.erb" in any of your source paths. Your current source paths are:
/Users/anmanoha/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/omnibus-5.6.8/lib/omnibus/generator_files

@bob2build
Copy link
Author

bob2build commented Mar 24, 2018

Looks like the .kitchen.local.yml file is missing in gem package of 5.6.8. However, present in previous version 5.6.6. I can't find any other versions on rubygems.org

gem fetch omnibus -v 5.6.6
gem fetch omnibus -v 5.6.8
tar -xf omnibus-5.6.8.gem
tar -tf data.tar.gz | grep kitchen.local => returns no output
tar -xf omnibus-5.6.8.gem
tar -tf data.tar.gz | grep *kitchen.local => returns .kitchen.local.yml

@webframp
Copy link

Both .kitchen.yml.erb and .kitchen.local.yml.erb are missing. Could be a bug introduced by #820 from @tduffield that was merged by @scotthain, maybe File::FNM_DOTMATCH is needed for the glob or kitchen erb templates need to not be hidden files in generator_files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants