Skip to content

Instantly share code, notes, and snippets.

@poblahblahblah
Created July 5, 2017 20:21
Show Gist options
  • Save poblahblahblah/0529a0efb5bfec3052bb4f1c35aafe18 to your computer and use it in GitHub Desktop.
Save poblahblahblah/0529a0efb5bfec3052bb4f1c35aafe18 to your computer and use it in GitHub Desktop.
Recipe: nssm::default
* windows_zipfile[download nssm] action unzip
================================================================================
Error executing action `unzip` on resource 'windows_zipfile[download nssm]'
================================================================================
NameError
---------
No resource, method, or local variable named `ensure_rubyzip_gem_installed' for `Custom resource windows_zipfile from cookbook windows action provider "download nssm"'
Resource Declaration:
---------------------
# In C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/nssm/recipes/default.rb
7: windows_zipfile 'download nssm' do
8: path Chef::Config[:file_cache_path]
9: source src
10: overwrite true
11: checksum node['nssm']['sha256']
12: action :unzip
13: notifies :create, 'remote_file[install nssm]', :immediately
14: end
15:
Compiled Resource:
------------------
# Declared in C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/nssm/recipes/default.rb:7:in `from_file'
windows_zipfile("download nssm") do
action [:unzip]
retries 0
retry_delay 2
default_guard_interpreter :default
declared_type :windows_zipfile
cookbook_name "nssm"
recipe_name "default"
path "C:\\Users\\vagrant\\AppData\\Local\\Temp\\kitchen\\cache"
source "https://nssm.cc/ci/nssm-2.24-94-g9c88bc1.zip"
overwrite true
checksum "0bbe25025b69ebd8ab263ec4b443513d28a0d072e5fdd9b5cdb327359a27f96e"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment