Opscode Chef nginx compile from source issue reports successful run but does nothing
Posted
by
v_abhi_v
on Server Fault
See other posts from Server Fault
or by v_abhi_v
Published on 2012-12-19T02:49:09Z
Indexed on
2012/12/19
5:04 UTC
Read the original article
Hit count: 476
I am trying to install nginx from source in Opscode Chef and its bit weird, it runs complaining nothing but does not install it either.
This is how my role attributes look like looks like
"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"
]
}
},
The chef log shows:
[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
I am clueless on what's going on :(
© Server Fault or respective owner