# Chef DSL package 'apache2' do action :install version '2.4.43' end # YAML resources: - type: package name: apache2 version: 2.4.43