Ask Your Question
0

Trying to use install_switches in the sqlserver module. What format should the parameter be in?

asked 2016-03-11 15:29:28 -0600

Lmuggs gravatar image

I'm not certain what "hash of switches means". I've tried variations of the following:

install_switches        => ['INSTALLSQLDATADIR="S:\"','TCPENABLED="1"','/SQLUSERDBDIR="D:\"','/SQLUSERDBLOGDIR="L:\"','/SQLTEMPDBDIR="T:\"'],

}

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-05-01 20:17:41 -0600

ryancfields gravatar image

updated 2016-05-03 13:49:37 -0600

Hash of switches will be in this format: { INSTALLSQLDATADIR => 'S:\', TCPENABLED => '1' }

If you are using hieradata, it will look like this:

 sql_manifest::install_switches:
 INSTALLSQLDATADIR: 'S:\'
 TCPENABLED: '1'

More info here: https://docs.puppet.com/puppet/latest/reference/langdatahash.html

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

Stats

Asked: 2016-03-11 15:29:28 -0600

Seen: 153 times

Last updated: May 03 '16