Error during bootstrap new node
================================================================================
Recipe Compile Error in /var/chef/cache/cookbooks/omnibus_updater/libraries/omnitrucker.rb
================================================================================
LoadError
---------
cannot load such file -- chef/rest
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/omnibus_updater/libraries/omnitrucker.rb:20:in `<top (required)>'
Relevant File Content:
----------------------
/var/chef/cache/cookbooks/omnibus_updater/libraries/omnitrucker.rb:
13: # Unless required by applicable law or agreed to in writing, software
14: # distributed under the License is distributed on an "AS IS" BASIS,
15: # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16: # See the License for the specific language governing permissions and
17: # limitations under the License.
18: #
19:
20>> require 'chef/rest'
21: require 'chef/mash'
22: require 'net/http'
23:
24: Chef::Mash = Mash unless Chef.constants.include?(:Mash)
25:
26: module OmnibusTrucker
27: class << self
28: URL_MAP = {
29: p: :platform, pv: :platform_version, m: :machine,
System Info:
------------
chef_version=13.0.118
platform=ubuntu
platform_version=16.04
ruby=ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
program_name=chef-client worker: ppid=3696;start=06:05:36;
executable=/opt/chef/bin/chef-client