puppet-vscode
puppet-vscode copied to clipboard
Error on hover
OS Version: Windows Server 20919 - CentOS 7.9 VSCode Version: 1.55.1 Puppet Extension Version: 1.2.0 PDK Version: 2.1.0
What You Are Seeing?
Hover throws an error. Intellisense isn't working either.
[2021-04-13 14:47:12.689] [exthost] [error] TypeError: Cannot read property 'kind' of null
at asHoverContent (/home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/node_modules/vscode-languageclient/lib/protocolConverter.js:101:27)
at asHover (/home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/node_modules/vscode-languageclient/lib/protocolConverter.js:134:31)
I'm on Windows Server with vscode connected to a linux server hosting the files via Remote.SSH.
What is Expected?
Tooltips on hover. Intellisense working.
How Did You Get This To Happen? (Steps to Reproduce)
Using the extension via Remote.SSH.
Output Log
This is my debug log:
I, [2021-04-13T14:46:59.906026 #17879] INFO -- : Language Server is v1.1.0
D, [2021-04-13T14:46:59.907894 #17879] DEBUG -- : Loading gems...
I, [2021-04-13T14:47:01.514525 #17879] INFO -- : Using Puppet v7.5.0
I, [2021-04-13T14:47:01.516585 #17879] INFO -- : Using Facter v4.0.52
D, [2021-04-13T14:47:01.518339 #17879] DEBUG -- : Detected additional puppet settings ["--environment", "windows", "--modulepath", "/home/mhj/environments"]
I, [2021-04-13T14:47:01.557278 #17879] INFO -- : Initializing settings...
I, [2021-04-13T14:47:01.559332 #17879] INFO -- : Starting RPC Server...
D, [2021-04-13T14:47:01.560622 #17879] DEBUG -- : Using STDIO Server
D, [2021-04-13T14:47:01.563230 #17879] DEBUG -- : STDIOSRV: Starting STDIO server...
D, [2021-04-13T14:47:01.565083 #17879] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":17782,"rootPath":"/home/mhj/environments/windows","rootUri":"file:///home/mhj/environments/windows","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional"},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true},"textDocument":{"publishDiagnostics":{"relatedInformation":true},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"codeAction":{"dynamicRegistration":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"documentLink":{"dynamicRegistration":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"declaration":{"dynamicRegistration":true,"linkSupport":true}}},"trace":"off","workspaceFolders":[{"uri":"file:///home/mhj/environments/windows","name":"windows"}]}}
---
D, [2021-04-13T14:47:01.566627 #17879] DEBUG -- : Received initialize method
I, [2021-04-13T14:47:01.568251 #17879] INFO -- : Loading Default Data via aggregate (Async)...
D, [2021-04-13T14:47:01.569976 #17879] DEBUG -- : SidecarQueue Thread: Running sidecar ["ruby", "/home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/puppet-languageserver-sidecar", "--action", "default_aggregate", "--puppet-version=7.5.0", "--puppet-settings=--environment,windows,--modulepath,/home/mhj/environments"]
D, [2021-04-13T14:47:01.570066 #17879] DEBUG -- : SidecarQueue Thread: Running sidecar ["ruby", "/home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/puppet-languageserver-sidecar", "--action", "facts", "--puppet-version=7.5.0", "--puppet-settings=--environment,windows,--modulepath,/home/mhj/environments"]
I, [2021-04-13T14:47:01.570108 #17879] INFO -- : Loading static data (Async)...
I, [2021-04-13T14:47:01.570237 #17879] INFO -- : Loading Workspace Data via aggregate (Async)...
D, [2021-04-13T14:47:01.573545 #17879] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":0,"result":{"capabilities":{"textDocumentSync":1,"hoverProvider":true,"completionProvider":{"resolveProvider":true,"triggerCharacters":[">","$","[","="]},"definitionProvider":true,"documentSymbolProvider":true,"workspaceSymbolProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]}}}}
---
D, [2021-04-13T14:47:01.573673 #17879] DEBUG -- : Importing static data file /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver/static_data/bolt-aggregate.json...
D, [2021-04-13T14:47:01.575299 #17879] DEBUG -- : Importing static data file /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver/static_data/bolt-boltlib.json...
D, [2021-04-13T14:47:01.578136 #17879] DEBUG -- : Importing static data file /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver/static_data/bolt-canary.json...
D, [2021-04-13T14:47:01.578336 #17879] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","method":"initialized","params":{}}
---
I, [2021-04-13T14:47:01.579935 #17879] INFO -- : Client has received initialization
D, [2021-04-13T14:47:01.580137 #17879] DEBUG -- : Importing static data file /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver/static_data/bolt-ctrl.json...
I, [2021-04-13T14:47:01.581422 #17879] INFO -- : Attempting to dynamically register the workspace/didChangeConfiguration method with id 709f6d70-b5bb-448e-92a7-318d71be6b0c
D, [2021-04-13T14:47:01.581623 #17879] DEBUG -- : Importing static data file /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver/static_data/bolt-dir.json...
D, [2021-04-13T14:47:01.582959 #17879] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":0,"method":"client/registerCapability","params":{"registrations":[{"method":"workspace/didChangeConfiguration","id":"709f6d70-b5bb-448e-92a7-318d71be6b0c","registerOptions":{}}]}}
---
D, [2021-04-13T14:47:01.583090 #17879] DEBUG -- : Importing static data file /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver/static_data/bolt-file.json...
D, [2021-04-13T14:47:01.585616 #17879] DEBUG -- : Importing static data file /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver/static_data/bolt-out.json...
D, [2021-04-13T14:47:01.585776 #17879] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///home/mhj/environments/windows/modules/sqlhosting/manifests/host.pp","languageId":"puppet","version":1,"text":"# lint:ignore:140chars lint:ignore:double_quoted_strings\n# Class: sqlhosting::host\n# Configuration of sqlhosting host\n#\nclass sqlhosting::host (\n String $sql_server_version,\n){\n\n dsc_sqlsetup { 'sql':\n dsc_action => 'Install',\n dsc_agtsvcstartuptype => 'Automatic',\n dsc_browsersvcstartuptype => 'Disabled',\n dsc_features => 'SQLENGINE',\n dsc_forcereboot => true,\n dsc_installsqldatadir => 'D:\\\\Data',\n dsc_npenabled => false,\n dsc_securitymode => 'SQL',\n dsc_sourcepath => 'path',\n dsc_sqlbackupdir => 'E:\\\\Backup',\n dsc_sqlsysadminaccounts => 'Administrator',\n dsc_sqltempdbdir => 'F:\\\\TempDB',\n dsc_sqltempdbfilecount => 4,\n dsc_sqltempdbfilegrowth => 0,\n dsc_sqltempdbfilesize => 10240,\n dsc_sqltempdblogdir => 'F:\\\\TempDb',\n dsc_sqltempdblogfilegrowth => 0,\n dsc_sqltempdblogfilesize => 10240,\n dsc_sqluserdbdir => 'D:\\\\Data',\n dsc_sqluserdblogdir => 'G:\\\\Log',\n\n }\n\n}\n"}}}
---
D, [2021-04-13T14:47:01.587189 #17879] DEBUG -- : Importing static data file /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver/static_data/bolt-prompt.json...
I, [2021-04-13T14:47:01.588638 #17879] INFO -- : Received textDocument/didOpen notification.
D, [2021-04-13T14:47:01.589613 #17879] DEBUG -- : Importing static data file /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver/static_data/bolt-puppetdb_fact.json...
D, [2021-04-13T14:47:01.593915 #17879] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":0,"result":null}
---
D, [2021-04-13T14:47:01.613070 #17879] DEBUG -- : Importing static data file /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver/static_data/bolt-system.json...
D, [2021-04-13T14:47:01.617254 #17879] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/mhj/environments/windows/modules/sqlhosting/manifests/host.pp","diagnostics":[]}}
---
D, [2021-04-13T14:47:01.617475 #17879] DEBUG -- : Static bolt data returned 47 functions
I, [2021-04-13T14:47:01.618386 #17879] INFO -- : Succesfully dynamically registered the workspace/didChangeConfiguration method
D, [2021-04-13T14:47:01.620837 #17879] DEBUG -- : Static bolt data returned 7 datatypes
D, [2021-04-13T14:47:01.622754 #17879] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":1,"method":"workspace/configuration","params":{"items":[{"section":"puppet"}]}}
---
D, [2021-04-13T14:47:01.624351 #17879] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":1,"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///home/mhj/environments/windows/modules/sqlhosting/manifests/host.pp"}}}
---
D, [2021-04-13T14:47:01.633939 #17879] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":1,"result":[{"kind":5,"selectionRange":{"end":{"line":32,"character":1},"start":{"line":4,"character":0}},"children":[{"kind":7,"selectionRange":{"end":{"line":5,"character":28},"start":{"line":5,"character":9}},"children":[],"range":{"end":{"line":5,"character":28},"start":{"line":5,"character":9}},"detail":"$sql_server_version","name":"$sql_server_version"},{"kind":6,"selectionRange":{"start":{"line":8,"character":17},"end":{"line":8,"character":22}},"children":[{"kind":13,"selectionRange":{"end":{"line":9,"character":14},"start":{"line":9,"character":4}},"children":[],"range":{"end":{"line":9,"character":43},"start":{"line":9,"character":4}},"detail":"dsc_action","name":"dsc_action"},{"kind":13,"selectionRange":{"end":{"line":10,"character":25},"start":{"line":10,"character":4}},"children":[],"range":{"end":{"line":10,"character":45},"start":{"line":10,"character":4}},"detail":"dsc_agtsvcstartuptype","name":"dsc_agtsvcstartuptype"},{"kind":13,"selectionRange":{"end":{"line":11,"character":29},"start":{"line":11,"character":4}},"children":[],"range":{"end":{"line":11,"character":44},"start":{"line":11,"character":4}},"detail":"dsc_browsersvcstartuptype","name":"dsc_browsersvcstartuptype"},{"kind":13,"selectionRange":{"end":{"line":12,"character":16},"start":{"line":12,"character":4}},"children":[],"range":{"end":{"line":12,"character":45},"start":{"line":12,"character":4}},"detail":"dsc_features","name":"dsc_features"},{"kind":13,"selectionRange":{"end":{"line":13,"character":19},"start":{"line":13,"character":4}},"children":[],"range":{"end":{"line":13,"character":38},"start":{"line":13,"character":4}},"detail":"dsc_forcereboot","name":"dsc_forcereboot"},{"kind":13,"selectionRange":{"end":{"line":14,"character":25},"start":{"line":14,"character":4}},"children":[],"range":{"end":{"line":14,"character":44},"start":{"line":14,"character":4}},"detail":"dsc_installsqldatadir","name":"dsc_installsqldatadir"},{"kind":13,"selectionRange":{"end":{"line":15,"character":17},"start":{"line":15,"character":4}},"children":[],"range":{"end":{"line":15,"character":39},"start":{"line":15,"character":4}},"detail":"dsc_npenabled","name":"dsc_npenabled"},{"kind":13,"selectionRange":{"end":{"line":16,"character":20},"start":{"line":16,"character":4}},"children":[],"range":{"end":{"line":16,"character":39},"start":{"line":16,"character":4}},"detail":"dsc_securitymode","name":"dsc_securitymode"},{"kind":13,"selectionRange":{"end":{"line":17,"character":18},"start":{"line":17,"character":4}},"children":[],"range":{"end":{"line":17,"character":40},"start":{"line":17,"character":4}},"detail":"dsc_sourcepath","name":"dsc_sourcepath"},{"kind":13,"selectionRange":{"end":{"line":18,"character":20},"start":{"line":18,"character":4}},"children":[],"range":{"end":{"line":18,"character":46},"start":{"line":18,"character":4}},"detail":"dsc_sqlbackupdir","name":"dsc_sqlbackupdir"},{"kind":13,"selectionRange":{"end":{"line":19,"character":27},"start":{"line":19,"character":4}},"children":[],"range":{"end":{"line":19,"character":49},"start":{"line":19,"character":4}},"detail":"dsc_sqlsysadminaccounts","name":"dsc_sqlsysadminaccounts"},{"kind":13,"selectionRange":{"end":{"line":20,"character":20},"start":{"line":20,"character":4}},"children":[],"range":{"end":{"line":20,"character":46},"start":{"line":20,"character":4}},"detail":"dsc_sqltempdbdir","name":"dsc_sqltempdbdir"},{"kind":13,"selectionRange":{"end":{"line":21,"character":26},"start":{"line":21,"character":4}},"children":[],"range":{"end":{"line":21,"character":35},"start":{"line":21,"character":4}},"detail":"dsc_sqltempdbfilecount","name":"dsc_sqltempdbfilecount"},{"kind":13,"selectionRange":{"end":{"line":22,"character":27},"start":{"line":22,"character":4}},"children":[],"range":{"end":{"line":22,"character":35},"start":{"line":22,"character":4}},"detail":"dsc_sqltempdbfilegrowth","name":"dsc_sqltempdbfilegrowth"},{"kind":13,"selectionRange":{"end":{"line":23,"character":25},"start":{"line":23,"character":4}},"children":[],"range":{"end":{"line":23,"character":39},"start":{"line":23,"character":4}},"detail":"dsc_sqltempdbfilesize","name":"dsc_sqltempdbfilesize"},{"kind":13,"selectionRange":{"end":{"line":24,"character":23},"start":{"line":24,"character":4}},"children":[],"range":{"end":{"line":24,"character":46},"start":{"line":24,"character":4}},"detail":"dsc_sqltempdblogdir","name":"dsc_sqltempdblogdir"},{"kind":13,"selectionRange":{"end":{"line":25,"character":30},"start":{"line":25,"character":4}},"children":[],"range":{"end":{"line":25,"character":35},"start":{"line":25,"character":4}},"detail":"dsc_sqltempdblogfilegrowth","name":"dsc_sqltempdblogfilegrowth"},{"kind":13,"selectionRange":{"end":{"line":26,"character":28},"start":{"line":26,"character":4}},"children":[],"range":{"end":{"line":26,"character":39},"start":{"line":26,"character":4}},"detail":"dsc_sqltempdblogfilesize","name":"dsc_sqltempdblogfilesize"},{"kind":13,"selectionRange":{"end":{"line":27,"character":20},"start":{"line":27,"character":4}},"children":[],"range":{"end":{"line":27,"character":44},"start":{"line":27,"character":4}},"detail":"dsc_sqluserdbdir","name":"dsc_sqluserdbdir"},{"kind":13,"selectionRange":{"end":{"line":28,"character":23},"start":{"line":28,"character":4}},"children":[],"range":{"end":{"line":28,"character":43},"start":{"line":28,"character":4}},"detail":"dsc_sqluserdblogdir","name":"dsc_sqluserdblogdir"}],"range":{"end":{"line":30,"character":3},"start":{"line":8,"character":2}},"detail":"dsc_sqlsetup: 'sql'","name":"dsc_sqlsetup: 'sql'"}],"range":{"end":{"line":32,"character":1},"start":{"line":4,"character":0}},"detail":"sqlhosting::host","name":"sqlhosting::host"}]}
---
D, [2021-04-13T14:47:01.635476 #17879] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":1,"result":[{"editorService":{"enable":true,"debugFilePath":"/home/mhj/log.log","featureFlags":["puppetstrings"],"formatOnType":{"enable":true,"maxFileSize":4096},"hover":{"showMetadataInfo":true},"loglevel":"debug","protocol":"stdio","puppet":{"confdir":"","environment":"windows","modulePath":"/home/mhj/environments","vardir":"","version":""},"tcp":{"address":"","port":0},"timeout":10},"validate":{"resolvePuppetfiles":true},"format":{"enable":true},"installDirectory":"","installType":"auto","notification":{"nodeGraph":"messagebox","puppetResource":"messagebox"},"pdk":{"checkVersion":true},"titleBar":{"pdkNewModule":{"enable":false}}}]}
---
I, [2021-04-13T14:47:01.636863 #17879] INFO -- : Attempting to dynamically register the textDocument/onTypeFormatting method with id 7fd2f4c2-5965-4d54-bf79-0391ec7ee6af
D, [2021-04-13T14:47:01.638422 #17879] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":2,"method":"client/registerCapability","params":{"registrations":[{"method":"textDocument/onTypeFormatting","id":"7fd2f4c2-5965-4d54-bf79-0391ec7ee6af","registerOptions":{"firstTriggerCharacter":">"}}]}}
---
D, [2021-04-13T14:47:01.640441 #17879] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":2,"result":null}
---
I, [2021-04-13T14:47:01.641917 #17879] INFO -- : Succesfully dynamically registered the textDocument/onTypeFormatting method
D, [2021-04-13T14:47:02.582163 #17879] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":2,"method":"puppet/getVersion","params":null}
---
D, [2021-04-13T14:47:02.584422 #17879] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":2,"result":{"puppetVersion":"7.5.0","facterVersion":"4.0.52","languageServerVersion":"1.1.0","factsLoaded":false,"functionsLoaded":false,"typesLoaded":false,"classesLoaded":false}}
---
A, [2021-04-13T14:47:03.576239 #17879] ANY -- : SidecarQueue Thread: Calling sidecar with --action default_aggregate --puppet-version=7.5.0 --puppet-settings=--environment,windows,--modulepath,/home/mhj/environments returned exitcode 0,
D, [2021-04-13T14:47:03.598842 #17879] DEBUG -- : SidecarQueue Thread: default_aggregate returned 39 datatypes
D, [2021-04-13T14:47:03.599099 #17879] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":3,"method":"puppet/getVersion","params":null}
---
D, [2021-04-13T14:47:03.600656 #17879] DEBUG -- : SidecarQueue Thread: default_aggregate returned 104 functions
D, [2021-04-13T14:47:03.601617 #17879] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":3,"result":{"puppetVersion":"7.5.0","facterVersion":"4.0.52","languageServerVersion":"1.1.0","factsLoaded":false,"functionsLoaded":true,"typesLoaded":true,"classesLoaded":true}}
---
D, [2021-04-13T14:47:03.601667 #17879] DEBUG -- : SidecarQueue Thread: default_aggregate returned 14 types
D, [2021-04-13T14:47:03.603450 #17879] DEBUG -- : SidecarQueue Thread: Running sidecar ["ruby", "/home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/puppet-languageserver-sidecar", "--action", "workspace_aggregate", "--local-workspace", "/home/mhj/environments/windows", "--puppet-version=7.5.0", "--puppet-settings=--environment,windows,--modulepath,/home/mhj/environments"]
A, [2021-04-13T14:47:04.293856 #17879] ANY -- : SidecarQueue Thread: Calling sidecar with --action facts --puppet-version=7.5.0 --puppet-settings=--environment,windows,--modulepath,/home/mhj/environments returned exitcode 0,
D, [2021-04-13T14:47:04.303199 #17879] DEBUG -- : SidecarQueue Thread: facts returned 372 items
D, [2021-04-13T14:47:04.583448 #17879] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":4,"method":"puppet/getVersion","params":null}
---
D, [2021-04-13T14:47:04.602236 #17879] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":4,"result":{"puppetVersion":"7.5.0","facterVersion":"4.0.52","languageServerVersion":"1.1.0","factsLoaded":true,"functionsLoaded":true,"typesLoaded":true,"classesLoaded":true}}
---
A, [2021-04-13T14:47:05.417021 #17879] ANY -- : SidecarQueue Thread: Calling sidecar with --action workspace_aggregate --local-workspace /home/mhj/environments/windows --puppet-version=7.5.0 --puppet-settings=--environment,windows,--modulepath,/home/mhj/environments returned exitcode 0,
D, [2021-04-13T14:47:12.681611 #17879] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":5,"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///home/mhj/environments/windows/modules/sqlhosting/manifests/host.pp"},"position":{"line":28,"character":7}}}
---
E, [2021-04-13T14:47:12.685510 #17879] ERROR -- : (textDocument/hover) dsc_sqlsetup is not a valid puppet type, class or defined type
D, [2021-04-13T14:47:12.687138 #17879] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":5,"result":{"contents":null}}
---
D, [2021-04-13T14:47:15.147982 #17879] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":6,"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///home/mhj/environments/windows/modules/sqlhosting/manifests/host.pp"},"position":{"line":28,"character":9}}}
---
E, [2021-04-13T14:47:15.150964 #17879] ERROR -- : (textDocument/hover) dsc_sqlsetup is not a valid puppet type, class or defined type
D, [2021-04-13T14:47:15.152330 #17879] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":6,"result":{"contents":null}}
---
D, [2021-04-13T14:47:15.586068 #17879] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":7,"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///home/mhj/environments/windows/modules/sqlhosting/manifests/host.pp"},"position":{"line":28,"character":11}}}
---
E, [2021-04-13T14:47:15.589327 #17879] ERROR -- : (textDocument/hover) dsc_sqlsetup is not a valid puppet type, class or defined type
D, [2021-04-13T14:47:15.591232 #17879] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":7,"result":{"contents":null}}
---
D, [2021-04-13T14:49:36.377415 #17879] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":8,"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///home/mhj/environments/windows/modules/sqlhosting/manifests/host.pp"}}}
---
D, [2021-04-13T14:49:36.390735 #17879] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":8,"result":[{"kind":5,"selectionRange":{"end":{"line":32,"character":1},"start":{"line":4,"character":0}},"children":[{"kind":7,"selectionRange":{"end":{"line":5,"character":28},"start":{"line":5,"character":9}},"children":[],"range":{"end":{"line":5,"character":28},"start":{"line":5,"character":9}},"detail":"$sql_server_version","name":"$sql_server_version"},{"kind":6,"selectionRange":{"start":{"line":8,"character":17},"end":{"line":8,"character":22}},"children":[{"kind":13,"selectionRange":{"end":{"line":9,"character":14},"start":{"line":9,"character":4}},"children":[],"range":{"end":{"line":9,"character":43},"start":{"line":9,"character":4}},"detail":"dsc_action","name":"dsc_action"},{"kind":13,"selectionRange":{"end":{"line":10,"character":25},"start":{"line":10,"character":4}},"children":[],"range":{"end":{"line":10,"character":45},"start":{"line":10,"character":4}},"detail":"dsc_agtsvcstartuptype","name":"dsc_agtsvcstartuptype"},{"kind":13,"selectionRange":{"end":{"line":11,"character":29},"start":{"line":11,"character":4}},"children":[],"range":{"end":{"line":11,"character":44},"start":{"line":11,"character":4}},"detail":"dsc_browsersvcstartuptype","name":"dsc_browsersvcstartuptype"},{"kind":13,"selectionRange":{"end":{"line":12,"character":16},"start":{"line":12,"character":4}},"children":[],"range":{"end":{"line":12,"character":45},"start":{"line":12,"character":4}},"detail":"dsc_features","name":"dsc_features"},{"kind":13,"selectionRange":{"end":{"line":13,"character":19},"start":{"line":13,"character":4}},"children":[],"range":{"end":{"line":13,"character":38},"start":{"line":13,"character":4}},"detail":"dsc_forcereboot","name":"dsc_forcereboot"},{"kind":13,"selectionRange":{"end":{"line":14,"character":25},"start":{"line":14,"character":4}},"children":[],"range":{"end":{"line":14,"character":44},"start":{"line":14,"character":4}},"detail":"dsc_installsqldatadir","name":"dsc_installsqldatadir"},{"kind":13,"selectionRange":{"end":{"line":15,"character":17},"start":{"line":15,"character":4}},"children":[],"range":{"end":{"line":15,"character":39},"start":{"line":15,"character":4}},"detail":"dsc_npenabled","name":"dsc_npenabled"},{"kind":13,"selectionRange":{"end":{"line":16,"character":20},"start":{"line":16,"character":4}},"children":[],"range":{"end":{"line":16,"character":39},"start":{"line":16,"character":4}},"detail":"dsc_securitymode","name":"dsc_securitymode"},{"kind":13,"selectionRange":{"end":{"line":17,"character":18},"start":{"line":17,"character":4}},"children":[],"range":{"end":{"line":17,"character":40},"start":{"line":17,"character":4}},"detail":"dsc_sourcepath","name":"dsc_sourcepath"},{"kind":13,"selectionRange":{"end":{"line":18,"character":20},"start":{"line":18,"character":4}},"children":[],"range":{"end":{"line":18,"character":46},"start":{"line":18,"character":4}},"detail":"dsc_sqlbackupdir","name":"dsc_sqlbackupdir"},{"kind":13,"selectionRange":{"end":{"line":19,"character":27},"start":{"line":19,"character":4}},"children":[],"range":{"end":{"line":19,"character":49},"start":{"line":19,"character":4}},"detail":"dsc_sqlsysadminaccounts","name":"dsc_sqlsysadminaccounts"},{"kind":13,"selectionRange":{"end":{"line":20,"character":20},"start":{"line":20,"character":4}},"children":[],"range":{"end":{"line":20,"character":46},"start":{"line":20,"character":4}},"detail":"dsc_sqltempdbdir","name":"dsc_sqltempdbdir"},{"kind":13,"selectionRange":{"end":{"line":21,"character":26},"start":{"line":21,"character":4}},"children":[],"range":{"end":{"line":21,"character":35},"start":{"line":21,"character":4}},"detail":"dsc_sqltempdbfilecount","name":"dsc_sqltempdbfilecount"},{"kind":13,"selectionRange":{"end":{"line":22,"character":27},"start":{"line":22,"character":4}},"children":[],"range":{"end":{"line":22,"character":35},"start":{"line":22,"character":4}},"detail":"dsc_sqltempdbfilegrowth","name":"dsc_sqltempdbfilegrowth"},{"kind":13,"selectionRange":{"end":{"line":23,"character":25},"start":{"line":23,"character":4}},"children":[],"range":{"end":{"line":23,"character":39},"start":{"line":23,"character":4}},"detail":"dsc_sqltempdbfilesize","name":"dsc_sqltempdbfilesize"},{"kind":13,"selectionRange":{"end":{"line":24,"character":23},"start":{"line":24,"character":4}},"children":[],"range":{"end":{"line":24,"character":46},"start":{"line":24,"character":4}},"detail":"dsc_sqltempdblogdir","name":"dsc_sqltempdblogdir"},{"kind":13,"selectionRange":{"end":{"line":25,"character":30},"start":{"line":25,"character":4}},"children":[],"range":{"end":{"line":25,"character":35},"start":{"line":25,"character":4}},"detail":"dsc_sqltempdblogfilegrowth","name":"dsc_sqltempdblogfilegrowth"},{"kind":13,"selectionRange":{"end":{"line":26,"character":28},"start":{"line":26,"character":4}},"children":[],"range":{"end":{"line":26,"character":39},"start":{"line":26,"character":4}},"detail":"dsc_sqltempdblogfilesize","name":"dsc_sqltempdblogfilesize"},{"kind":13,"selectionRange":{"end":{"line":27,"character":20},"start":{"line":27,"character":4}},"children":[],"range":{"end":{"line":27,"character":44},"start":{"line":27,"character":4}},"detail":"dsc_sqluserdbdir","name":"dsc_sqluserdbdir"},{"kind":13,"selectionRange":{"end":{"line":28,"character":23},"start":{"line":28,"character":4}},"children":[],"range":{"end":{"line":28,"character":43},"start":{"line":28,"character":4}},"detail":"dsc_sqluserdblogdir","name":"dsc_sqluserdblogdir"}],"range":{"end":{"line":30,"character":3},"start":{"line":8,"character":2}},"detail":"dsc_sqlsetup: 'sql'","name":"dsc_sqlsetup: 'sql'"}],"range":{"end":{"line":32,"character":1},"start":{"line":4,"character":0}},"detail":"sqlhosting::host","name":"sqlhosting::host"}]}
---
D, [2021-04-13T14:50:04.302632 #17879] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":9,"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///home/mhj/environments/windows/modules/sqlhosting/manifests/host.pp"}}}
---
This (textDocument/hover) dsc_sqlsetup is not a valid puppet type, class or defined type
indicates that the extension doesn't know where to find the dsc_sqlsetup
type, so if can't parse the source and provide hover information. We'll look into figuring out if we should be returning something else other than null there, but in the meantime you should use the modulepath
setting in the extension to point to the place your modules are located, this way it can provide autocomplete, hover, and other advanced features for the types you are looking at.
But i believe modulepath
is already pointed correct: D, [2021-04-13T14:47:01.518339 #17879] DEBUG -- : Detected additional puppet settings ["--environment", "windows", "--modulepath", "/home/mhj/environments"]
The dsc-sqlserverdsc
module is located here: /home/mhj/environments/windows/modules/sqlserverdsc
The module path it would want is /home/mhj/environments/windows/modules/
That gives me the same error in output, but this in the debug log:
A, [2021-04-14T13:35:37.984330 #441] ANY -- : SidecarQueue Thread: Calling sidecar with --action workspace_aggregate --local-workspace /home/mhj/environments/windows --puppet-version=7.5.0 --puppet-settings=--environment,windows,--modulepath,/home/mhj/environments/windows/modules returned exitcode 1, /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver-sidecar/puppet_strings_helper.rb:147:in `block (3 levels) in populate_classes_from_yard_registry!': undefined method `join' for nil:NilClass (NoMethodError)
from /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver-sidecar/puppet_strings_helper.rb:143:in `each'
from /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver-sidecar/puppet_strings_helper.rb:143:in `block (2 levels) in populate_classes_from_yard_registry!'
from /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver-sidecar/puppet_strings_helper.rb:128:in `each'
from /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver-sidecar/puppet_strings_helper.rb:128:in `block in populate_classes_from_yard_registry!'
from /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver-sidecar/puppet_strings_helper.rb:127:in `each'
from /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver-sidecar/puppet_strings_helper.rb:127:in `populate_classes_from_yard_registry!'
from /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver-sidecar/puppet_strings_helper.rb:102:in `populate_from_yard_registry!'
from /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver-sidecar/puppet_strings_helper.rb:74:in `file_documentation'
from /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver-sidecar/puppet_strings_helper.rb:10:in `file_documentation'
from /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver-sidecar/puppet_helper.rb:93:in `block in retrieve_via_puppet_strings'
from /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver-sidecar/puppet_helper.rb:92:in `each'
from /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet-languageserver-sidecar/puppet_helper.rb:92:in `retrieve_via_puppet_strings'
from /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet_languageserver_sidecar.rb:303:in `execute'
from /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/lib/puppet_languageserver_sidecar.rb:360:in `execute_and_output'
from /home/mhj/.vscode-server/extensions/puppet.puppet-vscode-1.2.0/vendor/languageserver/puppet-languageserver-sidecar:14:in `<main>'
ahh yes, whoops, I missed the environment = windows
bit
We'll look into figuring out if we should be returning something else other than null Looks like I should be returning
null
not{contents:null}
as per https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_hover
Hrmm...I'm not 100% sure how the language server will deal with cross-plat (because it's over SSH) environments. You shouldn't need to set the module path really, because it's a child of the environment_path
I don't suppose you could post a directory tree of the SSH part so we can try and reproduce the problem?
It could be trying the use the default environment path on Linux which would is $codedir/environments
Which is ~/.puppetlabs/etc/code/environments
Here is the directory structure of my /home/mhj/environments/windows:
├── manifests
└── modules
├── acl
│ ├── data
│ ├── examples
│ │ └── hieradata
│ ├── lib
│ │ └── puppet
│ │ ├── provider
│ │ │ └── acl
│ │ │ └── windows
│ │ └── type
│ │ └── acl
│ ├── locales
│ └── tools
├── apt
│ ├── data
│ ├── examples
│ ├── lib
│ │ ├── facter
│ │ └── puppet
│ │ ├── provider
│ │ │ └── apt_key
│ │ └── type
│ ├── locales
│ │ └── ja
│ ├── manifests
│ ├── readmes
│ ├── tasks
│ ├── templates
│ └── types
├── certificate
│ └── manifests
├── choco
│ └── manifests
├── chocolatey
│ ├── data
│ ├── examples
│ ├── lib
│ │ ├── facter
│ │ ├── puppet
│ │ │ ├── provider
│ │ │ │ ├── chocolateyconfig
│ │ │ │ ├── chocolateyfeature
│ │ │ │ ├── chocolateysource
│ │ │ │ └── package
│ │ │ └── type
│ │ └── puppet_x
│ │ └── chocolatey
│ ├── locales
│ ├── manifests
│ └── templates
├── concat
│ ├── data
│ ├── examples
│ ├── lib
│ │ └── puppet
│ │ └── type
│ ├── locales
│ │ └── ja
│ ├── manifests
│ └── readmes
├── disable_netbios
│ └── manifests
├── disable_printspooler
│ └── manifests
├── disable_servermanager
│ ├── manifests
│ └── templates
├── docker
│ ├── data
│ ├── functions
│ ├── lib
│ │ ├── facter
│ │ └── puppet
│ │ ├── functions
│ │ ├── parser
│ │ │ └── functions
│ │ ├── provider
│ │ │ ├── docker_compose
│ │ │ ├── docker_network
│ │ │ ├── docker_stack
│ │ │ └── docker_volume
│ │ └── type
│ ├── manifests
│ ├── tasks
│ └── templates
│ ├── etc
│ │ ├── conf.d
│ │ ├── default
│ │ ├── init.d
│ │ ├── sysconfig
│ │ └── systemd
│ │ └── system
│ │ ├── docker.service.d
│ │ └── docker.socket.d
│ ├── usr
│ │ └── local
│ │ └── bin
│ └── windows
│ └── config
├── dsc_iis
│ └── manifests
├── dsc_lite
│ ├── lib
│ │ ├── facter
│ │ ├── puppet
│ │ │ ├── feature
│ │ │ ├── provider
│ │ │ │ └── base_dsc_lite
│ │ │ └── type
│ │ └── puppet_x
│ │ └── puppetlabs
│ │ └── dsc_lite
│ │ └── templates
│ └── locales
├── enable_nla
│ └── manifests
├── enable_windowsfirewall_logging
│ └── manifests
├── facts
│ ├── lib
│ │ └── puppet
│ │ └── functions
│ │ └── facts
│ ├── plans
│ ├── spec
│ │ ├── acceptance
│ │ │ └── nodesets
│ │ │ └── docker
│ │ ├── fixtures
│ │ │ ├── configs
│ │ │ ├── inventory
│ │ │ ├── keys
│ │ │ └── scripts
│ │ ├── functions
│ │ └── plans
│ └── tasks
├── features_on_demand
│ └── manifests
├── hocon
│ ├── examples
│ ├── lib
│ │ └── puppet
│ │ ├── feature
│ │ ├── provider
│ │ │ └── hocon_setting
│ │ └── type
│ ├── locales
│ └── spec
│ ├── acceptance
│ └── unit
│ └── puppet
│ ├── provider
│ │ └── conf_setting
│ └── type
├── host_core
│ ├── data
│ ├── lib
│ │ └── puppet
│ │ ├── provider
│ │ │ └── host
│ │ └── type
│ ├── locales
│ │ └── ja
│ ├── readmes
│ └── spec
│ ├── acceptance
│ │ ├── nodesets
│ │ └── tests
│ ├── fixtures
│ │ └── unit
│ │ └── provider
│ │ └── host
│ │ └── parsed
│ ├── lib
│ │ └── puppet_spec
│ ├── shared_behaviours
│ └── unit
│ ├── provider
│ │ └── host
│ └── type
├── iis
│ ├── data
│ ├── lib
│ │ ├── facter
│ │ ├── puppet
│ │ │ ├── feature
│ │ │ ├── provider
│ │ │ │ ├── iis_application
│ │ │ │ ├── iis_application_pool
│ │ │ │ ├── iis_feature
│ │ │ │ ├── iis_site
│ │ │ │ ├── iis_virtual_directory
│ │ │ │ └── templates
│ │ │ │ ├── iisadministration
│ │ │ │ └── webadministration
│ │ │ └── type
│ │ └── puppet_x
│ │ ├── puppetlabs
│ │ │ └── iis
│ │ │ └── property
│ │ └── templates
│ │ └── iis
│ └── locales
├── iis_iusrs_acl
│ ├── lib
│ │ └── facter
│ └── manifests
├── iis_iusrs_acl_ws8
│ └── manifests
├── inifile
│ ├── data
│ ├── examples
│ ├── lib
│ │ └── puppet
│ │ ├── functions
│ │ │ └── inifile
│ │ ├── provider
│ │ │ ├── ini_setting
│ │ │ └── ini_subsetting
│ │ ├── type
│ │ └── util
│ │ └── ini_file
│ └── locales
│ └── ja
├── kms
│ └── manifests
├── modsecurity
│ ├── files
│ └── manifests
├── node_encrypt
│ ├── assets
│ ├── examples
│ ├── functions
│ ├── lib
│ │ ├── facter
│ │ ├── puppet
│ │ │ ├── face
│ │ │ │ └── node
│ │ │ ├── functions
│ │ │ ├── parser
│ │ │ │ └── functions
│ │ │ ├── provider
│ │ │ │ └── node_encrypted_file
│ │ │ └── type
│ │ └── puppet_x
│ │ └── binford2k
│ ├── manifests
│ └── spec
│ ├── classes
│ ├── defines
│ ├── functions
│ └── unit
│ ├── puppet
│ │ ├── provider
│ │ │ └── node_encrypted_file
│ │ └── type
│ └── puppet_x
│ └── binford2k
├── powershell
│ ├── data
│ ├── lib
│ │ └── puppet
│ │ └── provider
│ │ └── exec
│ └── locales
├── psfacts
│ └── lib
│ └── facter
├── psmodule
│ └── manifests
├── psrepository
│ ├── manifests
│ └── templates
├── puppet_agent
│ ├── acceptance
│ │ ├── files
│ │ ├── pre_suite
│ │ └── tests
│ ├── docker
│ │ ├── centos
│ │ └── ubuntu
│ ├── examples
│ ├── files
│ ├── lib
│ │ ├── facter
│ │ └── puppet
│ │ ├── functions
│ │ ├── parser
│ │ │ └── functions
│ │ ├── provider
│ │ │ ├── puppet_agent_end_run
│ │ │ └── puppet_agent_upgrade_error
│ │ └── type
│ ├── locales
│ ├── manifests
│ │ ├── install
│ │ ├── osfamily
│ │ └── prepare
│ ├── plans
│ ├── spec
│ │ ├── acceptance
│ │ │ ├── files
│ │ │ └── nodesets
│ │ │ └── docker
│ │ ├── classes
│ │ └── unit
│ │ ├── facter
│ │ └── functions
│ ├── tasks
│ ├── task_spec
│ │ └── spec
│ │ └── acceptance
│ │ └── nodesets
│ │ └── docker
│ ├── templates
│ └── types
├── puppet_agent_upgrade
│ └── manifests
├── puppet_authorization
│ ├── data
│ ├── lib
│ │ └── puppet
│ │ ├── feature
│ │ ├── provider
│ │ │ └── puppet_authorization_hocon_rule
│ │ └── type
│ ├── manifests
│ ├── tests
│ └── types
├── puppetconf
│ ├── manifests
│ └── templates
├── puppetpem2p12
│ └── lib
│ ├── facter
│ └── puppet
│ ├── provider
│ │ ├── p122certmgr
│ │ ├── pem2certmgrca
│ │ └── puppetpem2p12
│ └── type
├── pwshlib
│ ├── else
│ └── lib
│ ├── puppet
│ │ ├── feature
│ │ └── provider
│ │ └── dsc_base_provider
│ ├── pwsh
│ └── templates
├── rdp
│ └── manifests
├── reboot
│ ├── data
│ ├── examples
│ ├── lib
│ │ └── puppet
│ │ ├── provider
│ │ │ └── reboot
│ │ └── type
│ ├── locales
│ ├── plans
│ └── tasks
├── registry
│ ├── data
│ ├── examples
│ ├── lib
│ │ ├── puppet
│ │ │ ├── provider
│ │ │ │ ├── registry_key
│ │ │ │ └── registry_value
│ │ │ └── type
│ │ └── puppet_x
│ │ └── puppetlabs
│ ├── locales
│ └── manifests
├── scheduled_task
│ ├── data
│ ├── examples
│ ├── lib
│ │ ├── puppet
│ │ │ ├── provider
│ │ │ │ └── scheduled_task
│ │ │ └── type
│ │ └── puppet_x
│ │ └── puppetlabs
│ │ └── scheduled_task
│ ├── locales
│ │ └── ja
│ └── readmes
├── snmpconfig
│ ├── manifests
│ └── templates
├── sqlhosting
│ └── manifests
├── sqlserverdsc
│ ├── data
│ ├── examples
│ ├── files
│ ├── lib
│ │ ├── puppet
│ │ │ ├── provider
│ │ │ │ ├── dsc_sqlag
│ │ │ │ ├── dsc_sqlagdatabase
│ │ │ │ ├── dsc_sqlagentalert
│ │ │ │ ├── dsc_sqlagentfailsafe
│ │ │ │ ├── dsc_sqlagentoperator
│ │ │ │ ├── dsc_sqlaglistener
│ │ │ │ ├── dsc_sqlagreplica
│ │ │ │ ├── dsc_sqlalias
│ │ │ │ ├── dsc_sqlalwaysonservice
│ │ │ │ ├── dsc_sqlconfiguration
│ │ │ │ ├── dsc_sqldatabase
│ │ │ │ ├── dsc_sqldatabasedefaultlocation
│ │ │ │ ├── dsc_sqldatabasemail
│ │ │ │ ├── dsc_sqldatabaseobjectpermission
│ │ │ │ ├── dsc_sqldatabaseowner
│ │ │ │ ├── dsc_sqldatabasepermission
│ │ │ │ ├── dsc_sqldatabaserecoverymodel
│ │ │ │ ├── dsc_sqldatabaserole
│ │ │ │ ├── dsc_sqldatabaseuser
│ │ │ │ ├── dsc_sqlendpoint
│ │ │ │ ├── dsc_sqlendpointpermission
│ │ │ │ ├── dsc_sqllogin
│ │ │ │ ├── dsc_sqlmaxdop
│ │ │ │ ├── dsc_sqlmemory
│ │ │ │ ├── dsc_sqlpermission
│ │ │ │ ├── dsc_sqlprotocol
│ │ │ │ ├── dsc_sqlprotocoltcpip
│ │ │ │ ├── dsc_sqlreplication
│ │ │ │ ├── dsc_sqlrole
│ │ │ │ ├── dsc_sqlrs
│ │ │ │ ├── dsc_sqlrssetup
│ │ │ │ ├── dsc_sqlscript
│ │ │ │ ├── dsc_sqlscriptquery
│ │ │ │ ├── dsc_sqlsecureconnection
│ │ │ │ ├── dsc_sqlserverendpointstate
│ │ │ │ ├── dsc_sqlservernetwork
│ │ │ │ ├── dsc_sqlserviceaccount
│ │ │ │ ├── dsc_sqlsetup
│ │ │ │ ├── dsc_sqltraceflag
│ │ │ │ ├── dsc_sqlwaitforag
│ │ │ │ └── dsc_sqlwindowsfirewall
│ │ │ └── type
│ │ └── puppet_x
│ │ └── dsc_resources
│ │ └── SqlServerDsc
│ │ ├── DSCResources
│ │ │ ├── DSC_SqlAG
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlAGDatabase
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlAgentAlert
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlAgentFailsafe
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlAgentOperator
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlAGListener
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlAGReplica
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlAlias
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlAlwaysOnService
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlConfiguration
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlDatabase
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlDatabaseDefaultLocation
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlDatabaseMail
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlDatabaseObjectPermission
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlDatabasePermission
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlDatabaseRole
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlDatabaseUser
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlEndpoint
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlEndpointPermission
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlLogin
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlMaxDop
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlMemory
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlPermission
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlProtocol
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlProtocolTcpIp
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlReplication
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlRole
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlRS
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlRSSetup
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlScript
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlScriptQuery
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlSecureConnection
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlServiceAccount
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlSetup
│ │ │ │ ├── en-US
│ │ │ │ └── sv-SE
│ │ │ ├── DSC_SqlTraceFlag
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlWaitForAG
│ │ │ │ └── en-US
│ │ │ ├── DSC_SqlWindowsFirewall
│ │ │ │ └── en-US
│ │ │ ├── MSFT_SqlDatabaseOwner
│ │ │ │ └── en-US
│ │ │ ├── MSFT_SqlDatabaseRecoveryModel
│ │ │ │ └── en-US
│ │ │ ├── MSFT_SqlServerEndpointState
│ │ │ │ └── en-US
│ │ │ └── MSFT_SqlServerNetwork
│ │ │ └── en-US
│ │ ├── en-US
│ │ └── Modules
│ │ ├── DscResource.Common
│ │ │ └── 0.10.0
│ │ │ └── en-US
│ │ └── SqlServerDsc.Common
│ │ ├── en-US
│ │ └── sv-SE
│ ├── manifests
│ ├── tasks
│ └── templates
├── sslcertificate
│ └── lib
│ └── puppet
│ ├── provider
│ │ └── sslcertificate
│ └── type
├── stdlib
│ ├── data
│ ├── examples
│ ├── functions
│ ├── lib
│ │ ├── facter
│ │ │ └── util
│ │ └── puppet
│ │ ├── functions
│ │ │ └── stdlib
│ │ ├── parser
│ │ │ └── functions
│ │ ├── provider
│ │ │ └── file_line
│ │ └── type
│ ├── locales
│ │ └── ja
│ ├── manifests
│ ├── readmes
│ └── types
│ ├── compat
│ ├── ensure
│ │ └── file
│ ├── ip
│ │ └── address
│ │ ├── v4
│ │ └── v6
│ │ └── nosubnet
│ ├── objectstore
│ └── port
├── translate
│ ├── lib
│ │ └── puppet
│ │ └── functions
│ ├── locales
│ └── spec
│ ├── acceptance
│ └── functions
├── webserver_filebeat
│ └── manifests
├── webserver_metricbeat
│ └── manifests
├── webserver_winlogbeat
│ └── manifests
├── windows_env
│ ├── examples
│ ├── lib
│ │ ├── facter
│ │ └── puppet
│ │ ├── provider
│ │ │ └── windows_env
│ │ └── type
│ └── spec
│ ├── acceptance
│ │ └── nodesets
│ │ └── ec2
│ └── unit
│ └── puppet
│ └── type
├── windowsfeature
│ ├── lib
│ │ └── puppet
│ │ ├── provider
│ │ │ └── windowsfeature
│ │ └── type
│ └── spec
│ ├── acceptance
│ │ └── nodesets
│ │ └── ec2
│ ├── fixtures
│ └── unit
│ └── puppet
│ ├── provider
│ │ └── windowsfeature
│ └── type
│ └── windowsfeature
├── windows_firewall
│ ├── examples
│ ├── lib
│ │ ├── ps
│ │ │ └── windows_firewall
│ │ ├── puppet
│ │ │ ├── provider
│ │ │ │ ├── windows_firewall_global
│ │ │ │ ├── windows_firewall_group
│ │ │ │ ├── windows_firewall_profile
│ │ │ │ └── windows_firewall_rule
│ │ │ └── type
│ │ └── puppet_x
│ └── manifests
├── windows_smb
│ ├── data
│ └── manifests
│ └── features
├── windowsupdate
│ └── manifests
├── windowsupdates
│ ├── manifests
│ └── templates
├── winlogbeat
│ └── manifests
├── wsus_client
│ ├── data
│ ├── lib
│ │ └── puppet
│ │ └── parser
│ │ └── functions
│ ├── locales
│ ├── manifests
│ └── tasks
└── xwebadministration
├── examples
├── files
├── manifests
├── tasks
└── templates
I tried copying the modules to ~/.puppetlabs/etc/code/environments
. It doesn't pick them up from there either. Is there any additional logging i can enable to help us out?
Addressed in https://github.com/puppetlabs/puppet-editor-services/pull/301. Will be published in the next release
But that only fixes the error message and not the issue with it not picking up the modules for intellisense, right?
Correct