I can not see where my recipe is failing and or check what is currently executing.
It may be useful to add logging capabilities when debugging or simply to verify installation is going as expected.
Add the following at the end of every command &>>/var/log/recipe.log.
apt-get update -y && apt-get -y install apache2 php5 php5-gd php-xml-parser php5-intl php5-sqlite php5-mysql smbclient curl libcurl3 php5-curl &>> /var/log/recipe.log
Note that I've added && so that we have to put the &>>/var/log/recipe.log only once.
This will create a log that can be checked while the recipe is executing:
root@OwnCloudRecipe:~# tail -f /var/log/recipe.log
* Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 184.108.40.206 for ServerName
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 220.127.116.11 for ServerName