summaryrefslogtreecommitdiff
path: root/lib/chef/resource/link.rb
diff options
context:
space:
mode:
authorAdam Jacob <adam@hjksolutions.com>2008-08-16 17:54:07 -0700
committerAdam Jacob <adam@hjksolutions.com>2008-08-16 17:54:07 -0700
commitd1202ca3b100a6e1caaf6eeacec5976adf147f54 (patch)
treef4a647520c485113537f0a735fadf6280700634d /lib/chef/resource/link.rb
parent643b1a00f7405866cf0b30a3f26ff6d03bee932a (diff)
downloadchef-d1202ca3b100a6e1caaf6eeacec5976adf147f54.tar.gz
Added template support, changed license to Apache v 2
Diffstat (limited to 'lib/chef/resource/link.rb')
-rw-r--r--lib/chef/resource/link.rb28
1 files changed, 13 insertions, 15 deletions
diff --git a/lib/chef/resource/link.rb b/lib/chef/resource/link.rb
index 5ec3b39b25..46b5793b0f 100644
--- a/lib/chef/resource/link.rb
+++ b/lib/chef/resource/link.rb
@@ -1,30 +1,28 @@
#
# Author:: Adam Jacob (<adam@hjksolutions.com>)
# Copyright:: Copyright (c) 2008 HJK Solutions, LLC
-# License:: GNU General Public License version 2 or later
-#
-# This program and entire repository is free software; you can
-# redistribute it and/or modify it under the terms of the GNU
-# General Public License as published by the Free Software
-# Foundation; either version 2 of the License, or any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
+# 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
#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+# 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.
+#
class Chef
class Resource
class Link < Chef::Resource
def initialize(name, collection=nil, node=nil)
- @resource_name = :link
super(name, collection, node)
+ @resource_name = :link
@source_file = name
@action = :create
@link_type = :symbolic