From Sludgy Terrapin, 1 Week ago, written in Plain Text.
This paste will check out in 10 Months.
Embed
  1.        [2019-11-07T22:06:28+00:00] WARN: Acme library dependency 'acme-client' not loaded: cannot load such file -- acme-client
  2.        [2019-11-07T22:06:28+00:00] WARN: Resource systemd_unit from the client is overriding the resource from a cookbook. Please upgrade your cookbook or remove the cookbook from your run_list.
  3.        [2019-11-07T22:06:28+00:00] WARN: Provider systemd_unit from the client is overriding the provider from a cookbook. Please upgrade your cookbook or remove the cookbook from your run_list.
  4.        [2019-11-07T22:06:28+00:00] WARN: Resource systemd_unit from the client is overriding the resource from a cookbook. Please upgrade your cookbook or remove the cookbook from your run_list.
  5.        [2019-11-07T22:06:28+00:00] WARN: Provider systemd_unit from the client is overriding the provider from a cookbook. Please upgrade your cookbook or remove the cookbook from your run_list.
  6.        [2019-11-07T22:06:28+00:00] WARN: Resource cron_d from the client is overriding the resource from a cookbook. Please upgrade your cookbook or remove the cookbook from your run_list.
  7.        [2019-11-07T22:06:28+00:00] WARN: Resource chef_handler from the client is overriding the resource from a cookbook. Please upgrade your cookbook or remove the cookbook from your run_list.
  8.        [2019-11-07T22:06:28+00:00] WARN: Resource sysctl_param from the client is overriding the resource from a cookbook. Please upgrade your cookbook or remove the cookbook from your run_list.
  9.        [2019-11-07T22:06:28+00:00] WARN: Resource zypper_repo from the client is overriding the resource from a cookbook. Please upgrade your cookbook or remove the cookbook from your run_list.
  10.        
  11.        ================================================================================
  12.        Recipe Compile Error in /tmp/kitchen/cache/cookbooks/osl-acme/recipes/server.rb
  13.        ================================================================================
  14.        
  15.        NoMethodError
  16.        -------------
  17.        undefined method `content' for ChefSystemdCookbook::UnitResource
  18.        
  19.        Cookbook Trace:
  20.        ---------------
  21.          /tmp/kitchen/cache/cookbooks/osl-acme/recipes/server.rb:74:in `block in from_file'
  22.          /tmp/kitchen/cache/cookbooks/osl-acme/recipes/server.rb:73:in `from_file'
  23.        
  24.        Relevant File Content:
  25.        ----------------------
  26.        /tmp/kitchen/cache/cookbooks/osl-acme/recipes/server.rb:
  27.        
  28.         67:    touch /opt/chef/embedded/ssl/certs/PEBBLE-MINICA-IS-INSTALLED
  29.         68:    EOC
  30.         69:    creates '/opt/chef/embedded/ssl/certs/PEBBLE-MINICA-IS-INSTALLED'
  31.         70:  end
  32.         71:  
  33.         72:  if node['init_package'] == 'systemd'
  34.         73:    systemd_unit 'pebble.service' do
  35.         74>>     content node['osl-acme']['pebble']['systemd']
  36.         75:      action [:create, :enable, :start]
  37.         76:    end
  38.         77:  else
  39.         78:    cookbook_file '/etc/init.d/pebble' do
  40.         79:      source 'pebble.init'
  41.         80:      mode '0755'
  42.         81:    end
  43.         82:  
  44.         83:    service 'pebble' do
  45.        
  46.        System Info:
  47.        ------------
  48.        chef_version=14.14.29
  49.        platform=centos
  50.        platform_version=7.7.1908
  51.        ruby=ruby 2.5.7p206 (2019-10-01 revision 67816) [x86_64-linux]
  52.        program_name=/opt/chef/bin/chef-solo
  53.        executable=/opt/chef/bin/chef-solo