Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms


dacpac (2) Versions 0.1.0

Deploys dacpac files

cookbook 'dacpac', '= 0.1.0'
cookbook 'dacpac', '= 0.1.0', :supermarket
knife cookbook site install dacpac
knife cookbook site download dacpac
Quality 0%


Deploy Microsoft Visual Studio database project using DacServices of the SQL Server Data Tools



  • Windows 7
  • Windows 8
  • Windows Server 2008 (R1, R2)
  • Windows Server 2012
  • Windows Server 2012R2


  • dacpac




Deploys a dacpac file to a database.


  • :deploy - deploy a dac package to a database.

Attribute Parameters

  • name - name attribute. Name of the process to be executed.
  • path - path of the dacpac file.
  • connection_string - SQL Server connection string. Example: "Data Source=localhost;User ID=sa;Password=***;"
  • database_name - name of the database where the dacpac file will be deployed
  • publish_file_path - path of the XML file that contains the deploy options. It could be in the cookbook files subdir, use the cookbook_file resource to extract it.


# deploy a dacpac file
dacpac_deploy "AdventureWorks" do
  path  "C:\\chef\chef_cache\\dacpac\\AdventureWorks.dacpac"
  connection_string "Data Source=localhost;User ID=sa;Password=***;"
  database_name "AdventureWorks"
  publish_file_path "C:\\chef\chef_cache\\dacpac\\database-deploy-options.xml"
  action :deploy

License and Author

Copyright:: 2015, SuiGeneris S.A.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependent cookbooks

windows >= 1.34.6

Contingent cookbooks

There are no cookbooks that are contingent upon this one.


This file is used to list changes made in each version of the dacpac cookbook.


  • [Alfonso Aguilar] - Initial release of dacpac

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Foodcritic Metric

0.1.0 failed this metric

FC017: LWRP does not notify when updated: /tmp/cook/f59191a7753c2cc671391efd/dacpac/providers/deploy.rb:26