From 93a2c710ff5fb0301763a332414b32c1af1f2c61 Mon Sep 17 00:00:00 2001 From: Xabier de Zuazo Date: Mon, 21 Sep 2015 16:22:07 +0200 Subject: [PATCH] Add license headers --- attributes/default.rb | 21 ++++++++++++++++++ libraries/config.rb | 22 +++++++++++++++++++ libraries/cookbook_helpers.rb | 21 ++++++++++++++++++ metadata.rb | 21 ++++++++++++++++++ recipes/_apache.rb | 7 ++++-- recipes/_nginx.rb | 7 ++++-- recipes/_php_fpm.rb | 7 ++++-- recipes/default.rb | 7 ++++-- .../owncloud_test/attributes/default.rb | 22 +++++++++++++++++++ test/cookbooks/owncloud_test/metadata.rb | 21 ++++++++++++++++++ .../cookbooks/owncloud_test/recipes/common.rb | 9 +++++--- test/cookbooks/owncloud_test/recipes/mysql.rb | 7 ++++-- test/cookbooks/owncloud_test/recipes/nginx.rb | 7 ++++-- .../owncloud_test/recipes/postgresql.rb | 7 ++++-- .../cookbooks/owncloud_test/recipes/sqlite.rb | 7 ++++-- test/unit/support/cookbook_stubs.rb | 2 +- 16 files changed, 175 insertions(+), 20 deletions(-) diff --git a/attributes/default.rb b/attributes/default.rb index 04839de..b5c3f10 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -1,3 +1,24 @@ +# encoding: UTF-8 +# +# Cookbook Name:: owncloud +# Attributes:: default +# Author:: Xabier de Zuazo () +# Copyright:: Copyright (c) 2015 Xabier de Zuazo +# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL. +# License:: Apache License, Version 2.0 +# +# 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. +# default['owncloud']['version'] = 'latest' default['owncloud']['download_url'] = diff --git a/libraries/config.rb b/libraries/config.rb index b55471d..8bda4fe 100644 --- a/libraries/config.rb +++ b/libraries/config.rb @@ -1,3 +1,25 @@ +# encoding: UTF-8 +# +# Cookbook Name:: owncloud +# Library:: config +# Author:: Xabier de Zuazo () +# Copyright:: Copyright (c) 2015 Xabier de Zuazo +# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL. +# License:: Apache License, Version 2.0 +# +# 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. +# + require 'json' # `owncloud` cookbook internal classes. diff --git a/libraries/cookbook_helpers.rb b/libraries/cookbook_helpers.rb index 00bbb9c..de946d6 100644 --- a/libraries/cookbook_helpers.rb +++ b/libraries/cookbook_helpers.rb @@ -1,3 +1,24 @@ +# encoding: UTF-8 +# +# Cookbook Name:: owncloud +# Library:: cookbook_helpers +# Author:: Xabier de Zuazo () +# Copyright:: Copyright (c) 2015 Xabier de Zuazo +# License:: Apache License, Version 2.0 +# +# 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. +# + # `owncloud` cookbook internal classes. module OwncloudCookbook # Some helpers to use from `owncloud` cookbook recipes or resources. diff --git a/metadata.rb b/metadata.rb index f1126bf..d0f46c1 100644 --- a/metadata.rb +++ b/metadata.rb @@ -1,3 +1,24 @@ +# encoding: UTF-8 +# +# Cookbook Name:: owncloud +# Author:: Xabier de Zuazo () +# Copyright:: Copyright (c) 2015 Xabier de Zuazo +# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL. +# License:: Apache License, Version 2.0 +# +# 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. +# + name 'owncloud' maintainer 'Xabier de Zuazo' maintainer_email 'xabier@zuazo.org' diff --git a/recipes/_apache.rb b/recipes/_apache.rb index 17f8f02..95ee816 100644 --- a/recipes/_apache.rb +++ b/recipes/_apache.rb @@ -1,8 +1,11 @@ +# encoding: UTF-8 # # Cookbook Name:: owncloud # Recipe:: _apache -# -# Copyright 2013, Onddo Labs, Sl. +# Author:: Xabier de Zuazo () +# Copyright:: Copyright (c) 2015 Xabier de Zuazo +# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL. +# License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/recipes/_nginx.rb b/recipes/_nginx.rb index d068022..a52f036 100644 --- a/recipes/_nginx.rb +++ b/recipes/_nginx.rb @@ -1,8 +1,11 @@ +# encoding: UTF-8 # # Cookbook Name:: owncloud # Recipe:: _nginx -# -# Copyright 2013, Onddo Labs, Sl. +# Author:: Xabier de Zuazo () +# Copyright:: Copyright (c) 2015 Xabier de Zuazo +# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL. +# License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/recipes/_php_fpm.rb b/recipes/_php_fpm.rb index e9143dc..a6c9f97 100644 --- a/recipes/_php_fpm.rb +++ b/recipes/_php_fpm.rb @@ -1,8 +1,11 @@ +# encoding: UTF-8 # # Cookbook Name:: owncloud # Recipe:: _php_fpm -# -# Copyright 2013, Onddo Labs, Sl. +# Author:: Xabier de Zuazo () +# Copyright:: Copyright (c) 2015 Xabier de Zuazo +# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL. +# License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/recipes/default.rb b/recipes/default.rb index 7c2604f..d703e0c 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -1,8 +1,11 @@ +# encoding: UTF-8 # # Cookbook Name:: owncloud # Recipe:: default -# -# Copyright 2013, Onddo Labs, Sl. +# Author:: Xabier de Zuazo () +# Copyright:: Copyright (c) 2015 Xabier de Zuazo +# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL. +# License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/cookbooks/owncloud_test/attributes/default.rb b/test/cookbooks/owncloud_test/attributes/default.rb index d407ba9..17722f0 100644 --- a/test/cookbooks/owncloud_test/attributes/default.rb +++ b/test/cookbooks/owncloud_test/attributes/default.rb @@ -1,2 +1,24 @@ +# encoding: UTF-8 +# +# Cookbook Name:: owncloud_test +# Attributes:: default +# Author:: Xabier de Zuazo () +# Copyright:: Copyright (c) 2015 Xabier de Zuazo +# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL. +# License:: Apache License, Version 2.0 +# +# 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. +# + # Until sendmail fixed: https://github.com/owncloud/core/issues/19110 default['owncloud']['version'] = '8.0.8' diff --git a/test/cookbooks/owncloud_test/metadata.rb b/test/cookbooks/owncloud_test/metadata.rb index 395a0a7..62fe87d 100644 --- a/test/cookbooks/owncloud_test/metadata.rb +++ b/test/cookbooks/owncloud_test/metadata.rb @@ -1,3 +1,24 @@ +# encoding: UTF-8 +# +# Cookbook Name:: owncloud_test +# Author:: Xabier de Zuazo () +# Copyright:: Copyright (c) 2015 Xabier de Zuazo +# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL. +# License:: Apache License, Version 2.0 +# +# 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. +# + name 'owncloud_test' maintainer 'Xabier de Zuazo' maintainer_email 'xabier@zuazo.org' diff --git a/test/cookbooks/owncloud_test/recipes/common.rb b/test/cookbooks/owncloud_test/recipes/common.rb index fcb4cc0..168290d 100644 --- a/test/cookbooks/owncloud_test/recipes/common.rb +++ b/test/cookbooks/owncloud_test/recipes/common.rb @@ -1,8 +1,11 @@ +# encoding: UTF-8 # # Cookbook Name:: owncloud_test -# Recipe:: mysql -# -# Copyright 2014, Onddo Labs, Sl. +# Recipe:: common +# Author:: Xabier de Zuazo () +# Copyright:: Copyright (c) 2015 Xabier de Zuazo +# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL. +# License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/cookbooks/owncloud_test/recipes/mysql.rb b/test/cookbooks/owncloud_test/recipes/mysql.rb index 80e5786..c13cebb 100644 --- a/test/cookbooks/owncloud_test/recipes/mysql.rb +++ b/test/cookbooks/owncloud_test/recipes/mysql.rb @@ -1,8 +1,11 @@ +# encoding: UTF-8 # # Cookbook Name:: owncloud_test # Recipe:: mysql -# -# Copyright 2013, Onddo Labs, Sl. +# Author:: Xabier de Zuazo () +# Copyright:: Copyright (c) 2015 Xabier de Zuazo +# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL. +# License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/cookbooks/owncloud_test/recipes/nginx.rb b/test/cookbooks/owncloud_test/recipes/nginx.rb index 019a6c2..3cb3db9 100644 --- a/test/cookbooks/owncloud_test/recipes/nginx.rb +++ b/test/cookbooks/owncloud_test/recipes/nginx.rb @@ -1,8 +1,11 @@ +# encoding: UTF-8 # # Cookbook Name:: owncloud_test # Recipe:: nginx -# -# Copyright 2013, Onddo Labs, Sl. +# Author:: Xabier de Zuazo () +# Copyright:: Copyright (c) 2015 Xabier de Zuazo +# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL. +# License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/cookbooks/owncloud_test/recipes/postgresql.rb b/test/cookbooks/owncloud_test/recipes/postgresql.rb index aa3e220..23069f2 100644 --- a/test/cookbooks/owncloud_test/recipes/postgresql.rb +++ b/test/cookbooks/owncloud_test/recipes/postgresql.rb @@ -1,8 +1,11 @@ +# encoding: UTF-8 # # Cookbook Name:: owncloud_test # Recipe:: postgresql -# -# Copyright 2013, Onddo Labs, Sl. +# Author:: Xabier de Zuazo () +# Copyright:: Copyright (c) 2015 Xabier de Zuazo +# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL. +# License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/cookbooks/owncloud_test/recipes/sqlite.rb b/test/cookbooks/owncloud_test/recipes/sqlite.rb index 72b8bbf..37ba93d 100644 --- a/test/cookbooks/owncloud_test/recipes/sqlite.rb +++ b/test/cookbooks/owncloud_test/recipes/sqlite.rb @@ -1,8 +1,11 @@ +# encoding: UTF-8 # # Cookbook Name:: owncloud_test # Recipe:: sqlite -# -# Copyright 2013, Onddo Labs, Sl. +# Author:: Xabier de Zuazo () +# Copyright:: Copyright (c) 2015 Xabier de Zuazo +# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL. +# License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/unit/support/cookbook_stubs.rb b/test/unit/support/cookbook_stubs.rb index 6b60f9d..559feff 100644 --- a/test/unit/support/cookbook_stubs.rb +++ b/test/unit/support/cookbook_stubs.rb @@ -4,7 +4,7 @@ # Copyright:: Copyright (c) 2015 Xabier de Zuazo # License:: Apache License, Version 2.0 # -# Licensed under the Apache License, Version 2.0 (the 'License'); +# 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 #