Sha256: b31e32b6269da921978530f261ccb07903c5c345e61a14d9f2709bae76807065

Contents?: true

Size: 384 Bytes

Versions: 7

Compression:

Stored size: 384 Bytes

Contents

module Invoker
  module Power
    module Distro
      class Redhat < Base
        def install_required_software
          system("yum --assumeyes install dnsmasq rinetd")
        end

        def restart_services
          system("systemctl enable rinetd")
          system("service rinetd restart")
          system("service dnsmasq restart")
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
invoker-1.4.1 lib/invoker/power/setup/distro/redhat.rb
invoker-1.4.0 lib/invoker/power/setup/distro/redhat.rb
invoker-1.3.2 lib/invoker/power/setup/distro/redhat.rb
invoker-1.3.1 lib/invoker/power/setup/distro/redhat.rb
invoker-1.3.0 lib/invoker/power/setup/distro/redhat.rb
invoker-1.2.0 lib/invoker/power/setup/distro/redhat.rb
invoker-1.2.0.pre2 lib/invoker/power/setup/distro/redhat.rb