Created
February 3, 2016 23:11
-
-
Save MattMencel/6bc99789e1a66ee3623d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================================================================ | |
Recipe Compile Error in /var/chef/cache/cookbooks/wiu-base/recipes/default.rb | |
================================================================================ | |
RuntimeError | |
------------ | |
Unknown package type encountered for install: | |
Cookbook Trace: | |
--------------- | |
/var/chef/cache/cookbooks/omnibus_updater/recipes/installer.rb:53:in `block in from_file' | |
/var/chef/cache/cookbooks/omnibus_updater/recipes/installer.rb:42:in `from_file' | |
/var/chef/cache/cookbooks/omnibus_updater/recipes/default.rb:26:in `from_file' | |
/var/chef/cache/cookbooks/wiu-base/recipes/default.rb:131:in `from_file' | |
Relevant File Content: | |
---------------------- | |
/var/chef/cache/cookbooks/omnibus_updater/recipes/installer.rb: | |
46: when '.rpm' | |
47: command "rpm -Uvh --oldpackage #{File.join(node[:omnibus_updater][:cache_dir], File.basename(remote_path))}" | |
48: when '.sh' | |
49: command "/bin/sh #{File.join(node[:omnibus_updater][:cache_dir], File.basename(remote_path))}" | |
50: when '.solaris' | |
51: command "pkgadd -n -d #{File.join(node[:omnibus_updater][:cache_dir], File.basename(remote_path))} -a /tmp/nocheck chef" | |
52: else | |
53>> raise "Unknown package type encountered for install: #{File.extname(remote_path)}" | |
54: end | |
55: action :nothing | |
56: if(node[:omnibus_updater][:restart_chef_service]) | |
57: notifies :restart, resources(:service => 'chef-client'), :immediately | |
58: end | |
59: notifies :create, resources(:ruby_block => 'omnibus chef killer'), :immediately | |
60: end | |
61: | |
62: ruby_block 'Omnibus Chef install notifier' do |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment