Hi All,
I am getting this error on few servers and the recipe works file on other servers.
its s simple bash code. whenever I use bash resource I am getting this error
[root@chefworkstation recipes]# cat /root/chef-repo/.chef/local-mode-cache/cache/chef-stacktrace.out
Generated at 2016-08-25 01:45:23 -0400
Errno::ELOOP: bash[/etc/sysconfig/network] (@recipe_files::/root/chef-repo/cookbooks/post_config/recipes/zeroconf.rb line 3) had an error: Errno::ELOOP: Too many levels of symbolic links - “bash” “/tmp/chef-script20160825-16448-p9f0ye”
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.6/lib/mixlib/shellout/unix.rb:338:in exec' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.6/lib/mixlib/shellout/unix.rb:338:in
block in fork_subprocess’