Sha256: de23e7d3c1cffa2fc68f6e9dfa3358a8f63a5d625a9463d0f0bcc0a2ae66669a

Contents?: true

Size: 697 Bytes

Versions: 1

Compression:

Stored size: 697 Bytes

Contents

include_recipe 'ubuntu'

package 'git-core'

%w[ rake bundler i18n thor activesupport multi_json yajl-ruby curl ].each{ |gem| gem_package gem }

%w[ src lib data ].each do |subdir|
  directory "/opt/melissadata/#{subdir}" do
    owner 'vagrant'
    group 'vagrant'
    mode 0755
    action :create
    recursive true
  end
end

template "/opt/melissadata/src/Makefile" do
  owner   'vagrant'
  group   'vagrant'
end

%w[ tcp unix ].each do |transport|
  template "md_#{transport}_server.init" do
    path "/etc/init.d/md_#{transport}_server"
    owner "root"
    group "root"
    mode "0755"
    action :create_if_missing
  end

  service "md_#{transport}_server" do
    action :enable
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
melissadata-0.1.2 chef/cookbooks/melissadata/recipes/default.rb