Hi there,
Is there any compatibility issue with this cookbook?
I'm struggling to get it working, I got many errors during the setup:
Unable to find client.rb & solo.rb in the node side => I had to use the absolute path ('/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.5.3/lib/chef/application/solo.rb')
7-zip recipes issue (21>> if kernel['machine'] =~ /x86_64/)
nginx recipe issue (ssl not method error => config.ssl I think the config variable is empty)
-ssl issue: Error executing action 'create' on resource 'cookbook_file[/etc/ssl/private/dhparam.pem]' Cookbook 'cxn' (0.0.1) does not contain a file at any of these locations: files/ubuntu-16.04/dhparam.pem files/ubuntu/dhparam.pem files/default/dhparam.pem files/dhparam.pem
Currently I'm trying to launch directly the chef-solo from the nodes side:
sudo chef-solo -c /var/chef/solo.rb -j /var/chef/node.json -N ec2-XXXXXX.eu-west-1.compute.amazonaws.comsolo.rb file content: cookbook_path File.expand_path("../cookbooks", __FILE__)node.json file has the some content as the production.json file
But I still have same issues, I'm currently driving tests on 3 ec2 ubuntu 16.04 machines
Chef-solo version: 13.5.3
ruby version: ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
Hi there, Is there any compatibility issue with this cookbook? I'm struggling to get it working, I got many errors during the setup:
Unable to find client.rb & solo.rb in the node side => I had to use the absolute path
('/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.5.3/lib/chef/application/solo.rb')
7-zip recipes issue
(21>> if kernel['machine'] =~ /x86_64/)
ohai recipes issue
Ohai::Exceptions::AttributeNotFound => Error executing action
reloadon resource 'ohai[reload_nginx]'
nginx recipe issue (ssl not method error =>
config.ssl
I think the config variable is empty)-ssl issue:
Error executing action 'create' on resource 'cookbook_file[/etc/ssl/private/dhparam.pem]' Cookbook 'cxn' (0.0.1) does not contain a file at any of these locations: files/ubuntu-16.04/dhparam.pem files/ubuntu/dhparam.pem files/default/dhparam.pem files/dhparam.pem
Currently I'm trying to launch directly the chef-solo from the nodes side:
sudo chef-solo -c /var/chef/solo.rb -j /var/chef/node.json -N ec2-XXXXXX.eu-west-1.compute.amazonaws.com
solo.rb file content:cookbook_path File.expand_path("../cookbooks", __FILE__)
node.json file has the some content as the production.json file But I still have same issues, I'm currently driving tests on 3 ec2 ubuntu 16.04 machines Chef-solo version: 13.5.3 ruby version: ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]Thanks