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

Error when using dsc_timeout parameter. #358

Open
schlitzered opened this issue Nov 19, 2024 · 1 comment
Open

Error when using dsc_timeout parameter. #358

schlitzered opened this issue Nov 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@schlitzered
Copy link

Describe the Bug

we are trying to install sqlserver using the sqlserverdsc module, this takes quite a while, so we where trying to use dsc_timeout to adjust the timeout value like so:

FYI: we are using hiera a hiera lookup & create_resources

class doing the lookup

class profiles::sqlserverdsc::dsc_sqlsetup {
  $dsc_sqlsetup = lookup('sqlserverdsc::dsc_sqlsetup', { merge => hash, default_value => {} })
  create_resources('dsc_sqlsetup', $dsc_sqlsetup)
}

example hiera_data

sqlserverdsc::dsc_sqlsetup:
  MSSQLSERVER:
    dsc_action: Install
    dsc_instancename: MSSQLSERVER
    dsc_sqlsysadminaccounts:
      - 'BUILTIN\Administrators'
    dsc_features: "SQLENGINE,REPLICATION,IS,CONN" # Note: The order matters her for config validation. It will work in any order but will report a misconfig if not in the "right" order. Unsure on what determines that order beyond looking at the puppet logs.
    dsc_sourcepath: 'C:\InstallMedia\SQL 2019 Standard x64'
    dsc_timeout: 7200

the error

Error: dsc_sqlsetup[\{:name=>"MSSQLSERVER", :dsc_instancename=>"MSSQLSERVER"}]: Updating: Undefined property timeout

Expected Behavior

no error should be thrown when using dsc_timeout

Steps to Reproduce

check description

Environment

  • Puppet agent version 7
  • Windows 2016
@schlitzered
Copy link
Author

see also: #359

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant