Sha256: e2e6f1d2597eba3341260e2cef929792ac579e52ab916ac16f40e81bb84c8010

Contents?: true

Size: 756 Bytes

Versions: 3

Compression:

Stored size: 756 Bytes

Contents

module PoolParty
  class Base
    plugin :poolparty_base_tokyo_tyrant do
      
      def enable
        has_package "build-essential"
        has_package "zlib1g-dev"
        has_package "libbz2-dev"
        has_gem_package "rufus-tokyo"
        
        has_exec "install tokyo-cabinet" do
          command "cd ~ && git clone git://github.com/etrepum/tokyo-cabinet.git && cd tokyo-cabinet/ && ./configure && make && make install && cd ~"
          not_if "which tcrtest"
        end
        has_exec "install tokyo-tyrant" do
          command "cd ~ && git clone git://github.com/etrepum/tokyo-tyrant.git && cd tokyo-tyrant/ && ./configure && make && make install && cd ~"
          not_if "which ttserver"
        end
      end
      
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
auser-poolparty-1.1.4 lib/poolparty/base_packages/tokyo_tyrant.rb
auser-poolparty-1.1.5 lib/poolparty/base_packages/tokyo_tyrant.rb
fairchild-poolparty-1.1.4 lib/poolparty/base_packages/tokyo_tyrant.rb