Skip to content

Commit

Permalink
Add license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
zuazo committed Sep 21, 2015
1 parent 7fd36c7 commit 93a2c71
Show file tree
Hide file tree
Showing 16 changed files with 175 additions and 20 deletions.
21 changes: 21 additions & 0 deletions attributes/default.rb
@@ -1,3 +1,24 @@
# encoding: UTF-8
#
# Cookbook Name:: owncloud
# Attributes:: default
# Author:: Xabier de Zuazo (<xabier@zuazo.org>)
# 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'] =
Expand Down
22 changes: 22 additions & 0 deletions libraries/config.rb
@@ -1,3 +1,25 @@
# encoding: UTF-8
#
# Cookbook Name:: owncloud
# Library:: config
# Author:: Xabier de Zuazo (<xabier@zuazo.org>)
# 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.
Expand Down
21 changes: 21 additions & 0 deletions libraries/cookbook_helpers.rb
@@ -1,3 +1,24 @@
# encoding: UTF-8
#
# Cookbook Name:: owncloud
# Library:: cookbook_helpers
# Author:: Xabier de Zuazo (<xabier@zuazo.org>)
# 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.
Expand Down
21 changes: 21 additions & 0 deletions metadata.rb
@@ -1,3 +1,24 @@
# encoding: UTF-8
#
# Cookbook Name:: owncloud
# Author:: Xabier de Zuazo (<xabier@zuazo.org>)
# 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'
Expand Down
7 changes: 5 additions & 2 deletions recipes/_apache.rb
@@ -1,8 +1,11 @@
# encoding: UTF-8
#
# Cookbook Name:: owncloud
# Recipe:: _apache
#
# Copyright 2013, Onddo Labs, Sl.
# Author:: Xabier de Zuazo (<xabier@zuazo.org>)
# 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.
Expand Down
7 changes: 5 additions & 2 deletions recipes/_nginx.rb
@@ -1,8 +1,11 @@
# encoding: UTF-8
#
# Cookbook Name:: owncloud
# Recipe:: _nginx
#
# Copyright 2013, Onddo Labs, Sl.
# Author:: Xabier de Zuazo (<xabier@zuazo.org>)
# 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.
Expand Down
7 changes: 5 additions & 2 deletions 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 (<xabier@zuazo.org>)
# 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.
Expand Down
7 changes: 5 additions & 2 deletions recipes/default.rb
@@ -1,8 +1,11 @@
# encoding: UTF-8
#
# Cookbook Name:: owncloud
# Recipe:: default
#
# Copyright 2013, Onddo Labs, Sl.
# Author:: Xabier de Zuazo (<xabier@zuazo.org>)
# 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.
Expand Down
22 changes: 22 additions & 0 deletions test/cookbooks/owncloud_test/attributes/default.rb
@@ -1,2 +1,24 @@
# encoding: UTF-8
#
# Cookbook Name:: owncloud_test
# Attributes:: default
# Author:: Xabier de Zuazo (<xabier@zuazo.org>)
# 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'
21 changes: 21 additions & 0 deletions test/cookbooks/owncloud_test/metadata.rb
@@ -1,3 +1,24 @@
# encoding: UTF-8
#
# Cookbook Name:: owncloud_test
# Author:: Xabier de Zuazo (<xabier@zuazo.org>)
# 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'
Expand Down
9 changes: 6 additions & 3 deletions 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 (<xabier@zuazo.org>)
# 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.
Expand Down
7 changes: 5 additions & 2 deletions 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 (<xabier@zuazo.org>)
# 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.
Expand Down
7 changes: 5 additions & 2 deletions 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 (<xabier@zuazo.org>)
# 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.
Expand Down
7 changes: 5 additions & 2 deletions 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 (<xabier@zuazo.org>)
# 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.
Expand Down
7 changes: 5 additions & 2 deletions 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 (<xabier@zuazo.org>)
# 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.
Expand Down
2 changes: 1 addition & 1 deletion test/unit/support/cookbook_stubs.rb
Expand Up @@ -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
#
Expand Down

0 comments on commit 93a2c71

Please sign in to comment.