Sha256: f8f24fc6f0450dcad18048fc59ec3091deeca3f48ab7aa5de7ea5581214ad960

Contents?: true

Size: 913 Bytes

Versions: 3

Compression:

Stored size: 913 Bytes

Contents

require 'cicd/builder/chefrepo'

module CiCd
  module Builder
    _lib=File.dirname(__FILE__)
    $:.unshift(_lib) unless $:.include?(_lib)

    require 'cicd/builder/ansiblerepo/version'

    #noinspection ALL
    class AnsibleRepoBuilder < ChefRepoBuilder

      def initialize()
        super
        @default_options[:builder] = VERSION
      end

      # ---------------------------------------------------------------------------------------------------------------
      def getBuilderVersion
        {
            version:  VERSION,
            major:    MAJOR,
            minor:    MINOR,
            patch:    PATCH,
        }
      end
      # ---------------------------------------------------------------------------------------------------------------
      def run()
        $stdout.write("AnsibleRepoBuilder v#{CiCd::Builder::AnsibleRepo::VERSION}\n")
        super
      end

    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ansiblerepo-builder-0.2.2 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.2.1 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.1.1 lib/cicd/builder/ansiblerepo.rb