Running chefdk on Windows 10 with hyperv. I can use kitchen create to create Windows VMs and it works fine but I just tried a Linux VM and I’m getting this errror: Now it does create a VM which I can manually ssh into via PuTTY or from cmd via openssh for Windows so I don’t know why its hanging-
Tag: chef-recipe
Chef – using a for loop with SQLEOH
I have a bash resource which is failing when attempting to loop through some ddl scripts. The same syntax without a for loop (and literal script name) works fine in Chef, and it all works including with the for loop in a terminal: The errors I am getting indicate a problem with the SQLEOH delimiter and unexpected end-of-file. What is
Using a Chef recipe to append multiple lines to a config file
I’m trying to create a Chef recipe to append multiple lines (20-30) to a specific config file. I’m aware the recommended pattern is to change entire config files rather than just appending to a file, but I dislike this approach for multiple reasons. So far the only solution I found was to use a cookbook_file and then use a bash