Ensuring copyright banner exists

This commit is contained in:
galstrom21 2012-07-23 21:34:14 -05:00
parent 583f46ef4c
commit c7d76e9a2b
17 changed files with 72 additions and 21 deletions

View File

@ -1,3 +1,19 @@
#
# Copyright 2012, Rackspace Hosting, Inc.
#
# 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.
#
from keystoneclient.v2_0 import Client as KeystoneClient
from novaclient.client import Client as NovaClient
from novaclient import exceptions

View File

@ -3,8 +3,26 @@ license "Apache 2.0"
description "Installs and configures Openstack"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.8"
# recipe "mysql", "Includes the client recipe to configure a client"
# recipe "mysql::client", "Installs packages required for mysql clients using run_action magic"
api-ec2.rb compute.rb nova-common.rb nova-setup.rb
api-metadata.rb default.rb nova-db-monitoring.rb scheduler.rb
api-os-compute.rb libvirt.rb nova-rsyslog.rb vncproxy.rb
api-os-volume.rb network.rb nova-scheduler-patch.rb volume.rb
recipe "api-ec2", ""
recipe "api-metadata", ""
recipe "api-os-compute", ""
recipe "api-os-volume", ""
recipe "compute", ""
recipe "default", ""
recipe "libvirt", ""
recipe "network", ""
recipe "nova-common", ""
recipe "nova-db-monitoring", ""
recipe "nova-rsyslog", ""
recipe "nova-scheduler-patch", ""
recipe "nova-setup", ""
recipe "scheduler", ""
recipe "vncproxy", ""
recipe "volume", ""
%w{ ubuntu fedora }.each do |os|
supports os

View File

@ -2,7 +2,7 @@
# Cookbook Name:: nova
# Recipe:: api-ec2
#
# Copyright 2009, Rackspace Hosting, Inc.
# Copyright 2012, Rackspace Hosting, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -15,6 +15,7 @@
# 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.
#
::Chef::Recipe.send(:include, Opscode::OpenSSL::Password)
include_recipe "nova::nova-common"

View File

@ -1,8 +1,8 @@
#
# Cookbook Name:: nova
# Recipe:: api
# Recipe:: api-metadata
#
# Copyright 2009, Rackspace Hosting, Inc.
# Copyright 2012, Rackspace Hosting, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.

View File

@ -2,7 +2,7 @@
# Cookbook Name:: nova
# Recipe:: api-os-compute
#
# Copyright 2009, Rackspace Hosting, Inc.
# Copyright 2012, Rackspace Hosting, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -15,6 +15,7 @@
# 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.
#
::Chef::Recipe.send(:include, Opscode::OpenSSL::Password)
include_recipe "nova::nova-common"

View File

@ -1,8 +1,8 @@
#
# Cookbook Name:: nova
# Recipe:: api
# Recipe:: api-os-volume
#
# Copyright 2009, Rackspace Hosting, Inc.
# Copyright 2012, Rackspace Hosting, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.

View File

@ -2,7 +2,7 @@
# Cookbook Name:: nova
# Recipe:: compute
#
# Copyright 2009, Rackspace Hosting, Inc.
# Copyright 2012, Rackspace Hosting, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.

View File

@ -2,7 +2,7 @@
# Cookbook Name:: nova
# Recipe:: default
#
# Copyright 2009, Rackspace Hosting, Inc.
# Copyright 2012, Rackspace Hosting, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
#
# Cookbook Name:: openstack
# Cookbook Name:: nova
# Recipe:: libvirt
#
# Copyright 2012, Rackspace Hosting, Inc.

View File

@ -2,7 +2,7 @@
# Cookbook Name:: nova
# Recipe:: network
#
# Copyright 2009, Rackspace Hosting, Inc.
# Copyright 2012, Rackspace Hosting, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.

View File

@ -2,7 +2,7 @@
# Cookbook Name:: nova
# Recipe:: common
#
# Copyright 2009, Rackspace Hosting, Inc.
# Copyright 2012, Rackspace Hosting, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -16,6 +16,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
include_recipe "nova::nova-rsyslog"
include_recipe "osops-utils::autoetchosts"

View File

@ -1,8 +1,8 @@
#
# Cookbook Name:: nova
# Recipe:: default
# Recipe:: nova-rsyslog
#
# Copyright 2009, Rackspace Hosting, Inc.
# Copyright 2012, Rackspace Hosting, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.

View File

@ -2,7 +2,7 @@
# Cookbook Name:: nova
# Recipe:: nova-scheduler-patch
#
# Copyright 2009, Rackspace Hosting, Inc.
# Copyright 2012, Rackspace Hosting, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.

View File

@ -2,7 +2,7 @@
# Cookbook Name:: nova
# Recipe:: nova-setup
#
# Copyright 2009, Rackspace Hosting, Inc.
# Copyright 2012, Rackspace Hosting, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.

View File

@ -2,7 +2,7 @@
# Cookbook Name:: nova
# Recipe:: scheduler
#
# Copyright 2009, Rackspace Hosting, Inc.
# Copyright 2012, Rackspace Hosting, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.

View File

@ -2,7 +2,7 @@
# Cookbook Name:: nova
# Recipe:: vncproxy
#
# Copyright 2009, Rackspace Hosting, Inc.
# Copyright 2012, Rackspace Hosting, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.

View File

@ -1,6 +1,20 @@
#
# Cookbook nova:volume
# Recipe:: default
# Cookbook Name:: nova
# Recipe:: volume
#
# Copyright 2012, Rackspace Hosting, Inc.
#
# 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_recipe "nova::nova-common"