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

xSQLServerDatabaseDefaultLocation: New Resource #656

Closed
randomnote1 opened this Issue Jun 23, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@randomnote1
Contributor

randomnote1 commented Jun 23, 2017

Details of the scenario you tried and the problem that is occurring:
I propose a new resource called xSQLServerDatabaseDefaultLocation be created in order to manage the default data, log, and backup locations of an instance. Here is the proposed schema:

[ClassVersion("1.0.0.0"), FriendlyName("xSQLServerDatabaseDefaultLocation")]
class MSFT_xSQLServerDatabaseDefaultLocation : OMI_BaseResource
{
    [Key, Description("The host name of the SQL Server to be configured.")] String SQLServer;
    [Key, Description("The name of the SQL instance to be configured.")] String SQLInstanceName;
    [Key, Description("The default location to set. Valid values are 'Data','Log', and 'Backup'."), ValueMap{"Data","Log","Backup"}, Values{"Data","Log","Backup"}] String Location;
    [Key, Description("The full path to the desired default location.")] String Path;
};

The DSC configuration that is using the resource (as detailed as possible):
N/A
Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
N/A
What module (SqlServer or SQLPS) and which version of the module the DSC Target Node is running:
N/A
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
dev

@johlju

This comment has been minimized.

Show comment
Hide comment
@johlju

johlju Jun 23, 2017

Contributor

Looks good to me! 😄

Contributor

johlju commented Jun 23, 2017

Looks good to me! 😄

@PaulFeaser

This comment has been minimized.

Show comment
Hide comment
@PaulFeaser

PaulFeaser Jun 23, 2017

Contributor

I will work on this issue. I'm working with @randomnote1 on this.

Contributor

PaulFeaser commented Jun 23, 2017

I will work on this issue. I'm working with @randomnote1 on this.

@johlju

This comment has been minimized.

Show comment
Hide comment
@johlju

johlju Jun 23, 2017

Contributor

@PaulFeaser awesome! I labeling this one as in progress. 😄

Contributor

johlju commented Jun 23, 2017

@PaulFeaser awesome! I labeling this one as in progress. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment