Sha256: efc7ddb6c04f649330392720b6e3a5a9d64e59440a85f2443b0274e8f9997809
Contents?: true
Size: 627 Bytes
Versions: 17
Compression:
Stored size: 627 Bytes
Contents
class ChefCapConfiguration class << self attr_accessor :configuration def set_repository_settings repository_value = @configuration.send(:repository) rescue false case repository_value when /git/ @configuration.send(:set, :scm, :git) @configuration.send(:set, :git_enable_submodules, 1) @configuration.send(:default_run_options)[:pty] = true @configuration.send(:depend, :remote, :command, "git") when /svn/ @configuration.send(:set, :scm, :svn) @configuration.send(:depend, :remote, :command, "svn") end end end end
Version data entries
17 entries across 17 versions & 1 rubygems