Created
August 16, 2010 16:00
-
-
Save ringods/527184 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'chef/resource/script' | |
require 'chef/provider/script' | |
require 'chef/platform' | |
class Chef | |
class Resource | |
class PylabsQshell < Chef::Resource::Script | |
def initialize(name, run_context=nil) | |
super | |
@resource_name = :pylabs_qshell | |
@interpreter = "/opt/qbase3/qshell -f" | |
end | |
end | |
end | |
end | |
Chef::Platform::platforms[:default][:pylabs_qshell] = Chef::Provider::Script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment