New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(MODULES-5209) Prepare for 2.0.0 release #234
(MODULES-5209) Prepare for 2.0.0 release #234
Commits on May 9, 2017
Commits on Jun 1, 2017
-
(MODULES-4257) Add SQL Server 2016 support in acceptance tests
Previously only SQL Server 2012 and 2014 could be used to run the acceptance tests. This commit modifies the helpers to support running the tests with SQL Server 2016: - Adding the ISO image for SQL Server 2016 - Adding the paths for SQL Server 2016 and SQL Serve 2014 to locate sqlcmd.exe
-
Merge pull request #211 from glennsarti/modules-4257-add-2016-to-beaker
(MODULES-4257) Add SQL Server 2016 support in acceptance tests
Commits on Jun 2, 2017
-
(maint) Update test helper for SQL Server 2016
Previously the module was updated to support SQL Server 2016 for acceptance tests however one reference was missed. This commit adds the install path detection for SQL Server 2016, which is then used in acceptance tests, such as sqlserver_instance.
-
Merge pull request #213 from glennsarti/modules-4257-add-2016-to-beaker
(maint) Update test helper for SQL Server 2016
Commits on Jun 7, 2017
-
(MODULES-5031) Modify facts for SQL Server 2016
Previously the custom facts for the module only supported SQL Server 2012 and 2014. This commit updates the facts to support usage on SQL Server 2016, and adds additional feature detection for features that have been added in Server 2016, or missed out on Server 2014.
Commits on Jun 8, 2017
-
(maint) Delete commented out code
This commit deletes code which has been commented out for some time and serves no purpose.
-
(MODULES-4257) Modify instance and features for SQL Server 2016
Previously the sqlserver_instance and sqlserver_feature acceptance tests were failing. This was mainly due to SQL Server 2016 not having a feature for the SQL Management Studio (ADV_SSMS and SSMS). However it was later found that the super features called Tools and SQL were not providing an adequate abstraction e.g. they were not rolled up in the Facter facts. This commit adds support for SQL Server 2016 by the following: - Deprecating the use of 'Tools' in the sqlserver_features and 'SQL' in the sqlserver_instance custom types. These super features will continue to function however use of them will generate a deprecation warning - The acceptance tests for the super features was removed - Most tests which referred to ADV_SSMS and SSMS were removed. Where not possible, they were guarded to not be tested on SQL Server 2016. - An installation media version detection method was added as Dot Net 3.5 is not required for SQL Server 2016 installation. This is only applicable for SQL Server 2012 and 2014. - Refactored the instances method for sqlserver_features to support multiple server editions on a server but until MODULES-5060 is resolved, only the first set is returned.
-
(maint) Fix typo in test file name
This commit removes the double underscore type error in the file names for the puppet provider tests.
-
(MODULES-4257) Update README with SQL Server 2016 features
This commit updates the README with new features available for SQL Server 2016, and adds notes about the deprecation of the super features.
-
Merge pull request #215 from glennsarti/modules-4257-modify-instance-…
…and-features (MODULES-4257) Modify instance and features for SQL Server 2016
Commits on Jun 12, 2017
-
(maint) Declare ALL_SQL_VERSIONS once
Previously the module would generate warnings that the ALL_SQL_VERSIONS constant was already defined. This commit changes the assignment so that it only assigns the constant if it does not already exist.
Commits on Jun 13, 2017
-
(MODULES-5092) Failures during .Net 3 installation should be obvious
Previously if dot Net 3 experienced an error during installation, no error would be logged and instead the SQL Setup would then fail but not inform Puppet as to why. This commit changes the dot Net 3 installation method to instead log the output from the installation process and fail the puppet run, with log information, if the installation fails.
-
(MODULES-5030) Remove service_ensure parameter
Previously the service_ensure parameter was defined in the type however it was never implemented in the provider. As such this param had no effect. This commit removes the parameter because: - This parameter is confusing as it is only applicable at installation time, not constantly enforced - Each service can have a different startup type. This is already possible using the install_switches e.g. /BROWSERSVCSTARTUPTYPE=Disabled - Ongoing Windows service state should really be managed by a puppet manifest not by an installation switch
Commits on Jun 15, 2017
-
(FM-5389) Add missing shared feature SNAC_SDK
Previously in commit 84f75b7 the feature list was extended however it missed the SQL Native Client SDK. This commit adds the SNAC_SDK as a detectable and installable feature. This commit also updates the README.
Commits on Jun 16, 2017
-
Merge pull request #218 from glennsarti/fm-5389-add-features
(FM-5389) Add missing shared feature SNAC_SDK
-
Merge pull request #217 from glennsarti/modules-5030-remove-service-e…
…nsure (MODULES-5030) Remove service_ensure parameter
-
Merge pull request #216 from glennsarti/modules-3814-suppress-ui
(MODULES-5092) Failures during .Net 3 installation should be obvious
Commits on Jun 19, 2017
-
(FM-5389) Fix sql_features when installing SNAC_SDK
Previously the sql_features was not idempotent when installing the SQL Native Client SDK (SNAC_SDK). This Due to the SQL Native Client not being unique across SQL Server versions (e.g. SQL 2016 (v13) installs Native Client with a version that matches for SQL 2012 (v11)). Due to MODULES-5060 it is noted that the SQL Server Module can not be used to manage different SQL Server versions on the same host. Knowing this it is safe to collate all of the SQL Server shared features, regardless of version, and use that as the list of installed features and is safely idempotent. This commit also adds a README section to known issues about this issue.
-
(MODULES-2386) Using as_sysadmin_accounts without AS feature should e…
…rror Previously if the as_sysadmin_accounts parameter was set however the required AS feature was not in the feature list, then the SQL installation would proceed and not install AS. This commit changes the behaviour of the provider to fail the resource if the as_sysadmin_accounts is set in the sql_instance resource without the required AS feature in the feature list on creation.
Commits on Jun 20, 2017
-
Revert "(FM-5389) Add missing shared feature SNAC_SDK"
This reverts commit d26c1df.
-
(FM-5389) Add README about the SNAC_SDK feature
The SNAC_SDK feature can not be managed by the module as it is not able to be uninstalled using the SQL Server installation media (particularly on SQL Server 2016). This commit adds a note about this limitation in the README.
-
(MODULES-2543) Purge members from SQL Server Role
Previously the purge_members parameter of the sqlserver::role resource was not taking effect. This commit re-instates the acceptance test for this behaviour and changes the sql query used to detect members which are no longer required. It appears the table variable usage was returning zero results for the row count. Instead the detection is changed to just using the SELECT query, instead of an INSERT INTO, which does not require any row count calculation. This commit also modifies the role deletion as SQL Server requires any members to be removed prior to a role being deleted.
Commits on Jun 21, 2017
-
Merge pull request #219 from glennsarti/fix-snac
(FM-5389) Fix sql_features when installing SNAC_SDK
-
Merge pull request #221 from glennsarti/modules-2543-fix-purge-members
(MODULES-2543) Purge members from SQL Server Role
-
Merge pull request #220 from glennsarti/modules-2386-fix-as-sysadmin
(MODULES-2386) Using as_sysadmin_accounts without AS feature should error
-
(FM-5021) Escaping identifiers when creating a database
Previously the name of file and log files were not escaped properly which caused SQL Server to interpret incorrectly. The dashes in the name were being seen as a minus operator. This commit changes the name of the Log and File files to be seen as strings instead of identifiers. This commit also updates the spec tests to expect these names to be escaped.
Commits on Jun 22, 2017
-
(MODULES-4915) Remove forced TCP connection for SQL management
Previously the module tried to connect to the SQL instance using the name localhost. This had the side effect of always using the TCP based connection. If a customer used a non-default Port (common practice) then the sql_connection would not connect. This commit instead changes the Datasource to use the '.' moniker which denotes the local machine. However this instructs the OLE DB provider to use the enabled protocols enabled for the native client instead of only using TCP. This means it will prefer to use the Shared Memory protocol if enabled. Also the Shared Memory protocol is required to be enabled for the SQL Server Agent process on SQL Server 2016.
Commits on Jun 23, 2017
-
Merge pull request #222 from glennsarti/fm-5021-escape-db-names
(FM-5021) Escaping identifiers when creating a database
-
Merge pull request #224 from glennsarti/modules-4915-additional-conne…
…ct-info (MODULES-4915) Remove forced TCP connection for SQL management
-
(MODULES-4842) Update puppet compatibility with 4.7 as lower bound
The Puppet Agent support is deprecated on many of the versions suggested in the metadata. This commit updates the lower bound of the dependency to puppet agent 4.7.0.
-
(FM-5062) Add testmode switcher to sqlserver module
Erick Banks committedJun 23, 2017 -
(maint) Add more advanced examples to documentation
This commit adds a more advanced manifest to configure an SQL Server. This is useful for people to bring together all the different resources etc. in the module into a single place to see how they can be used.
-
Merge pull request #223 from ThoughtCrhyme/FM-5062
(FM-5062) Add testmode switcher to sqlserver module
Commits on Jun 26, 2017
-
Merge pull request #226 from glennsarti/better-docs
(maint) Add more advanced examples to documentation
-
Merge pull request #225 from glennsarti/modules-4842-metadata-bump
(MODULES-4842) Update puppet compatibility with 4.7 as lower bound
-
-
Merge pull request #228 from hunner/bump_metadata
(MODULES-5144) Prep for puppet 5
Commits on Jun 30, 2017
-
(maint) Update Stdlib for Puppet 4 compatibility
The Stdlib library from version 4.13.1 onwards is required for Puppet 4 compatibility. This commit updates the metadata.json to enforce the correct module version.
Commits on Jul 6, 2017
-
(MODULES-5126) Use Puppet 4 Data types
Previously this module used a lot of validation functions from stdlib which are now deprecated due to Puppet 4 Data types. This commit: - Converts all manifest type resources to use Puppet 4 Data Types - Removes any validation that is redundant due to using Data types - Removes the sqlserver_validate_on_off function as it is no longer required - Updates tests with different error messages due to Data Types
-
(MODULES-5126) Remove unsued function
The sqlserver_validate_svrroles_hash function is no longer called and can be removed. This commit removes the function and its associated tests.
Commits on Jul 7, 2017
-
Merge pull request #227 from glennsarti/puppet-4-update
(MODULES-5126) Puppet4ing SQL Server
Helen committedJul 7, 2017 -
(MODULES-5126) Use integer in acceptance test
Previously the user acceptance test setup a database with a string for the compatibility level, however the resource expects an Integer. This commit changes the value to an expected type.
Commits on Jul 10, 2017
-
Merge pull request #230 from glennsarti/puppet-4-update
(MODULES-5126) Use integer in acceptance test
Helen committedJul 10, 2017
Commits on Jul 11, 2017
-
(MODULES-5070) Add polybase parameters to sql_instance
Previously the PolyBase features were added to sql_instance however the config settings for username and password were not surfaced on the type. This commit: - Adds the polybase_svc_account and polybase_svc_password parameters to the sql_instance - Adds checks to the provider so an error is thrown if the polybase params are set, but no polybase feature is being installed - Previously the code assumed the puppet parameter names directly lined up with SQL Server installation command line switches however for Polybase, this is not true. This commit changes to using a simple lookup hashtable - This commit also removes a shared example called 'run' and install helper as they were not being used in any tests.
Commits on Jul 12, 2017
-
Merge pull request #231 from glennsarti/modules-5070-polybase-args
(MODULES-5070) Add polybase parameters to sql_instance
-
-
(MODULES-5208) Fix spec tests for Puppet 5
As part of PUP-5659 relationship validation in the catalog now errors instead of warning for missing required relationships. Previously the spec tests were passing as Puppet 4.x would ignore the required resource e.g. the sqlserver::login::permissions resource required a sql::config resource in the catalog. However our test fixtures were not creating that but Puppet didn't care. Now that Puppet des validate these relationships, the specs were failing. This commit adds the required resources into the test fixtures.
-
Merge pull request #229 from puppetlabs/msync_modules5187
(MODULES-5187)(MODULES-52080) mysnc puppet 5 and ruby 2.4
Commits on Jul 13, 2017
-
-
Merge pull request #232 from jbondpdx/master
some edits for sqlserver changes
Commits on Jul 17, 2017
-
(FM-6141) Add test-tiering, and README to spec directory
Erick Banks committedJul 17, 2017
Commits on Jul 18, 2017
-
Merge pull request #233 from ThoughtCrhyme/FM-6141
(FM-6141) Add test-tiering, and README to spec directory
Commits on Jul 27, 2017
Commits on Jul 28, 2017
-
Merge pull request #235 from puppetlabs/maint-modsync-915cde70e20
(maint) modulesync 915cde70e20
Commits on Aug 2, 2017
Commits on Aug 3, 2017
Commits on Aug 4, 2017
-
(MODULES-5209) Prep for release 2.0.0
The commit prepares the module for a version 2.0.0 release.
-
(maint) Remove unnecessary OS mocking in tests
This commit removes the OS mocking in two spec tests as it is not required.