Ask Your Question

puppetlabs-mssql module errors with invalid resource type

asked 2014-02-04 12:45:47 -0500

yoog gravatar image

Hello, I'll preface this with saying that I am new to puppet, our organization uses puppet but only on the linux side I've been doing a POC to try out the windows version.

I am having trouble with the puppetlabs-mssql module and when I run the puppet apply locally (with --debug) I get the following:

Info: Loading facts in C:/ProgramData/PuppetLabs/puppet/etc/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in C:/ProgramData/PuppetLabs/puppet/etc/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in C:/ProgramData/PuppetLabs/puppet/etc/modules/stdlib/lib/facter ...
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-02-10 18:03:12 -0500

nanliu gravatar image

That is the wrong invocation, it's not mssql resource, it's a class:

class { 'mssql':
    media          => 'D:\\',
    instancename   => 'MSSQLSERVER',
    features       => 'SQL,SSMS',
    agtsvcaccount  => 'SQLAGTSVC',
    agtsvcpassword => 'sqlagtsvc2008demo',
    sqlsvcaccount  => 'SQLSVC',
    sqlsvcpassword => 'sqlsvc2008demo',
    instancedir    => "C:\\Program Files\\Microsoft SQL Server",
    ascollation    => 'Latin1_General_CI_AS',
    sqlcollation   => 'SQL_Latin1_General_CP1_CI_AS',
    admin          => 'Administrator',
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-02-04 12:45:47 -0500

Seen: 93 times

Last updated: Feb 10 '14