Ask Your Question
1

what is the best way to implement the sqlserver module?

asked 2015-04-22 14:00:09 -0500

michaelbrule gravatar image

I'm having trouble getting started with the Puppetlabs/SQLServer module. I don't seem to be able to use the module's types to create classes or push changes down to the SQL Server.

edit retag flag offensive close merge delete

Comments

Some additional info. I created a class called sqlserver_db as below. When I apply it I get an error saying it can't find class sqlserver_db. class sqlserver_db ($instance, $admuser,$admpass,$dbname) { sqlserver::config { $instance : admin_user => $admuser, admin_pass =>

michaelbrule gravatar imagemichaelbrule ( 2015-04-22 16:01:18 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-04-24 14:21:13 -0500

rnelson0 gravatar image

The module must be present in order to be used. In many cases, that error message indicates that the module is not present or not found in the modulepath.

Have you installed the module on your puppet master? puppet module list [--environment=<environment>] will help you determine that, and puppet module install puppetlabs-sqlserver will install it if it is missing.

edit flag offensive delete link more

Comments

Yes, the module has been installed. Just can't seem to get anything done with it.

michaelbrule gravatar imagemichaelbrule ( 2015-04-24 16:25:18 -0500 )edit

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2015-04-22 14:00:09 -0500

Seen: 250 times

Last updated: Apr 24 '15