When ark provider is used from within external cookbook, the source for add_to_path.sh.erb is looked up in the external cookbook. This leads to failure. Adding explicit cookbook attribute value set to ark itself will prevent it from happening. According to docs, default would be 'Default value: nil (the current cookbook)'. However it seems to not work that way.