Sha256: ce173b545f9d840ef73329e11000d31ebcf9d93a7f1b297ffa81c4619967b1a5

Contents?: true

Size: 627 Bytes

Versions: 38

Compression:

Stored size: 627 Bytes

Contents

=begin rdoc
  Runit beginning
  NOT IMPLEMENTED YET
=end
module PoolParty
  class Base
    plugin :runit do
      
      def enable
        unless enabled
          has_file(:name => "inittab", :path => "/etc/inittab", :mode => 0644, :owner => "root", :group => "root")
          has_package(:name => "runit", :ensures => "latest", :requires => get_file("inittab"))
          has_exec(:name => "/sbin/start runsvdir", :cwd => "/var/service")
          # has_remotefile(:name => "/etc/event.d/runsvdir", :notify => get_exec("/sbin/start runsvdir"))
          enabled true
        end          
      end
      
    end
  end
end

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
auser-poolparty-0.2.54 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.55 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.56 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.57 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.58 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.59 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.60 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.61 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.62 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.63 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.64 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.65 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.66 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.67 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.68 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.69 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.70 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.71 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.72 lib/poolparty/base_packages/runit.rb
auser-poolparty-0.2.74 lib/poolparty/base_packages/runit.rb