Skip to content
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

Merged
merged 62 commits into from Aug 4, 2017
Merged

(MODULES-5209) Prepare for 2.0.0 release #234

merged 62 commits into from Aug 4, 2017

Commits on May 9, 2017

  1. Merge pull request #210 from puppetlabs/release

    Release mergeback
    tphoney committed May 9, 2017
    Copy the full SHA
    91d52ad View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2017

  1. (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
    glennsarti committed Jun 1, 2017
    Copy the full SHA
    85d203d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #211 from glennsarti/modules-4257-add-2016-to-beaker

    (MODULES-4257) Add SQL Server 2016 support in acceptance tests
    eputnam committed Jun 1, 2017
    Copy the full SHA
    4dfaf8e View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2017

  1. (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.
    glennsarti committed Jun 2, 2017
    Copy the full SHA
    38d5610 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #213 from glennsarti/modules-4257-add-2016-to-beaker

    (maint) Update test helper for SQL Server 2016
    eputnam committed Jun 2, 2017
    Copy the full SHA
    a8d7398 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2017

  1. (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.
    glennsarti committed Jun 7, 2017
    Copy the full SHA
    84f75b7 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2017

  1. (maint) Delete commented out code

    This commit deletes code which has been commented out for some time and serves
    no purpose.
    glennsarti committed Jun 8, 2017
    Copy the full SHA
    1e33983 View commit details
    Browse the repository at this point in the history
  2. (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.
    glennsarti committed Jun 8, 2017
    Copy the full SHA
    9872616 View commit details
    Browse the repository at this point in the history
  3. (maint) Fix typo in test file name

    This commit removes the double underscore type error in the file names for the
    puppet provider tests.
    glennsarti committed Jun 8, 2017
    Copy the full SHA
    165fa9c View commit details
    Browse the repository at this point in the history
  4. (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.
    glennsarti committed Jun 8, 2017
    Copy the full SHA
    dc14cb4 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #215 from glennsarti/modules-4257-modify-instance-…

    …and-features
    
    (MODULES-4257) Modify instance and features for SQL Server 2016
    hunner committed Jun 8, 2017
    Copy the full SHA
    4e2b79f View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2017

  1. (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.
    glennsarti committed Jun 12, 2017
    Copy the full SHA
    4d6d694 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2017

  1. (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.
    glennsarti committed Jun 13, 2017
    Copy the full SHA
    d40db77 View commit details
    Browse the repository at this point in the history
  2. (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
    glennsarti committed Jun 13, 2017
    Copy the full SHA
    d344008 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2017

  1. (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.
    glennsarti committed Jun 15, 2017
    Copy the full SHA
    d26c1df View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2017

  1. Merge pull request #218 from glennsarti/fm-5389-add-features

    (FM-5389) Add missing shared feature SNAC_SDK
    jpogran committed Jun 16, 2017
    Copy the full SHA
    ca3904a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #217 from glennsarti/modules-5030-remove-service-e…

    …nsure
    
    (MODULES-5030) Remove service_ensure parameter
    jpogran committed Jun 16, 2017
    Copy the full SHA
    a43c911 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #216 from glennsarti/modules-3814-suppress-ui

    (MODULES-5092) Failures during .Net 3 installation should be obvious
    jpogran committed Jun 16, 2017
    Copy the full SHA
    a52e962 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2017

  1. (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.
    glennsarti committed Jun 19, 2017
    Copy the full SHA
    7496d27 View commit details
    Browse the repository at this point in the history
  2. (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.
    glennsarti committed Jun 19, 2017
    Copy the full SHA
    27ba6d1 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2017

  1. Revert "(FM-5389) Add missing shared feature SNAC_SDK"

    This reverts commit d26c1df.
    glennsarti committed Jun 20, 2017
    Copy the full SHA
    77c8e6d View commit details
    Browse the repository at this point in the history
  2. (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.
    glennsarti committed Jun 20, 2017
    Copy the full SHA
    d9eec98 View commit details
    Browse the repository at this point in the history
  3. (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.
    glennsarti committed Jun 20, 2017
    Copy the full SHA
    3bf21e0 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2017

  1. Merge pull request #219 from glennsarti/fix-snac

    (FM-5389) Fix sql_features when installing SNAC_SDK
    jpogran committed Jun 21, 2017
    Copy the full SHA
    108d109 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #221 from glennsarti/modules-2543-fix-purge-members

    (MODULES-2543) Purge members from SQL Server Role
    jpogran committed Jun 21, 2017
    Copy the full SHA
    e18fb51 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #220 from glennsarti/modules-2386-fix-as-sysadmin

    (MODULES-2386) Using as_sysadmin_accounts without AS feature should error
    jpogran committed Jun 21, 2017
    Copy the full SHA
    e52e9f0 View commit details
    Browse the repository at this point in the history
  4. (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.
    glennsarti committed Jun 21, 2017
    Copy the full SHA
    088e1ad View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2017

  1. (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.
    glennsarti committed Jun 22, 2017
    Copy the full SHA
    19bfd30 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2017

  1. Merge pull request #222 from glennsarti/fm-5021-escape-db-names

    (FM-5021) Escaping identifiers when creating a database
    jpogran committed Jun 23, 2017
    Copy the full SHA
    e71b76f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #224 from glennsarti/modules-4915-additional-conne…

    …ct-info
    
    (MODULES-4915) Remove forced TCP connection for SQL management
    jpogran committed Jun 23, 2017
    Copy the full SHA
    e87c9a6 View commit details
    Browse the repository at this point in the history
  3. (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.
    glennsarti committed Jun 23, 2017
    Copy the full SHA
    8d2b430 View commit details
    Browse the repository at this point in the history
  4. (FM-5062) Add testmode switcher to sqlserver module

    Erick Banks committed Jun 23, 2017
    Copy the full SHA
    1cffd31 View commit details
    Browse the repository at this point in the history
  5. (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.
    glennsarti committed Jun 23, 2017
    Copy the full SHA
    ee738b3 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #223 from ThoughtCrhyme/FM-5062

    (FM-5062) Add testmode switcher to sqlserver module
    glennsarti committed Jun 23, 2017
    Copy the full SHA
    b596297 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2017

  1. Merge pull request #226 from glennsarti/better-docs

    (maint) Add more advanced examples to documentation
    jpogran committed Jun 26, 2017
    Copy the full SHA
    04c4605 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #225 from glennsarti/modules-4842-metadata-bump

    (MODULES-4842) Update puppet compatibility with 4.7 as lower bound
    jpogran committed Jun 26, 2017
    Copy the full SHA
    aea2d04 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    79e3b27 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #228 from hunner/bump_metadata

    (MODULES-5144) Prep for puppet 5
    glennsarti committed Jun 26, 2017
    Copy the full SHA
    f28cfba View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2017

  1. (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.
    glennsarti committed Jun 30, 2017
    Copy the full SHA
    84ccf17 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2017

  1. (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
    glennsarti committed Jul 6, 2017
    Copy the full SHA
    e4ad8bd View commit details
    Browse the repository at this point in the history
  2. (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.
    glennsarti committed Jul 6, 2017
    Copy the full SHA
    0793ade View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2017

  1. Merge pull request #227 from glennsarti/puppet-4-update

    (MODULES-5126) Puppet4ing SQL Server
    Helen committed Jul 7, 2017
    Copy the full SHA
    c2326b3 View commit details
    Browse the repository at this point in the history
  2. (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.
    glennsarti committed Jul 7, 2017
    Copy the full SHA
    d348559 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2017

  1. Merge pull request #230 from glennsarti/puppet-4-update

    (MODULES-5126) Use integer in acceptance test
    Helen committed Jul 10, 2017
    Copy the full SHA
    4a090f2 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2017

  1. (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.
    glennsarti committed Jul 11, 2017
    Copy the full SHA
    6d78367 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2017

  1. Merge pull request #231 from glennsarti/modules-5070-polybase-args

    (MODULES-5070) Add polybase parameters to sql_instance
    jpogran committed Jul 12, 2017
    Copy the full SHA
    b045d07 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    9cde0b6 View commit details
    Browse the repository at this point in the history
  3. (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.
    glennsarti committed Jul 12, 2017
    Copy the full SHA
    69ce234 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #229 from puppetlabs/msync_modules5187

    (MODULES-5187)(MODULES-52080) mysnc puppet 5 and ruby 2.4
    eputnam committed Jul 12, 2017
    Copy the full SHA
    842add1 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2017

  1. (maint) Update README for sqlserver changes

    jbondpdx authored and glennsarti committed Jul 13, 2017
    Copy the full SHA
    18edd1d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #232 from jbondpdx/master

    some edits for sqlserver changes
    glennsarti committed Jul 13, 2017
    Copy the full SHA
    96ad303 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2017

  1. Copy the full SHA
    d561013 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2017

  1. Merge pull request #233 from ThoughtCrhyme/FM-6141

    (FM-6141) Add test-tiering, and README to spec directory
    glennsarti committed Jul 18, 2017
    Copy the full SHA
    1462cda View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2017

  1. Copy the full SHA
    766568d View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2017

  1. Merge pull request #235 from puppetlabs/maint-modsync-915cde70e20

    (maint) modulesync 915cde70e20
    pmcmaw committed Jul 28, 2017
    Copy the full SHA
    4d2a372 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2017

  1. Copy the full SHA
    7a44f4a View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    519aad0 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c9d13d6 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    7f5595d View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2017

  1. Copy the full SHA
    181bdf4 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2017

  1. (MODULES-5209) Prep for release 2.0.0

    The commit prepares the module for a version 2.0.0 release.
    glennsarti committed Aug 4, 2017
    Copy the full SHA
    161093e View commit details
    Browse the repository at this point in the history
  2. (maint) Remove unnecessary OS mocking in tests

    This commit removes the OS mocking in two spec tests as it is not required.
    glennsarti committed Aug 4, 2017
    Copy the full SHA
    1f23674 View commit details
    Browse the repository at this point in the history