Chef Cookbook - OpenStack DNS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dashboard.rb 918B

1234567891011121314151617181920212223242526272829303132
  1. # encoding: UTF-8
  2. #
  3. # Cookbook Name:: openstack-dns
  4. # Recipe:: dashboard
  5. #
  6. # Copyright 2017, x-ion Gmbh
  7. #
  8. # Licensed under the Apache License, Version 2.0 (the "License");
  9. # you may not use this file except in compliance with the License.
  10. # You may obtain a copy of the License at
  11. #
  12. # http://www.apache.org/licenses/LICENSE-2.0
  13. #
  14. # Unless required by applicable law or agreed to in writing, software
  15. # distributed under the License is distributed on an "AS IS" BASIS,
  16. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17. # See the License for the specific language governing permissions and
  18. # limitations under the License.
  19. #
  20. class ::Chef::Recipe
  21. include ::Openstack
  22. end
  23. platform_options = node['openstack']['dns']['platform']
  24. platform_options['designate_dashboard_packages'].each do |pkg|
  25. package pkg do
  26. options platform_options['package_overrides']
  27. action :upgrade
  28. end
  29. end