summaryrefslogtreecommitdiff
path: root/lib/chef/provider.rb
diff options
context:
space:
mode:
authorAdam Jacob <adam@hjksolutions.com>2008-03-23 20:33:06 -0700
committerAdam Jacob <adam@hjksolutions.com>2008-03-23 20:33:06 -0700
commitc74068fffb387955cff8b32c2c984c782ee1e0a0 (patch)
treebac2087b4d045a2a5f36450fdc10d04202bf3961 /lib/chef/provider.rb
parent90d083563df3fc997b8cd3790f3b0b95d0855461 (diff)
downloadchef-c74068fffb387955cff8b32c2c984c782ee1e0a0.tar.gz
Adding a File provider
Diffstat (limited to 'lib/chef/provider.rb')
-rw-r--r--lib/chef/provider.rb33
1 files changed, 33 insertions, 0 deletions
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 (<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.
+#
+# 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