I have a simple beginner question about keeping my chef-repo in sync with what’s on the chef server.
Here is the steps I took to create a new role (workstation is fedora 23):
knife role create windows_base
Then when I do:
knife role list
I can see the new windows_base role appearing, however I do not see a json file created under roles. When I push this to git this file wont exist?
So when I go onto a different workstation and pull everything to that workstation, the role windows_base wont exist. Why is there no json file created when I do knife role create windows_base and there obviously is when creating a role manually using a .rb file.
Simply put - how can I keep my chef-repo in sync with git if there is no file created and the role is directly created on the server?