-
Notifications
You must be signed in to change notification settings - Fork 42
Cannot find a resource matching java_ark[jdk] #15
Comments
Ahh, yes. The I do need to fix the syntax here though to not use The master branch is on version 3 of the cookbook. I believe I should be able to branch 2.X development and provide a hotfix there for you, but not sure if that will work. If its too much effort, I'll at least get this into master. Also, please note that the upgrade recipe has been explicitly removed from version 3 of this cookbook. Updating should require just changing the version number, which ark will install and move the symlink. Backups are outside the cookbook's responsibility in version 3 as well, but it does provide installation and configuration support of the Stash Backup Client from Atlassian. I'll get to this hopefully on Sunday. |
Thanks very much for the explanation. I'm going to download the version 3 cookbook now and see if I can't get it to do what I want using the new ark/symlink workflow as you describe. |
Hey Brian. I ended up just simply removing that subscribes :restart, resources("java_ark[jdk] from the service_init recipe in the 3.0.1 cookbook and successfully upgraded from 2.6.3 to 2.8.1 in my test environment. Will try it out in production tomorrow. Also really like how ark is used now to manage the upgrade. Thanks for that! |
I've switched it in the 3.1.0 version of the cookbook to just use string notation: |
It's been 2 weeks since I heard about this so closing the issue. If you're still having trouble after 3.1.0 please reopen. Thanks. |
When trying to run the stash::upgrade recipe I am encountering this error. I used the 2.16.0 version of the cookbook to install Stash, and am using cookbook version 2.21.0 for the upgrade. I am trying to upgrade from Stash 2.6.3 to 2.8.1.
Thanks for the cookbook!
Cannot find a resource matching java_ark[jdk]
Relevant File Content:
/var/chef/cache/cookbooks/stash/recipes/default.rb:
181: )
182: notifies :restart, "service[stash]", :delayed
183: end
184:
185: service "stash" do
186: supports :status => true, :restart => true
187: action [ :enable, :start ]
188>> subscribes :restart, resources("java_ark[jdk]")
189: end
190:
The text was updated successfully, but these errors were encountered: