Sha256: ff82738fdd6f42c85781a035eedebcda6cd88571facfcb2e0f36bbdf0671ee96
Contents?: true
Size: 1.78 KB
Versions: 3
Compression:
Stored size: 1.78 KB
Contents
# # Cookbook Name:: nginx # Attributes:: source # # Author:: Jamie Winsor (<jamie@vialstudios.com>) # # Copyright 2012-2013, Riot Games # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # include_attribute 'nginx::default' default['nginx']['source']['version'] = node['nginx']['version'] default['nginx']['source']['prefix'] = "/opt/nginx-#{node['nginx']['source']['version']}" default['nginx']['source']['conf_path'] = "#{node['nginx']['dir']}/nginx.conf" default['nginx']['source']['sbin_path'] = "#{node['nginx']['source']['prefix']}/sbin/nginx" default['nginx']['source']['default_configure_flags'] = %W( --prefix=#{node['nginx']['source']['prefix']} --conf-path=#{node['nginx']['dir']}/nginx.conf --sbin-path=#{node['nginx']['source']['sbin_path']} ) default['nginx']['configure_flags'] = [] default['nginx']['source']['version'] = node['nginx']['version'] default['nginx']['source']['url'] = "http://nginx.org/download/nginx-#{node['nginx']['source']['version']}.tar.gz" default['nginx']['source']['checksum'] = 'b5608c2959d3e7ad09b20fc8f9e5bd4bc87b3bc8ba5936a513c04ed8f1391a18' default['nginx']['source']['modules'] = %w( nginx::http_ssl_module nginx::http_gzip_static_module ) default['nginx']['source']['use_existing_user'] = false
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
from-scratch-0.7.0 | cookbooks/nginx/attributes/source.rb |
from-scratch-0.6.0 | cookbooks/nginx/attributes/source.rb |
from-scratch-0.5.0 | cookbooks/nginx/attributes/source.rb |