I am facing problem using berks package command.
where I want to exclude all test dependencies from my Berksfile while creating a .tar file using
"berks package" command
as I want to exclude the test dependencies as per chef docs the command that is given for excluding more than on test group is
berks package -e [GROUP, GROUP] / berks package --except [GROUP, GROUP]
is not working as it is supposed to be working.
I have a cookbook
and I have test dependencies in Berksfile
so as I have added a screen shot
it has two groups
ie. test and solo
so the command that should be working with those groups must be
berks package -e [test, solo]
which is not working and not excluding any of test cookbook
instead it is working fine with single test dependency group mentioned
ie. berks package -e test (or solo)
I have screen shot after using berks package -e [test, solo]
as I un-tar the file in cookbook directory it shows all the cookbooks including those test groups..
please help me in this scenario...