Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

rename accept_license_terms attribute to accept_eula for consistency …

…with other cookbooks like iis
  • Loading branch information...
commit 72bbe14a4b36c0d986a2245de8c69497bd881799 1 parent 7fc6fe9
Seth Chisamore authored September 29, 2011
6  sql_server/README.md
Source Rendered
@@ -23,7 +23,7 @@ default
23 23
 
24 24
 The following attributes are used by both client and server recipes.
25 25
 
26  
-* `node['sql_server']['accept_license_terms']` - indicate that you accept the terms of the end user license, default is 'false'
  26
+* `node['sql_server']['accept_eula']` - indicate that you accept the terms of the end user license, default is 'false'
27 27
 * `node['sql_server']['product_key']` - Specifies the product key for the edition of SQL Server, default is `nil` (not needed for SQL Server 2008 R2 Express installs)
28 28
 
29 29
 client
@@ -83,7 +83,7 @@ Installing any of the SQL Server server or client packages in an unattended/auto
83 83
     )
84 84
     default_attributes(
85 85
       "sql_server" => {
86  
-        "accept_license_terms" => true
  86
+        "accept_eula" => true
87 87
       }
88 88
     )
89 89
 
@@ -99,7 +99,7 @@ Out of the box this recipe installs the Express edition of SQL Server 2008 R2.
99 99
       "sql_server" => {
100 100
         "instance_name" => "MSSQLSERVER",
101 101
         "product_key" => "YOUR_PRODUCT_KEY_HERE",
102  
-        "accept_license_terms" => true,
  102
+        "accept_eula" => true,
103 103
         "server" => {
104 104
           "url" => "DOWNLOAD_LOCATION_OF_INSTALLATION_PACKAGE",
105 105
           "checksum" => "SHA256_OF_INSTALLATION_PACKAGE"
2  sql_server/attributes/default.rb
@@ -18,5 +18,5 @@
18 18
 # limitations under the License.
19 19
 #
20 20
 
21  
-default['sql_server']['accept_license_terms'] = false
  21
+default['sql_server']['accept_eula'] = false
22 22
 default['sql_server']['product_key'] = nil
2  sql_server/recipes/client.rb
@@ -27,7 +27,7 @@
27 27
       source node['sql_server'][pkg]['url']
28 28
       checksum node['sql_server'][pkg]['checksum']
29 29
       installer_type :msi
30  
-      options "IACCEPTSQLNCLILICENSETERMS=#{node['sql_server']['accept_license_terms'] ? 'YES' : 'NO'}"
  30
+      options "IACCEPTSQLNCLILICENSETERMS=#{node['sql_server']['accept_eula'] ? 'YES' : 'NO'}"
31 31
       action :install
32 32
     end
33 33
 
2  sql_server/templates/default/ConfigurationFile.ini.erb
@@ -4,7 +4,7 @@
4 4
 
5 5
 ; Auto accept the license terms
6 6
 
7  
-IACCEPTSQLSERVERLICENSETERMS="<%= node['sql_server']['accept_license_terms'] ? "True" : "False" %>"
  7
+IACCEPTSQLSERVERLICENSETERMS="<%= node['sql_server']['accept_eula'] ? "True" : "False" %>"
8 8
 
9 9
 <% unless (node['sql_server']['product_key'].nil? || node['sql_server']['product_key'].empty?)  -%>
10 10
 ; Product Key

0 notes on commit 72bbe14

Please sign in to comment.
Something went wrong with that request. Please try again.