Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
amitcsknit opened this issue Aug 3, 2017 · 0 comments

Comments

@amitcsknit
Copy link

*****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 ----

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant