Closed lonniev closed 9 years ago
Looks like http://stackoverflow.com/questions/17330374/including-a-chef-lwrp-from-another-cookbook will probably fix my ignorance.
That was it: don't include the recipe in one's default recipe and do add the depends line in one's metadata.rb for the recipe. Ok.
==> vb-tt-dev: [2014-12-01T16:03:48+00:00] INFO: file[ssh_known_hosts-github.com] created file /etc/ssh/ssh_known_hosts
==> vb-tt-dev: [2014-12-01T16:03:48+00:00] INFO: file[ssh_known_hosts-github.com] updated file contents /etc/ssh/ssh_known_hosts
I strongly expect this is pilot error. I added the ssh_known_hosts recipe to the Cheffile for librarian-chef, added an include_recipe import for ssh_known_hosts to my dependent recipe, remembered to run librarian_chef update for the vagrant's directory, and received this when I tried to use the ssh_known_hosts_entry LWRP in my recipe. What did I overlook?