chef-run vs chef under systemd - different gem repos
问题 I'm trying to make chef swap the official rubygems repo with my own local one. It kind of does work but let's say 'not always'. More on that below. bash-4.2$ /opt/chef/embedded/bin/gem sources *** CURRENT SOURCES *** https://rubygems.org/ Chef is running under control of systemd. When I check in journal what chef has done so far I get Jan 14 07:39:24 myserver.srv chef-client[32274]: [2016-01-14T07:39:24+01:00] INFO: Processing execute[add_my_own_repo] action run (mycookbook::gem line 5) Jan