I'm using following command to install my cookbook dependencies. But the tomcat-all cookbook still gets installed by berkshelf.
berks install -e tomcat-all -b ./cookbooks/mfs-tomcat/Berksfile
What am I doing wrong here? My berkshelf version installed is 3.2.4.
Thanks in advance.
Found the answer thanks to [email protected].
The problem was the metadata.rb file of my mfs-tomcat cookbook also had the dependency for 'tomcat-all' cookbook. Since metadata.rb has a higher precedence it overrides the groups I have created in Berksfile. Thanks @mark-oconnor also for helping out.