kimminger
activity item
2012
Following Question
How to use ark on a node

Hi,
i added the ark cookbook in the run list of my hosted chef node.
Now i want to use ark in another cookbook, that comes right after the ark cookbook.

I included the ark recipe in the recipe of the cookbook that comes right after the ark cookbook. The code looks like this:

include_recipe “ark”

dowloading olio

subversion “checkout-olio” do

repository "https://svn.apache.org/repos/asf/incubator/olio/"
revision "HEAD"
destination "/usr/local"
action :checkout

end

install faban

ark “install-faban” do

url "http://java.net/projects/faban/downloads/download/faban-kit/faban-kit-022311.tar.gz"
version "1.0"
path "/usr/local"
append_env_path true

end

When i upload this file and run the client the following error occurs: NoMethodError: undefined method `url' for Chef::Resource::Ark

Can somebody please tell me where the problem is?

more →
2012
New Question
How to use ark on a node

Hi,
i added the ark cookbook in the run list of my hosted chef node.
Now i want to use ark in another cookbook, that comes right after the ark cookbook.

I included the ark recipe in the recipe of the cookbook that comes right after the ark cookbook. The code looks like this:

include_recipe “ark”

dowloading olio

subversion “checkout-olio” do

repository "https://svn.apache.org/repos/asf/incubator/olio/"
revision "HEAD"
destination "/usr/local"
action :checkout

end

install faban

ark “install-faban” do

url "http://java.net/projects/faban/downloads/download/faban-kit/faban-kit-022311.tar.gz"
version "1.0"
path "/usr/local"
append_env_path true

end

When i upload this file and run the client the following error occurs: NoMethodError: undefined method `url' for Chef::Resource::Ark

Can somebody please tell me where the problem is?

more →
2012
Following Question
How to execute Terminal commands in recipe

Hi all,

i want to execute Terminal commands in a recipe and i don´t know how to write the ruby file. I already tried to upload and run this recipe: package “install-faban” do

command "wget http://java.net/downloads/faban/faban-kit/faban-kit-022311.tar.gz"

command "untar -xzf faban-kit-022311.tar.gz"

command "cd faban/"
#Install required Faban Services
#Glassfish
command "cp cp samples/services/GlassfishService/build/GlassfishService.jar services"
#MySQL
command "cp samples/services/MysqlService/build/MysqlService.jar services"
#Memcached
command "cp samples/services/MemcachedService/build/MemcachedService.jar services"

end

but after running the client the error NoMethodError: undefined Method ‘command’ came up.

Can somebody help?

more →
2012
New Question
How to execute Terminal commands in recipe

Hi all,

i want to execute Terminal commands in a recipe and i don´t know how to write the ruby file. I already tried to upload and run this recipe: package “install-faban” do

command "wget http://java.net/downloads/faban/faban-kit/faban-kit-022311.tar.gz"

command "untar -xzf faban-kit-022311.tar.gz"

command "cd faban/"
#Install required Faban Services
#Glassfish
command "cp cp samples/services/GlassfishService/build/GlassfishService.jar services"
#MySQL
command "cp samples/services/MysqlService/build/MysqlService.jar services"
#Memcached
command "cp samples/services/MemcachedService/build/MemcachedService.jar services"

end

but after running the client the error NoMethodError: undefined Method ‘command’ came up.

Can somebody help?

more →