Sha256: 74f381e99beda3824a595c62abc90c76fffd560dc02fda506187423a7fce5492

Contents?: true

Size: 785 Bytes

Versions: 5

Compression:

Stored size: 785 Bytes

Contents

# frozen_string_literal: true

module Acceptance
  module AceSetupHelper
    def ssh_user
      ENV['SSH_USER'] || 'root'
    end

    def ssh_password
      ENV['SSH_PASSWORD'] || 'bolt_secret_password'
    end

    def winrm_user
      ENV['WINRM_USER'] || 'Administrator'
    end

    def winrm_password
      ENV['WINRM_PASSWORD'] || 'bolt_secret_password'
    end

    def gem_version
      ENV['GEM_VERSION'] || '> 0.1.0'
    end

    def gem_source
      ENV['GEM_SOURCE'] || 'https://rubygems.org'
    end

    def git_server
      ENV['GIT_SERVER'] || 'https://github.com'
    end

    def git_fork
      ENV['GIT_FORK'] || 'puppetlabs/bolt'
    end

    def git_branch
      ENV['GIT_BRANCH'] || 'master'
    end

    def git_sha
      ENV['GIT_SHA'] || ''
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
agentless-catalog-executor-1.1.0 acceptance/lib/acceptance/ace_setup_helper.rb
agentless-catalog-executor-1.0.0 acceptance/lib/acceptance/ace_setup_helper.rb
agentless-catalog-executor-0.10.0 acceptance/lib/acceptance/ace_setup_helper.rb
agentless-catalog-executor-0.9.1 acceptance/lib/acceptance/ace_setup_helper.rb
agentless-catalog-executor-0.9.0 acceptance/lib/acceptance/ace_setup_helper.rb