Sha256: b97905b05b431fd00b938605d7a3ffe328f69330e7d3e50de96bbb607b1e81e1

Contents?: true

Size: 706 Bytes

Versions: 2

Compression:

Stored size: 706 Bytes

Contents

# include_recipe "pivotal_server::daemontools"

# service_name = "xvfb"

execute "install xvfb" do
  command "yum -y install xorg-x11-server-Xvfb"
end

execute "install firefox" do
  command "yum -y install firefox"
end

# execute "make daemontools dir" do
#   command "mkdir -p /service/#{service_name}"
# end
# 
# execute "create run script3" do # srsly! the not_if from mysql was being applied because they had the same name. I kid you not.
#   command "echo -e '#!/bin/sh\nexec Xvfb :99 -ac -screen 0 1024x768x16' > /service/#{service_name}/run"
#   # not_if "ls /service/#{service_name}/run"
# end
# 
# execute "make run script executable" do
#   command "chmod 755 /service/#{service_name}/run"
# end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lobot-0.9.2 lib/generators/lobot/templates/chef/cookbooks/pivotal_ci/recipes/xvfb.rb
lobot-0.9.0 lib/generators/lobot/templates/chef/cookbooks/pivotal_ci/recipes/xvfb.rb