popularity question answers views user  
0
Cannot find a resource for runit_service on ubuntu version 12.04

I’m trying to install nginx on an amazon ec2 instance but I’m receiving an “Cannot find a resource for runit_service on ubuntu version 12.04” error.

What’s strange is that I am able to configure nginx in a virtual machine node managed by vagrant (running $ vagrant provision node_name).

My run list:

“run_list”: [

"recipe[runit]",
"recipe[nginx::source]" ]

Nginx configuration:

“nginx”: {

"install_method": "source",
"default_site_enabled": "false",
"user" : "www-data",
"source": {
  "modules": ["http_gzip_static_module","http_ssl_module"]
},
"version": "1.3.15"   }

I’m running

chef-solo -c /tmp/chef-solo/solo.rb -j /tmp/chef-solo/nodes/node.json

from the terminal.

This is the error stack trace: https://gist.github.com/anonymous/8fe2dfe655ce0a3d51e0

I’ll appreciate any thoughts.

Thanks.

more →
0 84  
0
Uninstall Nginx

Hello!
I’ve installed the nginx::source recipe from community cookbooks and now I want to remove it. How it’s possible with Chef?

more →
0 314  
0
Modifying the nginx recipe to use HttpRealIpModule

Hi,

Has anyone modified their nginx recipe to use HttpRealIpModule? If so, would they mind sharing how they did it?

Thanks!

Scott

more →
0 468