Is there an easy way to upgrade the chef-client that was installed by knife-test? I’m trying to
write mini-test tests taking adv of :mode, :owner, :group file tests fixed in [CHEF-3235].
I would hate to build them all again with bento. Any suggestions?
You should be able to do that using heavywater's omnibus-updater cookbook:
Cheers, Torben
Am 29.09.2012 05:47 schrieb "John Dewey" john@dewey.ws:
Is there an easy way to upgrade the chef-client that was installed by
knife-test? I'm trying to
write mini-test tests taking adv of :mode, :owner, :group file tests fixed
in [CHEF-3235].
I would hate to build them all again with bento. Any suggestions?
Is there an easy way to upgrade the chef-client that was installed by knife-test? I’m trying to
write mini-test tests taking adv of :mode, :owner, :group file tests fixed in [CHEF-3235].
I would hate to build them all again with bento. Any suggestions?
You can also build a local copy of the boxes from bento too.
On Sep 28, 2012, at 21:47, "John Dewey" <john@dewey.ws (mailto:john@dewey.ws)> wrote:
Is there an easy way to upgrade the chef-client that was installed by knife-test? I'm trying to
write mini-test tests taking adv of :mode, :owner, :group file tests fixed in [CHEF-3235].
I would hate to build them all again with bento. Any suggestions?
Is there an easy way to upgrade the chef-client that was installed by knife-test? I'm trying to
write mini-test tests taking adv of :mode, :owner, :group file tests fixed in [CHEF-3235].
I would hate to build them all again with bento. Any suggestions?
Also note that a few issues have been resolved in test-kitchen lately
with regards to minitest spec tests, so you'll need to use something
beyond 0.5.4 since by default it installs a fork of minitest-handler
(that issue is fixed post-0.5.4).
Additionally there is another issue fixed in Chef 10.14.4 for backwards
compatibility issue with minitest-chef-handler, but if you use
minitest-chef-handler 0.6.3 it'll work with previous versions as well.