chef/cookbooks/git/libraries/resource_git_service.rb
Greg Karékinian 049d5dd006 Vendor the external cookbooks
Knife-Zero doesn't include Berkshelf support, so vendoring everything in
the repo is convenient again
2019-10-13 18:32:56 +02:00

17 lines
367 B
Ruby

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