From c74068fffb387955cff8b32c2c984c782ee1e0a0 Mon Sep 17 00:00:00 2001 From: Adam Jacob Date: Sun, 23 Mar 2008 20:33:06 -0700 Subject: Adding a File provider --- lib/chef/provider.rb | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 lib/chef/provider.rb (limited to 'lib/chef/provider.rb') diff --git a/lib/chef/provider.rb b/lib/chef/provider.rb new file mode 100644 index 0000000000..d296b63227 --- /dev/null +++ b/lib/chef/provider.rb @@ -0,0 +1,33 @@ +# +# Author:: Adam Jacob () +# 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. +# +# 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 +# + +class Chef + class Provider + + attr_accessor :node, :new_resource, :current_resource + + def initialize(node, new_resource) + @node = node + @new_resource = new_resource + @current_resource = nil + end + + end +end \ No newline at end of file -- cgit v1.2.1