Skip to content

Instantly share code, notes, and snippets.

@leifmadsen
Created January 11, 2013 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leifmadsen/4512616 to your computer and use it in GitHub Desktop.
Save leifmadsen/4512616 to your computer and use it in GitHub Desktop.
mysql_connection_info = {
:host => "localhost",
:username => 'root',
:password => node['mysql']['server_root_password']
}
template "/etc/odbc.ini" do
source "odbc.ini.erb"
owner "root"
group "root"
mode 00600
variables ({
:conn_info => mysql_connection_info
})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment