Commit bd5b8b37 authored by jtimberman's avatar jtimberman
Browse files

cook-188, update copyright notices, regen metadata too

parent c3b3762f
......@@ -7,9 +7,9 @@
# 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.
......@@ -21,4 +21,4 @@ rsyslog Mash.new unless attribute?("rsyslog")
rsyslog[:log_dir] = "/srv/rsyslog" unless rsyslog.has_key?(:log_dir)
rsyslog[:server] = false unless rsyslog.has_key?(:server)
rsyslog[:protocol] = "tcp" unless rsyslog.has_key?(:protocol)
\ No newline at end of file
rsyslog[:protocol] = "tcp" unless rsyslog.has_key?(:protocol)
{
"maintainer": "Opscode, Inc.",
"description": "Installs and configures rsyslog",
"recommendations": {
"replacing": {
},
"maintainer_email": "cookbooks@opscode.com",
"suggestions": {
"recipes": {
"rsyslog::server": "Sets up an rsyslog server",
"rsyslog": "",
"rsyslog::client": "Sets up a client to log to a remote rsyslog server"
},
"platforms": {
},
"maintainer": "Opscode, Inc.",
"version": "0.7.0",
"recipes": {
"rsyslog::server": "Sets up an rsyslog server",
"rsyslog::client": "Sets up a client to log to a remote rsyslog server",
"rsyslog": ""
},
"name": "rsyslog",
"conflicting": {
"recommendations": {
},
"name": "rsyslog",
"maintainer_email": "cookbooks@opscode.com",
"attributes": {
"rsyslog\/protocol": {
"default": "tcp",
......@@ -28,20 +25,20 @@
"multiple_values": false,
"description": "Set which network protocol to use for rsyslog",
"display_name": "Rsyslog Protocol",
"required": false,
"recipes": [
],
"required": false
]
},
"rsyslog": {
"type": "hash",
"multiple_values": false,
"description": "Hash of Rsyslog attributes",
"display_name": "Rsyslog",
"required": false,
"recipes": [
],
"required": false
]
},
"rsyslog\/log_dir": {
"default": "\/srv\/rsyslog",
......@@ -49,10 +46,10 @@
"multiple_values": false,
"description": "Filesystem location of logs from clients",
"display_name": "Rsyslog Log Directory",
"required": false,
"recipes": [
],
"required": false
]
},
"rsyslog\/server": {
"default": "false",
......@@ -60,11 +57,21 @@
"multiple_values": false,
"description": "Is this node an rsyslog server?",
"display_name": "Rsyslog Server?",
"required": false,
"recipes": [
],
"required": false
]
}
},
"suggestions": {
},
"license": "Apache 2.0",
"conflicting": {
},
"dependencies": {
},
"providing": {
"rsyslog::server": [
......@@ -77,12 +84,5 @@
]
},
"license": "Apache 2.0",
"long_description": "= DESCRIPTION:\n\nInstalls rsyslog to replace sysklogd for client and\/or server use. By default, server will be set up to log to files.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10.\n\n== Cookbooks:\n\n= ATTRIBUTES: \n\n* rsyslog[:log_dir] - specify the directory to store logs (applicable to server only)\n* rsyslog[:server] - specify the remote rsyslog server.\n* rsyslog[:protocol] - specify whether to use udp or tcp for remote log transmission. tcp is default.\n\n= USAGE:\n\nTo replace the sysklogd syslog service with rsyslog:\n\n include_recipe \"rsyslog\"\n \nTo set up a client with a remote [r]syslog server:\n\n include_recipe \"rsyslog::client\"\n \nBy default, this cookbook will use TCP so the server should be configured for TCP. This can be done easily with the server recipe:\n\n include_recipe \"rsyslog::server\"\n\nTo switch to UDP, change the rsyslog[:protocol] attribute. Note this needs to be done on each client as well.\n\nAlso, the server configuration will set up log_dir for each client, by date. Structure:\n\n <%= @log_dir %>\/YEAR\/MONTH\/DAY\/HOSTNAME\/\"logfile\"\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\nCopyright:: 2009, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
"replacing": {
},
"dependencies": {
}
"long_description": "= DESCRIPTION:\n\nInstalls rsyslog to replace sysklogd for client and\/or server use. By default, server will be set up to log to files.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10.\n\n== Cookbooks:\n\n= ATTRIBUTES: \n\n* rsyslog[:log_dir] - specify the directory to store logs (applicable to server only)\n* rsyslog[:server] - specify the remote rsyslog server.\n* rsyslog[:protocol] - specify whether to use udp or tcp for remote log transmission. tcp is default.\n\n= USAGE:\n\nTo replace the sysklogd syslog service with rsyslog:\n\n include_recipe \"rsyslog\"\n \nTo set up a client with a remote [r]syslog server:\n\n include_recipe \"rsyslog::client\"\n \nBy default, this cookbook will use TCP so the server should be configured for TCP. This can be done easily with the server recipe:\n\n include_recipe \"rsyslog::server\"\n\nTo switch to UDP, change the rsyslog[:protocol] attribute. Note this needs to be done on each client as well.\n\nAlso, the server configuration will set up log_dir for each client, by date. Structure:\n\n <%= @log_dir %>\/YEAR\/MONTH\/DAY\/HOSTNAME\/\"logfile\"\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\nCopyright:: 2009, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n"
}
\ No newline at end of file
......@@ -7,9 +7,9 @@
# 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.
......
......@@ -7,9 +7,9 @@
# 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.
......
......@@ -7,9 +7,9 @@
# 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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment