Vendor the external cookbooks
Knife-Zero doesn't include Berkshelf support, so vendoring everything in the repo is convenient again
This commit is contained in:
16
cookbooks/git/libraries/resource_git_service.rb
Normal file
16
cookbooks/git/libraries/resource_git_service.rb
Normal file
@@ -0,0 +1,16 @@
|
||||
require 'chef/resource/lwrp_base'
|
||||
|
||||
class Chef
|
||||
class Resource
|
||||
class GitService < Chef::Resource::LWRPBase
|
||||
self.resource_name = :git_service
|
||||
actions :create
|
||||
default_action :create
|
||||
|
||||
provides :git_service
|
||||
|
||||
# used by the service xinetd provider
|
||||
attribute :service_base_path, kind_of: String, default: '/srv/git'
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user