PageRenderTime 35ms CodeModel.GetById 13ms RepoModel.GetById 1ms app.codeStats 0ms

/provisioner/daemon/plugins/automators/chef_solo_automator/chef_solo_automator/cookbooks/nginx/recipes/ipv6.rb

https://github.com/LXiong/loom
Ruby | 23 lines | 2 code | 1 blank | 20 comment | 0 complexity | d4e7b3e914b7d8c792606b491b45fb5b MD5 | raw file
Possible License(s): BSD-3-Clause, MPL-2.0-no-copyleft-exception, GPL-2.0, Apache-2.0, MIT
  1. #
  2. # Cookbook Name:: nginx
  3. # Recipe:: ipv6
  4. #
  5. # Author:: Alan Harper (alan@sct.com.au)
  6. #
  7. # Copyright 2013 Alan Harper
  8. #
  9. # Licensed under the Apache License, Version 2.0 (the "License");
  10. # you may not use this file except in compliance with the License.
  11. # You may obtain a copy of the License at
  12. #
  13. # http://www.apache.org/licenses/LICENSE-2.0
  14. #
  15. # Unless required by applicable law or agreed to in writing, software
  16. # distributed under the License is distributed on an "AS IS" BASIS,
  17. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18. # See the License for the specific language governing permissions and
  19. # limitations under the License.
  20. #
  21. node.run_state['nginx_configure_flags'] =
  22. node.run_state['nginx_configure_flags'] | ['--with-ipv6']