diff --git a/recipes/server.rb b/recipes/server.rb index 6fe00c9..c45c4fe 100644 --- a/recipes/server.rb +++ b/recipes/server.rb @@ -26,7 +26,7 @@ end static_tcp_reg_key = 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\\' + node['sql_server']['reg_version'] + - service_name + '\MSSQLServer\SuperSocketNetLib\Tcp\IPAll' + node['sql_server']['instance_name'] + '\MSSQLServer\SuperSocketNetLib\Tcp\IPAll' # generate and set a password for the 'sa' super user node.set_unless['sql_server']['server_sa_password'] = "#{secure_password}-aA12"