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

xSQLServerDatabaseDefaultLocation: New Resource #656

Closed
randomnote1 opened this issue Jun 23, 2017 · 3 comments · Fixed by #856
Closed

xSQLServerDatabaseDefaultLocation: New Resource #656

randomnote1 opened this issue Jun 23, 2017 · 3 comments · Fixed by #856
Labels
resource proposal The issue is proposing a new resource in the resource module.

Comments

@randomnote1
Copy link
Contributor

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 johlju added help wanted The issue is up for grabs for anyone in the community. resource proposal The issue is proposing a new resource in the resource module. labels Jun 23, 2017
@johlju
Copy link
Member

johlju commented Jun 23, 2017

Looks good to me! 😄

@PaulFeaser
Copy link
Contributor

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

@johlju
Copy link
Member

johlju commented Jun 23, 2017

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

@johlju johlju added in progress The issue is being actively worked on by someone. and removed help wanted The issue is up for grabs for anyone in the community. labels Jun 23, 2017
johlju pushed a commit that referenced this issue Oct 27, 2017
- Added resource
  - xSQLServerDatabaseDefaultLocation (issue #656)
@johlju johlju removed the in progress The issue is being actively worked on by someone. label Oct 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resource proposal The issue is proposing a new resource in the resource module.
Projects
None yet
3 participants