I want to use ark to untar some files at some path. But I am not able
to update those files by modifying the recipe.
I am using the following recipe:
1 ark ‘app’ do
3 url 'http://192.168.2.50:8080/ubuntu/app-0.0.1.tar.gz’
6 # url 'http://192.168.2.50:8080/ubuntu/app-0.0.2.tar.gz’
7 # checksum
9 action :put
10 path '/home/koko’
The recipe works fine the first time. app-0.0.1 is unzipped correctly
The problem is that when I delete lines 3 and 4 and uncomment lines 6
and 7 and push the recipe to chef server, and then run chef-client on
a node, I do not get the contents of app-0.0.2.tar.gz in
/home/koko/app. Those files are unchanged.
Also, the app.tar.gz in cache is unchanged (it is same as app-0.0.1.tar.gz)
However, the recipes in the downloaded cookbooks is indeed changed -
where lines 3 and 4 are deleted and lines 6 and 7 are uncommented.
What am I doing wrong?
Am I using ark in a way it was not meant to OR am I not using it properly?