Sha256: ce8a491f7354aff3642d31bd217c1addaa853744ad57d51b86ca569a2ff1775a

Contents?: true

Size: 395 Bytes

Versions: 7

Compression:

Stored size: 395 Bytes

Contents

module DanarchyDeploy
  module System
    class CentOS
      def self.new(deployment, options)
        puts "\n" + self.name
        puts "#{deployment[:os].capitalize} detected! Using yum."
        # needs more testing
        installer = 'yum install -y '
        updater = 'yum upgrade -y'
        cleaner = 'yum clean all'

        [installer, updater, cleaner]
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
danarchy_deploy-0.2.7 lib/danarchy_deploy/system/centos.rb
danarchy_deploy-0.2.6 lib/danarchy_deploy/system/centos.rb
danarchy_deploy-0.2.5 lib/danarchy_deploy/system/centos.rb
danarchy_deploy-0.2.4 lib/danarchy_deploy/system/centos.rb
danarchy_deploy-0.2.3 lib/danarchy_deploy/system/centos.rb
danarchy_deploy-0.2.2 lib/danarchy_deploy/system/centos.rb
danarchy_deploy-0.2.1 lib/danarchy_deploy/system/centos.rb