Opscode厨师nginx从源代码编译报告成功运行,但什么都不做

我试图从源代码安装Opscode主厨nginx,它有点奇怪,它没有任何抱怨,但不安装它。

这是我的angular色属性如何看起来像

"nginx":{ "default_site_enabled":false, "version":"1.2.6", "init_style":"init", "install_method":"source", "configure_flags":[ "--without-http_access_module", "--without-http_auth_basic_module", "--without-http_autoindex_module", "--without-http_browser_module", "--without-http_charset_module", "--without-http_fastcgi_module", "--without-http_memcached_module", "--without-http_referer_module", "--without-http_scgi_module", "--without-http_split_clients_module" ], "log_dir":"/var/log/nginx", "binary":"/opt/nginx/sbin/nginx", "source":{ "prefix":"/opt/nginx/dist", "modules":["http_ssl_module", "http_gzip_static_module" ] } }, 

厨师日志显示:

  [2012-12-19T02:37:44+00:00] INFO: Processing bash[compile_nginx_source] action run (nginx::source line 82) [2012-12-19T02:37:45+00:00] INFO: bash[compile_nginx_source] ran successfully 

我无能为力发生了什么:(

这是一个非常疯狂的错误在nginx配方(如下所述: https : //github.com/opscode-cookbooks/nginx/pull/13 )

问题是在angular色属性中包含版本属性。 只要删除,它会工作。

这确实花了我大量的时间,我希望这个信息在这里为别人节省时间。


这里有一个开放的bug https://github.com/opscode-cookbooks/nginx/pull/14与此相关。

为了解决这个问题,最好的方法是使用0.99.2版本的recipie