Puppet can be used to automate middleware configurations like WebSphere MQ and IBM Integration Bus. Walmart uses Puppet for IT automation to deploy configurations quickly and consistently across thousands of systems. The presentation demonstrated how Puppet can be used to install and configure WebSphere MQ, creating a queue manager, tuning logs, adding listeners and queues with parameters defined in Puppet code. Automation provides benefits like improved efficiency, reduced errors, faster recovery from issues and ensuring consistency across environments.