tacitknowledge / aem-cookbook

Chef cookbook for Adobe AEM
79 stars 65 forks source link

Dispatcher modules is being downloaded having extra tar.gz as an extension #68

Open amitcsknit opened 7 years ago

amitcsknit commented 7 years ago

Provided below attributes for dispatcher default[:aem][:dispatcher][:dispatcher_file_cookbook] = 'dispatcher-apache2.2-4.2.2.so' default[:aem][:dispatcher][:webserver_type] = 'apache2.2' default[:aem][:dispatcher][:version] = '4.2.2'

Logs are as below while running cookbook for aem 6.1 on ubuntu .

ark("dispatcher-apache2.2-linux-x86-64-4.2.2.tar.gz") do provider LWRP provider ark from cookbook ark action [:cherry_pick] updated true updated_by_last_action true retries 0 retry_delay 2 default_guard_interpreter :default declared_type :ark cookbook_name "aem" url "https://www.adobeaemcloud.com/content/companies/public/adobe/dispatcher/dispatcher/_jcr_content/top/download_24/file.res/dispatcher-apache2.2-linux-x86-64-4.2.2.tar.gz" creates "modules/dispatcher-apache2.2-*4.2.2.so" path "/usr/lib/apache2/modules" extension "tar.gz" release_file "/var/chef/cache/dispatcher-apache2.2-linux-x86-64-4.2.2.tar.gz.tar.gz"

ERROR: ark[dispatcher-apache2.2-linux-x86-64-4.2.2.tar.gz] (/var/chef/cache/cookbooks/aem/providers/dispatcher.rb line 57) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[cherry_pick modules/dispatcher-apache2.2-4.2.2.so from /var/chef/cache/dispatcher-apache2.2-linux-x86-64-4.2.2.tar.gz.tar.gz] (/var/chef/cache/cookbooks/ark/providers/default.rb line 243) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2' clone3 ---- Begin output of /bin/tar xzf /var/chef/cache/dispatcher-apache2.2-linux-x86-64-4.2.2.tar.gz.tar.gz -C /usr/lib/apache2/modules modules/dispatcher-apache2.2-4.2.2.so --strip-components=1 ----