facebook / between-meals

A library to provide calculations between Chef diffs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add option to detect symlinks in cookbookdirs as cookbooks

jaymzh opened this issue · comments

It would be nice when handling multiple different environments to be able to treat these as changes so they can be detected and uploaded.

  • In Changes::Cookbook.initialize we should for each file store if it's a symlink
  • Add a config option for want_symlinks_to_count_as_cookbooks
  • Then in Changes::Cookbook.meaningful_cookbook_file? if the option is set and it's a symlink and it's in a cookbook dir, return true.

@jaymzh @mikedodge04 is there anything left to do here?

Closed by #74