Error with the assembly of the cook for the chef on ubuntu 12.04

I am trying to get a ruby ​​nginx / unicorn application server configured with a chef. The problem that I encountered is a dependency on a prefabricated assembly, which when launched leads to the result:

================================================================================ Error executing action `install` on resource 'package[build-essential]' ================================================================================ Chef::Exceptions::Exec ---------------------- apt-get -q -y install build-essential=11.5ubuntu2 returned 100, expected 0 

I am still new to the cook and don't know why this is happening. Any ideas?

+4
source share
1 answer

As soon as I posted this, it occurred to me that perhaps apt was not being updated first. Of course, I needed to install a suitable cookbook in the launch list before nginx. This solves the problem.

+15
source

Source: https://habr.com/ru/post/1435789/


All Articles