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

Possible issue loading f5 and docker module #46

Closed
glennsarti opened this issue Jul 17, 2018 · 3 comments
Closed

Possible issue loading f5 and docker module #46

glennsarti opened this issue Jul 17, 2018 · 3 comments
Labels
bug Something isn't working

Comments

@glennsarti
Copy link
Contributor

User dhollinger raised this in slack;

is there something I’m doing wrong on my mac. No matter where I installed modules to (regardless if I’m using PDK, the Puppet Agent, or the Puppet Gem), the VSCode plugin can’t find resource types in the modulepath

I, [2018-07-16T15:46:32.521192 #87935]  INFO -- : Language Server is v0.12.0
I, [2018-07-16T15:46:32.521555 #87935]  INFO -- : Using Puppet v5.5.2
I, [2018-07-16T15:46:32.521769 #87935]  INFO -- : Initializing Puppet Helper Cache...
D, [2018-07-16T15:46:32.522008 #87935] DEBUG -- : Initializing Document Store...
I, [2018-07-16T15:46:32.522233 #87935]  INFO -- : Initializing settings...
I, [2018-07-16T15:46:32.535075 #87935]  INFO -- : Using Facter v3.11.2
I, [2018-07-16T15:46:32.536882 #87935]  INFO -- : Starting RPC Server...
I, [2018-07-16T15:46:32.537198 #87935]  INFO -- : Preloading Puppet Types (Sync)...
D, [2018-07-16T15:46:32.537437 #87935] DEBUG -- : Using STDIO
D, [2018-07-16T15:46:32.537660 #87935] DEBUG -- : [PuppetHelper::_load_default_types] Starting
I, [2018-07-16T15:46:32.537906 #87935]  INFO -- : Client has connected to the language server
I, [2018-07-16T15:46:32.578157 #87935]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type docker_network.rb
D, [2018-07-16T15:46:32.578446 #87935] DEBUG -- : STDIOSRV: Starting STDIO server...
I, [2018-07-16T15:46:32.579841 #87935]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type docker_volume.rb
D, [2018-07-16T15:46:32.580395 #87935] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":87914,"rootPath":"/Users/dhollinger/workspace/onyx/puppet/gmssp_rsyslog","rootUri":"file:///Users/dhollinger/workspace/onyx/puppet/gmssp_rsyslog","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true},"didChangeConfiguration":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true},"executeCommand":{"dynamicRegistration":true}},"textDocument":{"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"completionItem":{"snippetSupport":true}},"hover":{"dynamicRegistration":true},"signatureHelp":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"definition":{"dynamicRegistration":true},"codeAction":{"dynamicRegistration":true},"codeLens":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true}}},"trace":"off"}}
---
I, [2018-07-16T15:46:32.581834 #87935]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type docker_compose.rb
D, [2018-07-16T15:46:32.583177 #87935] DEBUG -- : Received initialize method
I, [2018-07-16T15:46:32.585349 #87935]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_iapp.rb
D, [2018-07-16T15:46:32.585569 #87935] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":0,"result":{"capabilities":{"textDocumentSync":1,"hoverProvider":true,"completionProvider":{"resolveProvider":true,"triggerCharacters":[">","$","[","="]},"definitionProvider":true}}}
---
I, [2018-07-16T15:46:32.588054 #87935]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_root.rb
I, [2018-07-16T15:46:32.590231 #87935]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_node.rb
I, [2018-07-16T15:46:32.591814 #87935]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_pool.rb
D, [2018-07-16T15:46:32.592086 #87935] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","method":"initialized","params":{}}
---
I, [2018-07-16T15:46:32.593319 #87935]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_persistenceuniversal.rb
I, [2018-07-16T15:46:32.593569 #87935]  INFO -- : Client has received initialization
I, [2018-07-16T15:46:32.595370 #87935]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_virtualserver.rb
I, [2018-07-16T15:46:32.597734 #87935]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_device.rb
I, [2018-07-16T15:46:32.600935 #87935]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_selfdevice.rb
D, [2018-07-16T15:46:32.604356 #87935] DEBUG -- : --- INBOUND
...

Looks like it's failing to load the docker and f5 types from the forge

OS : Mac OSX
VSCode: 1.25.1
VSCode Extension: 0.11.0 (Editor Services 0.12.0)

@glennsarti
Copy link
Contributor Author

glennsarti commented Jul 17, 2018

Full log

I, [2018-07-16T20:16:26.369552 #92660]  INFO -- : Language Server is v0.12.0
I, [2018-07-16T20:16:26.370432 #92660]  INFO -- : Using Puppet v5.5.2
I, [2018-07-16T20:16:26.370696 #92660]  INFO -- : Initializing Puppet Helper Cache...
D, [2018-07-16T20:16:26.370950 #92660] DEBUG -- : Initializing Document Store...
I, [2018-07-16T20:16:26.371188 #92660]  INFO -- : Initializing settings...
I, [2018-07-16T20:16:26.381885 #92660]  INFO -- : Using Facter v3.11.2
I, [2018-07-16T20:16:26.383318 #92660]  INFO -- : Starting RPC Server...
I, [2018-07-16T20:16:26.383570 #92660]  INFO -- : Preloading Puppet Types (Sync)...
D, [2018-07-16T20:16:26.383800 #92660] DEBUG -- : Using STDIO
D, [2018-07-16T20:16:26.384022 #92660] DEBUG -- : [PuppetHelper::_load_default_types] Starting
I, [2018-07-16T20:16:26.384288 #92660]  INFO -- : Client has connected to the language server
I, [2018-07-16T20:16:26.419873 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type concat_file.rb
D, [2018-07-16T20:16:26.420143 #92660] DEBUG -- : STDIOSRV: Starting STDIO server...
I, [2018-07-16T20:16:26.421266 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type concat_fragment.rb
D, [2018-07-16T20:16:26.421771 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":92651,"rootPath":"/Users/dhollinger/workspace/puppet/puppet-r10k","rootUri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true},"didChangeConfiguration":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true},"executeCommand":{"dynamicRegistration":true}},"textDocument":{"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"completionItem":{"snippetSupport":true}},"hover":{"dynamicRegistration":true},"signatureHelp":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"definition":{"dynamicRegistration":true},"codeAction":{"dynamicRegistration":true},"codeLens":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true}}},"trace":"off"}}
---
I, [2018-07-16T20:16:26.422783 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type ini_subsetting.rb
D, [2018-07-16T20:16:26.423176 #92660] DEBUG -- : Received initialize method
I, [2018-07-16T20:16:26.424313 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type ini_setting.rb
D, [2018-07-16T20:16:26.424569 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":0,"result":{"capabilities":{"textDocumentSync":1,"hoverProvider":true,"completionProvider":{"resolveProvider":true,"triggerCharacters":[">","$","[","="]},"definitionProvider":true}}}
---
I, [2018-07-16T20:16:26.425738 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type docker_network.rb
I, [2018-07-16T20:16:26.427053 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type docker_volume.rb
I, [2018-07-16T20:16:26.428370 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type docker_compose.rb
I, [2018-07-16T20:16:26.429767 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type vcsrepo.rb
D, [2018-07-16T20:16:26.429956 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","method":"initialized","params":{}}
---
I, [2018-07-16T20:16:26.431443 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_iapp.rb
I, [2018-07-16T20:16:26.431706 #92660]  INFO -- : Client has received initialization
I, [2018-07-16T20:16:26.432936 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_root.rb
D, [2018-07-16T20:16:26.433531 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","languageId":"puppet","version":1,"text":"# Install the r10k mcollective agent\nclass r10k::mcollective (\n  $ensure            = true,\n  $agent_name        = $r10k::params::mc_agent_name,\n  $app_name          = $r10k::params::mc_app_name,\n  $agent_ddl         = $r10k::params::mc_agent_ddl_name,\n  $agent_path        = $r10k::params::mc_agent_path,\n  $app_path          = $r10k::params::mc_application_path,\n  $mc_service        = $r10k::params::mc_service_name,\n  $http_proxy        = $r10k::params::mc_http_proxy,\n  $git_ssl_no_verify = $r10k::params::mc_git_ssl_no_verify,\n  $root_user         = $r10k::params::root_user,\n  $root_group        = $r10k::params::root_group,\n) inherits r10k::params {\n  $ensure_file = $ensure ? {\n    true  => 'file',\n    false => 'absent',\n  }\n\n  File {\n    ensure => $ensure_file,\n    owner  => $root_user,\n    group  => $root_group,\n    mode   => '0644',\n  }\n\n  # Install the agent and its ddl file\n  file { 'mcollective_agent_executable':\n    path   => \"${app_path}/${app_name}\",\n    source => \"puppet:///modules/${module_name}/application/${agent_name}\",\n  }\n\n  file { 'mcollective_agent_ddl':\n    path   => \"${agent_path}/${agent_ddl}\",\n    source => \"puppet:///modules/${module_name}/agent/${agent_ddl}\",\n  }\n\n  # Install the application file (all masters at the moment)\n  file { 'mcollective_application_file':\n    path    => \"${agent_path}/${agent_name}\",\n    content => template(\"${module_name}/agent/${agent_name}.erb\"),\n    require => File[\"${agent_path}/${agent_ddl}\"],\n  }\n\n  Service <| title == $mc_service |> {\n    subscribe +> [\n      File['mcollective_agent_executable'],\n      File['mcollective_agent_ddl'],\n      File['mcollective_application_file']\n    ],\n  }\n}\n"}}}
---
I, [2018-07-16T20:16:26.434993 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_node.rb
I, [2018-07-16T20:16:26.435268 #92660]  INFO -- : Received textDocument/didOpen notification.
I, [2018-07-16T20:16:26.436549 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_pool.rb
I, [2018-07-16T20:16:26.481793 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_persistenceuniversal.rb
I, [2018-07-16T20:16:26.582001 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_virtualserver.rb
D, [2018-07-16T20:16:26.623460 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","diagnostics":[]}}
---
I, [2018-07-16T20:16:26.624625 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_device.rb
I, [2018-07-16T20:16:26.626306 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_selfdevice.rb
I, [2018-07-16T20:16:26.627721 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_profileserverssl.rb
I, [2018-07-16T20:16:26.628878 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_addtotrust.rb
I, [2018-07-16T20:16:26.630074 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_globalsetting.rb
I, [2018-07-16T20:16:26.633449 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_persistencehash.rb
I, [2018-07-16T20:16:26.634899 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_monitor.rb
I, [2018-07-16T20:16:26.636265 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_command.rb
I, [2018-07-16T20:16:26.637458 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_datagroupexternal.rb
I, [2018-07-16T20:16:26.638639 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_profilehttp.rb
I, [2018-07-16T20:16:26.639735 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_partition.rb
I, [2018-07-16T20:16:26.640859 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_snat.rb
I, [2018-07-16T20:16:26.642366 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_profileclientssl.rb
I, [2018-07-16T20:16:26.643550 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_irule.rb
I, [2018-07-16T20:16:26.644666 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_ntp.rb
I, [2018-07-16T20:16:26.646144 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_sslkey.rb
I, [2018-07-16T20:16:26.647262 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_sslcertificate.rb
I, [2018-07-16T20:16:26.648530 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_devicegroup.rb
I, [2018-07-16T20:16:26.649754 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_route.rb
I, [2018-07-16T20:16:26.651082 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_persistencessl.rb
I, [2018-07-16T20:16:26.652307 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_user.rb
I, [2018-07-16T20:16:26.654383 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_persistencecookie.rb
I, [2018-07-16T20:16:26.655794 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_persistencedestaddr.rb
I, [2018-07-16T20:16:26.656924 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_configsync.rb
I, [2018-07-16T20:16:26.658213 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_dns.rb
I, [2018-07-16T20:16:26.659343 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_vlan.rb
I, [2018-07-16T20:16:26.660360 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_snatpool.rb
I, [2018-07-16T20:16:26.661474 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_license.rb
I, [2018-07-16T20:16:26.662722 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_persistencesourceaddr.rb
I, [2018-07-16T20:16:26.664096 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_datagroup.rb
I, [2018-07-16T20:16:26.666383 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type f5_selfip.rb
I, [2018-07-16T20:16:26.667546 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_interface.rb
I, [2018-07-16T20:16:26.668587 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_static_route.rb
I, [2018-07-16T20:16:26.669653 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_pim_interface.rb
I, [2018-07-16T20:16:26.670663 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_bgp_router.rb
I, [2018-07-16T20:16:26.671688 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_prefix_list.rb
I, [2018-07-16T20:16:26.672704 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_ospf_area_range.rb
I, [2018-07-16T20:16:26.673881 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_bgp_community_list.rb
I, [2018-07-16T20:16:26.675023 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_ospf_area.rb
I, [2018-07-16T20:16:26.676154 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_bgp_peer_address_family.rb
I, [2018-07-16T20:16:26.677233 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_bgp_as_path.rb
I, [2018-07-16T20:16:26.678374 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_ospf_router.rb
I, [2018-07-16T20:16:26.679607 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_route_map.rb
I, [2018-07-16T20:16:26.680856 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_pim_router.rb
I, [2018-07-16T20:16:26.682291 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_bgp_address_family.rb
I, [2018-07-16T20:16:26.683510 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_global.rb
I, [2018-07-16T20:16:26.684712 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_ospf_interface.rb
I, [2018-07-16T20:16:26.685913 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_bgp_peer.rb
I, [2018-07-16T20:16:26.687061 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type quagga_access_list.rb
I, [2018-07-16T20:16:26.688353 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type apt_key.rb
I, [2018-07-16T20:16:26.689770 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type file_line.rb
I, [2018-07-16T20:16:26.691352 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type anchor.rb
I, [2018-07-16T20:16:26.692807 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type git_config.rb
I, [2018-07-16T20:16:26.693938 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type package_mask.rb
I, [2018-07-16T20:16:26.695042 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type eselect.rb
I, [2018-07-16T20:16:26.696219 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type layman.rb
I, [2018-07-16T20:16:26.697828 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type webapp.rb
I, [2018-07-16T20:16:26.699296 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type package_unmask.rb
I, [2018-07-16T20:16:26.700648 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type package_env.rb
I, [2018-07-16T20:16:26.701960 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type package_use.rb
I, [2018-07-16T20:16:26.703245 #92660]  INFO -- : [PuppetHelper::load_type_file] Could not find absolute path of type package_keywords.rb
I, [2018-07-16T20:16:26.873861 #92660]  INFO -- : [PuppetHelper::load_type_file] type /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/whit.rb did not load any types
D, [2018-07-16T20:16:27.435244 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":1,"method":"puppet/getVersion","params":null}
---
D, [2018-07-16T20:16:27.437544 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":1,"result":{"puppetVersion":"5.5.2","facterVersion":"3.11.2","factsLoaded":false,"functionsLoaded":false,"typesLoaded":false,"classesLoaded":false,"languageServerVersion":"0.12.0"}}
---
I, [2018-07-16T20:16:27.537773 #92660]  INFO -- : [PuppetHelper::load_type_file] type /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/component.rb did not load any types
D, [2018-07-16T20:16:28.464669 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":2,"method":"puppet/getVersion","params":null}
---
D, [2018-07-16T20:16:28.473177 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":2,"result":{"puppetVersion":"5.5.2","facterVersion":"3.11.2","factsLoaded":false,"functionsLoaded":false,"typesLoaded":false,"classesLoaded":false,"languageServerVersion":"0.12.0"}}
---
D, [2018-07-16T20:16:29.427137 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","version":1},"contentChanges":[{"text":"# Install the r10k mcollective agent\nclass r10k::mcollective (\n  $ensure            = true,\n  $agent_name        = $r10k::params::mc_agent_name,\n  $app_name          = $r10k::params::mc_app_name,\n  $agent_ddl         = $r10k::params::mc_agent_ddl_name,\n  $agent_path        = $r10k::params::mc_agent_path,\n  $app_path          = $r10k::params::mc_application_path,\n  $mc_service        = $r10k::params::mc_service_name,\n  $http_proxy        = $r10k::params::mc_http_proxy,\n  $git_ssl_no_verify = $r10k::params::mc_git_ssl_no_verify,\n  $root_user         = $r10k::params::root_user,\n  $root_group        = $r10k::params::root_group,\n) inherits r10k::params {\n  $ensure_file = $ensure ? {\n    true  => 'file',\n    false => 'absent',\n  }\n\n  File {\n    ensure => $ensure_file,\n    owner  => $root_user,\n    group  => $root_group,\n    mode   => '0644',\n  }\n\n  # Install the agent and its ddl file\n  file { 'mcollective_agent_executable':\n    path   => \"${app_path}/${app_name}\",\n    source => \"puppet:///modules/${module_name}/application/${agent_name}\",\n  }\n\n  file { 'mcollective_agent_ddl':\n    path   => \"${agent_path}/${agent_ddl}\",\n    source => \"puppet:///modules/${module_name}/agent/${agent_ddl}\",\n  }\n\n  # Install the application file (all masters at the moment)\n  file { 'mcollective_application_file':\n    path    => \"${agent_path}/${agent_name}\",\n    content => template(\"${module_name}/agent/${agent_name}.erb\"),\n    require => File[\"${agent_path}/${agent_ddl}\"],\n  }\n\n  Service <| title == $mc_service |> {\n    subscribe +> [\n      File['mcollective_agent_executable'],\n      File['mcollective_agent_ddl'],\n      File['mcollective_application_file']\n    ],\n  }\n}\n"}]}}
---
I, [2018-07-16T20:16:29.608308 #92660]  INFO -- : Received textDocument/didChange notification.
D, [2018-07-16T20:16:29.746885 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":3,"method":"puppet/getVersion","params":null}
---
D, [2018-07-16T20:16:30.000124 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","diagnostics":[]}}
---
D, [2018-07-16T20:16:30.000383 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":3,"result":{"puppetVersion":"5.5.2","facterVersion":"3.11.2","factsLoaded":false,"functionsLoaded":false,"typesLoaded":false,"classesLoaded":false,"languageServerVersion":"0.12.0"}}
---
D, [2018-07-16T20:16:30.364680 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":4,"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp"},"position":{"line":6,"character":21}}}
---
E, [2018-07-16T20:16:30.564378 #92660] ERROR -- : (textDocument/hover) Unable to generate Hover information for object of type Puppet::Pops::Model::HostClassDefinition
D, [2018-07-16T20:16:30.566743 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":4,"result":{"contents":null}}
---
D, [2018-07-16T20:16:30.846747 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":4}}
---
E, [2018-07-16T20:16:30.886716 #92660] ERROR -- : Unknown RPC notification $/cancelRequest
D, [2018-07-16T20:16:31.049185 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":5,"method":"puppet/getVersion","params":null}
---
D, [2018-07-16T20:16:31.076460 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":5,"result":{"puppetVersion":"5.5.2","facterVersion":"3.11.2","factsLoaded":false,"functionsLoaded":false,"typesLoaded":false,"classesLoaded":false,"languageServerVersion":"0.12.0"}}
---
D, [2018-07-16T20:16:31.409595 #92660] DEBUG -- : [PuppetHelper::_load_default_types] Finished loading 48 type/s
I, [2018-07-16T20:16:31.410434 #92660]  INFO -- : Preloading Facter (Async)...
I, [2018-07-16T20:16:31.410730 #92660]  INFO -- : Preloading Functions (Async)...
D, [2018-07-16T20:16:32.387436 #92660] DEBUG -- : [FacterHelper::_load_facts] Finished loading 133 facts
D, [2018-07-16T20:16:32.387579 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":6,"method":"puppet/getVersion","params":null}
---
I, [2018-07-16T20:16:32.388139 #92660]  INFO -- : Preloading Classes (Async)...
D, [2018-07-16T20:16:32.388216 #92660] DEBUG -- : [PuppetHelper::_load_default_functions] Starting
D, [2018-07-16T20:16:32.388545 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":6,"result":{"puppetVersion":"5.5.2","facterVersion":"3.11.2","factsLoaded":true,"functionsLoaded":false,"typesLoaded":true,"classesLoaded":false,"languageServerVersion":"0.12.0"}}
---
D, [2018-07-16T20:16:32.388756 #92660] DEBUG -- : [PuppetHelper::_load_default_classes] Starting
I, [2018-07-16T20:16:32.439429 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function create_ini_settings.rb
D, [2018-07-16T20:16:32.439980 #92660] DEBUG -- : [PuppetHelper::_load_default_classes] Loading classes from ["/Users/dhollinger/.puppetlabs/etc/code/modules", "/opt/puppetlabs/puppet/modules", "/Users/dhollinger/.puppetlabs/etc/code/environments/production/modules"]
D, [2018-07-16T20:16:32.440128 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":7,"method":"puppet/getVersion","params":null}
---
I, [2018-07-16T20:16:32.441238 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function docker_service_flags.rb
D, [2018-07-16T20:16:32.449131 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":7,"result":{"puppetVersion":"5.5.2","facterVersion":"3.11.2","factsLoaded":true,"functionsLoaded":false,"typesLoaded":true,"classesLoaded":false,"languageServerVersion":"0.12.0"}}
---
I, [2018-07-16T20:16:32.461258 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function docker_swarm_init_flags.rb
I, [2018-07-16T20:16:32.476574 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function docker_swarm_join_flags.rb
I, [2018-07-16T20:16:32.529728 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function docker_run_flags.rb
I, [2018-07-16T20:16:32.564998 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function docker_stack_flags.rb
I, [2018-07-16T20:16:32.597922 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function docker_exec_flags.rb
I, [2018-07-16T20:16:32.600867 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function docker_plugin_remove_flags.rb
I, [2018-07-16T20:16:32.609007 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function docker_secrets_flags.rb
I, [2018-07-16T20:16:32.620602 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function docker_plugin_enable_flags.rb
I, [2018-07-16T20:16:32.627182 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function docker_plugin_install_flags.rb
I, [2018-07-16T20:16:32.629118 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function private.rb
I, [2018-07-16T20:16:32.634053 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_array.rb
I, [2018-07-16T20:16:32.645078 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function str2saltedsha512.rb
I, [2018-07-16T20:16:32.652765 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function camelcase.rb
I, [2018-07-16T20:16:32.654792 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function is_float.rb
I, [2018-07-16T20:16:32.673016 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function swapcase.rb
I, [2018-07-16T20:16:32.722615 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function uriescape.rb
I, [2018-07-16T20:16:32.724695 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function is_string.rb
I, [2018-07-16T20:16:32.727220 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function join_keys_to_values.rb
I, [2018-07-16T20:16:32.734090 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function type3x.rb
I, [2018-07-16T20:16:32.751228 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function dig44.rb
I, [2018-07-16T20:16:32.764513 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function is_bool.rb
I, [2018-07-16T20:16:32.785752 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function capitalize.rb
I, [2018-07-16T20:16:32.790582 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function lstrip.rb
I, [2018-07-16T20:16:32.794206 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_ip_address.rb
I, [2018-07-16T20:16:32.799498 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function count.rb
I, [2018-07-16T20:16:32.802199 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function fqdn_rotate.rb
I, [2018-07-16T20:16:32.811055 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function assert_private.rb
I, [2018-07-16T20:16:32.821801 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function union.rb
I, [2018-07-16T20:16:32.824740 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_cmd.rb
I, [2018-07-16T20:16:32.827838 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function loadyaml.rb
I, [2018-07-16T20:16:32.834172 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function num2bool.rb
I, [2018-07-16T20:16:32.845574 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function has_ip_address.rb
I, [2018-07-16T20:16:32.853984 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function strip.rb
I, [2018-07-16T20:16:32.858629 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function reject.rb
I, [2018-07-16T20:16:32.861731 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_email_address.rb
I, [2018-07-16T20:16:32.865350 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function squeeze.rb
I, [2018-07-16T20:16:32.867678 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function shell_split.rb
I, [2018-07-16T20:16:32.876704 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function deep_merge.rb
I, [2018-07-16T20:16:32.886250 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function intersection.rb
I, [2018-07-16T20:16:32.889563 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function has_key.rb
I, [2018-07-16T20:16:32.893197 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function suffix.rb
I, [2018-07-16T20:16:32.896615 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function is_integer.rb
I, [2018-07-16T20:16:32.901321 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function delete_undef_values.rb
I, [2018-07-16T20:16:32.911851 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_re.rb
I, [2018-07-16T20:16:32.917125 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function values_at.rb
I, [2018-07-16T20:16:32.922946 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function pw_hash.rb
I, [2018-07-16T20:16:32.928288 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function regexpescape.rb
I, [2018-07-16T20:16:32.932104 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function any2array.rb
I, [2018-07-16T20:16:32.938014 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function is_absolute_path.rb
I, [2018-07-16T20:16:32.943080 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function delete_regex.rb
I, [2018-07-16T20:16:32.955351 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_augeas.rb
I, [2018-07-16T20:16:32.962450 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function shell_escape.rb
I, [2018-07-16T20:16:32.975531 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function basename.rb
I, [2018-07-16T20:16:32.987655 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function any2bool.rb
I, [2018-07-16T20:16:33.001315 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function ensure_packages.rb
I, [2018-07-16T20:16:33.013309 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function rstrip.rb
I, [2018-07-16T20:16:33.021269 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function clamp.rb
I, [2018-07-16T20:16:33.035565 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function zip.rb
I, [2018-07-16T20:16:33.060580 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function pick.rb
I, [2018-07-16T20:16:33.064301 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function ensure_resource.rb
I, [2018-07-16T20:16:33.066784 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function shuffle.rb
I, [2018-07-16T20:16:33.083579 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function is_ip_address.rb
I, [2018-07-16T20:16:33.095664 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function has_interface_with.rb
I, [2018-07-16T20:16:33.099445 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function hash.rb
I, [2018-07-16T20:16:33.109846 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_domain_name.rb
I, [2018-07-16T20:16:33.120034 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function min.rb
I, [2018-07-16T20:16:33.135490 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function glob.rb
I, [2018-07-16T20:16:33.158150 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function ensure_resources.rb
I, [2018-07-16T20:16:33.167414 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function is_numeric.rb
I, [2018-07-16T20:16:33.171148 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function seeded_rand.rb
I, [2018-07-16T20:16:33.175083 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function loadjson.rb
I, [2018-07-16T20:16:33.196722 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_hash.rb
I, [2018-07-16T20:16:33.205955 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_x509_rsa_key_pair.rb
I, [2018-07-16T20:16:33.216120 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function pry.rb
D, [2018-07-16T20:16:33.223326 #92660] DEBUG -- : [PuppetHelper::_load_default_classes] Finished loading 92 classes
I, [2018-07-16T20:16:33.224578 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function defined_with_params.rb
I, [2018-07-16T20:16:33.229483 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function round.rb
I, [2018-07-16T20:16:33.231119 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function is_ipv6_address.rb
I, [2018-07-16T20:16:33.232648 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function chop.rb
I, [2018-07-16T20:16:33.234344 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function keys.rb
I, [2018-07-16T20:16:33.235642 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function floor.rb
I, [2018-07-16T20:16:33.236843 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function grep.rb
I, [2018-07-16T20:16:33.238160 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function chomp.rb
I, [2018-07-16T20:16:33.239475 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function member.rb
I, [2018-07-16T20:16:33.240795 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function abs.rb
I, [2018-07-16T20:16:33.242487 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function is_email_address.rb
I, [2018-07-16T20:16:33.243671 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function is_array.rb
I, [2018-07-16T20:16:33.244801 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function join.rb
I, [2018-07-16T20:16:33.245975 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function convert_base.rb
I, [2018-07-16T20:16:33.247274 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function size.rb
I, [2018-07-16T20:16:33.248741 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function has_ip_network.rb
I, [2018-07-16T20:16:33.256602 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function str2bool.rb
I, [2018-07-16T20:16:33.258200 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function sort.rb
I, [2018-07-16T20:16:33.259612 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_ipv4_address.rb
I, [2018-07-16T20:16:33.260815 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function bool2num.rb
I, [2018-07-16T20:16:33.261891 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function dirname.rb
I, [2018-07-16T20:16:33.263217 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function deprecation.rb
I, [2018-07-16T20:16:33.264878 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function reverse.rb
I, [2018-07-16T20:16:33.266645 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function dos2unix.rb
I, [2018-07-16T20:16:33.267937 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function is_mac_address.rb
I, [2018-07-16T20:16:33.269345 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function try_get_value.rb
I, [2018-07-16T20:16:33.270704 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function load_module_metadata.rb
I, [2018-07-16T20:16:33.271996 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function upcase.rb
I, [2018-07-16T20:16:33.273313 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function fqdn_rand_string.rb
I, [2018-07-16T20:16:33.274633 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function unique.rb
I, [2018-07-16T20:16:33.277586 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function empty.rb
I, [2018-07-16T20:16:33.278693 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function is_domain_name.rb
I, [2018-07-16T20:16:33.279817 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function parseyaml.rb
I, [2018-07-16T20:16:33.281342 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function range.rb
I, [2018-07-16T20:16:33.282838 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_bool.rb
I, [2018-07-16T20:16:33.284455 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function is_function_available.rb
I, [2018-07-16T20:16:33.285784 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function flatten.rb
I, [2018-07-16T20:16:33.286936 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function is_ipv4_address.rb
I, [2018-07-16T20:16:33.288142 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function values.rb
I, [2018-07-16T20:16:33.289329 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_string.rb
I, [2018-07-16T20:16:33.290685 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function base64.rb
I, [2018-07-16T20:16:33.292147 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function difference.rb
I, [2018-07-16T20:16:33.293646 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function bool2str.rb
I, [2018-07-16T20:16:33.294728 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function parsejson.rb
I, [2018-07-16T20:16:33.296046 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function concat.rb
I, [2018-07-16T20:16:33.297398 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_slength.rb
I, [2018-07-16T20:16:33.298730 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function shell_join.rb
I, [2018-07-16T20:16:33.300369 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_integer.rb
I, [2018-07-16T20:16:33.301664 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function downcase.rb
I, [2018-07-16T20:16:33.302915 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function getvar.rb
I, [2018-07-16T20:16:33.304125 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function is_hash.rb
I, [2018-07-16T20:16:33.305315 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function ceiling.rb
I, [2018-07-16T20:16:33.306578 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function pick_default.rb
I, [2018-07-16T20:16:33.307854 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function prefix.rb
I, [2018-07-16T20:16:33.309252 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function delete_values.rb
I, [2018-07-16T20:16:33.310570 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function fqdn_uuid.rb
I, [2018-07-16T20:16:33.311664 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function time.rb
I, [2018-07-16T20:16:33.312934 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_ipv6_address.rb
I, [2018-07-16T20:16:33.314283 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function getparam.rb
I, [2018-07-16T20:16:33.315830 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function to_bytes.rb
I, [2018-07-16T20:16:33.317325 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function delete.rb
I, [2018-07-16T20:16:33.318595 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function enclose_ipv6.rb
I, [2018-07-16T20:16:33.319749 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function unix2dos.rb
I, [2018-07-16T20:16:33.320880 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_absolute_path.rb
I, [2018-07-16T20:16:33.322046 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function merge.rb
I, [2018-07-16T20:16:33.323269 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function get_module_path.rb
I, [2018-07-16T20:16:33.324422 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function max.rb
I, [2018-07-16T20:16:33.325956 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function validate_numeric.rb
I, [2018-07-16T20:16:33.327508 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function delete_at.rb
I, [2018-07-16T20:16:33.328669 #92660]  INFO -- : [PuppetHelper::load_function_file] Could not find absolute path of function git_config_hash.rb
D, [2018-07-16T20:16:33.449775 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":8,"method":"puppet/getVersion","params":null}
---
D, [2018-07-16T20:16:33.451468 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":8,"result":{"puppetVersion":"5.5.2","facterVersion":"3.11.2","factsLoaded":true,"functionsLoaded":false,"typesLoaded":true,"classesLoaded":true,"languageServerVersion":"0.12.0"}}
---
D, [2018-07-16T20:16:33.894205 #92660] DEBUG -- : [PuppetHelper::_load_default_functions] Finished loading 60 functions
D, [2018-07-16T20:16:34.445332 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":9,"method":"puppet/getVersion","params":null}
---
D, [2018-07-16T20:16:34.446252 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":9,"result":{"puppetVersion":"5.5.2","facterVersion":"3.11.2","factsLoaded":true,"functionsLoaded":true,"typesLoaded":true,"classesLoaded":true,"languageServerVersion":"0.12.0"}}
---
D, [2018-07-16T20:16:52.061300 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","version":2},"contentChanges":[{"text":"# Install the r10k mcollective agent\nclass r10k::mcollective (\n  $ensure            = true,\n  $agent_name        = $r10k::params::mc_agent_name,\n  $app_name          = $r10k::params::mc_app_name,\n  $agent_ddl         = $r10k::params::mc_agent_ddl_name,\n  $agent_path        = $r10k::params::mc_agent_path,\n  $app_path          = $r10k::params::mc_application_path,\n  $mc_service        = $r10k::params::mc_service_name,\n  $http_proxy        = $r10k::params::mc_http_proxy,\n  $git_ssl_no_verify = $r10k::params::mc_git_ssl_no_verify,\n  $root_user         = $r10k::params::root_user,\n  $root_group        = $r10k::params::root_group,\n) inherits r10k::params {\n  $ensure_file = $ensure ? {\n    true  => 'file',\n    false => 'absent',\n  }\n\n  File {\n    ensure => $ensure_file,\n    owner  => $root_user,\n    group  => $root_group,\n    mode   => '0644',\n  }\n\n  # Install the agent and its ddl file\n  file { 'mcollective_agent_executable':\n    path   => \"${app_path}/${app_name}\",\n    source => \"puppet:///modules/${module_name}/application/${agent_name}\",\n  }\n\n  file { 'mcollective_agent_ddl':\n    path   => \"${agent_path}/${agent_ddl}\",\n    source => \"puppet:///modules/${module_name}/agent/${agent_ddl}\",\n  }\n\n  # Install the application file (all masters at the moment)\n  file { 'mcollective_application_file':\n    path    => \"${agent_path}/${agent_name}\",\n    content => template(\"${module_name}/agent/${agent_name}.erb\"),\n    require => File[\"${agent_path}/${agent_ddl}\"],\n  }\n\n  Service <| title == $mc_service |> {\n    subscribe +> [\n      File['mcollective_agent_executable'],\n      File['mcollective_agent_ddl'],\n      File['mcollective_application_file']\n    ],\n  }\n  \n}\n"}]}}
---
I, [2018-07-16T20:16:52.061784 #92660]  INFO -- : Received textDocument/didChange notification.
D, [2018-07-16T20:16:52.223493 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","diagnostics":[{"source":"Puppet","message":"trailing whitespace found","range":{"start":{"line":51,"character":0},"end":{"line":51,"character":2}},"code":"trailing_whitespace","severity":1}]}}
---
D, [2018-07-16T20:16:52.351844 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","version":3},"contentChanges":[{"text":"# Install the r10k mcollective agent\nclass r10k::mcollective (\n  $ensure            = true,\n  $agent_name        = $r10k::params::mc_agent_name,\n  $app_name          = $r10k::params::mc_app_name,\n  $agent_ddl         = $r10k::params::mc_agent_ddl_name,\n  $agent_path        = $r10k::params::mc_agent_path,\n  $app_path          = $r10k::params::mc_application_path,\n  $mc_service        = $r10k::params::mc_service_name,\n  $http_proxy        = $r10k::params::mc_http_proxy,\n  $git_ssl_no_verify = $r10k::params::mc_git_ssl_no_verify,\n  $root_user         = $r10k::params::root_user,\n  $root_group        = $r10k::params::root_group,\n) inherits r10k::params {\n  $ensure_file = $ensure ? {\n    true  => 'file',\n    false => 'absent',\n  }\n\n  File {\n    ensure => $ensure_file,\n    owner  => $root_user,\n    group  => $root_group,\n    mode   => '0644',\n  }\n\n  # Install the agent and its ddl file\n  file { 'mcollective_agent_executable':\n    path   => \"${app_path}/${app_name}\",\n    source => \"puppet:///modules/${module_name}/application/${agent_name}\",\n  }\n\n  file { 'mcollective_agent_ddl':\n    path   => \"${agent_path}/${agent_ddl}\",\n    source => \"puppet:///modules/${module_name}/agent/${agent_ddl}\",\n  }\n\n  # Install the application file (all masters at the moment)\n  file { 'mcollective_application_file':\n    path    => \"${agent_path}/${agent_name}\",\n    content => template(\"${module_name}/agent/${agent_name}.erb\"),\n    require => File[\"${agent_path}/${agent_ddl}\"],\n  }\n\n  Service <| title == $mc_service |> {\n    subscribe +> [\n      File['mcollective_agent_executable'],\n      File['mcollective_agent_ddl'],\n      File['mcollective_application_file']\n    ],\n  }\n\n  \n}\n"}]}}
---
I, [2018-07-16T20:16:52.352669 #92660]  INFO -- : Received textDocument/didChange notification.
D, [2018-07-16T20:16:52.512255 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","diagnostics":[{"source":"Puppet","message":"trailing whitespace found","range":{"start":{"line":52,"character":0},"end":{"line":52,"character":2}},"code":"trailing_whitespace","severity":1}]}}
---
D, [2018-07-16T20:16:55.772928 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":10,"method":"puppet/compileNodeGraph","params":{"$mid":1,"external":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","path":"/Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","scheme":"file"}}
---
D, [2018-07-16T20:16:55.858233 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":10,"result":{"error":"There were no resources created in the node graph. Is there an include statement missing?"}}
---
D, [2018-07-16T20:17:11.560761 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":11,"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp"},"position":{"line":46,"character":32}}}
---
E, [2018-07-16T20:17:11.569833 #92660] ERROR -- : (textDocument/hover) undefined method `expr' for #<Puppet::Pops::Model::QualifiedReference:0x00007fadce266398>
D, [2018-07-16T20:17:11.570166 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":11,"result":{"contents":null}}
---
D, [2018-07-16T20:17:12.660495 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","version":4},"contentChanges":[{"text":"# Install the r10k mcollective agent\nclass r10k::mcollective (\n  $ensure            = true,\n  $agent_name        = $r10k::params::mc_agent_name,\n  $app_name          = $r10k::params::mc_app_name,\n  $agent_ddl         = $r10k::params::mc_agent_ddl_name,\n  $agent_path        = $r10k::params::mc_agent_path,\n  $app_path          = $r10k::params::mc_application_path,\n  $mc_service        = $r10k::params::mc_service_name,\n  $http_proxy        = $r10k::params::mc_http_proxy,\n  $git_ssl_no_verify = $r10k::params::mc_git_ssl_no_verify,\n  $root_user         = $r10k::params::root_user,\n  $root_group        = $r10k::params::root_group,\n) inherits r10k::params {\n  $ensure_file = $ensure ? {\n    true  => 'file',\n    false => 'absent',\n  }\n\n  File {\n    ensure => $ensure_file,\n    owner  => $root_user,\n    group  => $root_group,\n    mode   => '0644',\n  }\n\n  # Install the agent and its ddl file\n  file { 'mcollective_agent_executable':\n    path   => \"${app_path}/${app_name}\",\n    source => \"puppet:///modules/${module_name}/application/${agent_name}\",\n  }\n\n  file { 'mcollective_agent_ddl':\n    path   => \"${agent_path}/${agent_ddl}\",\n    source => \"puppet:///modules/${module_name}/agent/${agent_ddl}\",\n  }\n\n  # Install the application file (all masters at the moment)\n  file { 'mcollective_application_file':\n    path    => \"${agent_path}/${agent_name}\",\n    content => template(\"${module_name}/agent/${agent_name}.erb\"),\n    require => File[\"${agent_path}/${agent_ddl}\"],\n  }\n\n  Service <| title == $mc_service |> {\n    subscribe +> [\n      File['mcollective_agent_executable'],\n      File['mcollective_agent_ddl'],\n      File['mcollective_application_file']\n    ],\n  }\n\n\n}\n"}]}}
---
I, [2018-07-16T20:17:12.661295 #92660]  INFO -- : Received textDocument/didChange notification.
D, [2018-07-16T20:17:12.769350 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","diagnostics":[]}}
---
D, [2018-07-16T20:17:13.090827 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","version":5},"contentChanges":[{"text":"# Install the r10k mcollective agent\nclass r10k::mcollective (\n  $ensure            = true,\n  $agent_name        = $r10k::params::mc_agent_name,\n  $app_name          = $r10k::params::mc_app_name,\n  $agent_ddl         = $r10k::params::mc_agent_ddl_name,\n  $agent_path        = $r10k::params::mc_agent_path,\n  $app_path          = $r10k::params::mc_application_path,\n  $mc_service        = $r10k::params::mc_service_name,\n  $http_proxy        = $r10k::params::mc_http_proxy,\n  $git_ssl_no_verify = $r10k::params::mc_git_ssl_no_verify,\n  $root_user         = $r10k::params::root_user,\n  $root_group        = $r10k::params::root_group,\n) inherits r10k::params {\n  $ensure_file = $ensure ? {\n    true  => 'file',\n    false => 'absent',\n  }\n\n  File {\n    ensure => $ensure_file,\n    owner  => $root_user,\n    group  => $root_group,\n    mode   => '0644',\n  }\n\n  # Install the agent and its ddl file\n  file { 'mcollective_agent_executable':\n    path   => \"${app_path}/${app_name}\",\n    source => \"puppet:///modules/${module_name}/application/${agent_name}\",\n  }\n\n  file { 'mcollective_agent_ddl':\n    path   => \"${agent_path}/${agent_ddl}\",\n    source => \"puppet:///modules/${module_name}/agent/${agent_ddl}\",\n  }\n\n  # Install the application file (all masters at the moment)\n  file { 'mcollective_application_file':\n    path    => \"${agent_path}/${agent_name}\",\n    content => template(\"${module_name}/agent/${agent_name}.erb\"),\n    require => File[\"${agent_path}/${agent_ddl}\"],\n  }\n\n  Service <| title == $mc_service |> {\n    subscribe +> [\n      File['mcollective_agent_executable'],\n      File['mcollective_agent_ddl'],\n      File['mcollective_application_file']\n    ],\n  }\n\n}\n"}]}}
---
I, [2018-07-16T20:17:13.091690 #92660]  INFO -- : Received textDocument/didChange notification.
D, [2018-07-16T20:17:13.205898 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","diagnostics":[]}}
---
D, [2018-07-16T20:17:13.547098 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","version":6},"contentChanges":[{"text":"# Install the r10k mcollective agent\nclass r10k::mcollective (\n  $ensure            = true,\n  $agent_name        = $r10k::params::mc_agent_name,\n  $app_name          = $r10k::params::mc_app_name,\n  $agent_ddl         = $r10k::params::mc_agent_ddl_name,\n  $agent_path        = $r10k::params::mc_agent_path,\n  $app_path          = $r10k::params::mc_application_path,\n  $mc_service        = $r10k::params::mc_service_name,\n  $http_proxy        = $r10k::params::mc_http_proxy,\n  $git_ssl_no_verify = $r10k::params::mc_git_ssl_no_verify,\n  $root_user         = $r10k::params::root_user,\n  $root_group        = $r10k::params::root_group,\n) inherits r10k::params {\n  $ensure_file = $ensure ? {\n    true  => 'file',\n    false => 'absent',\n  }\n\n  File {\n    ensure => $ensure_file,\n    owner  => $root_user,\n    group  => $root_group,\n    mode   => '0644',\n  }\n\n  # Install the agent and its ddl file\n  file { 'mcollective_agent_executable':\n    path   => \"${app_path}/${app_name}\",\n    source => \"puppet:///modules/${module_name}/application/${agent_name}\",\n  }\n\n  file { 'mcollective_agent_ddl':\n    path   => \"${agent_path}/${agent_ddl}\",\n    source => \"puppet:///modules/${module_name}/agent/${agent_ddl}\",\n  }\n\n  # Install the application file (all masters at the moment)\n  file { 'mcollective_application_file':\n    path    => \"${agent_path}/${agent_name}\",\n    content => template(\"${module_name}/agent/${agent_name}.erb\"),\n    require => File[\"${agent_path}/${agent_ddl}\"],\n  }\n\n  Service <| title == $mc_service |> {\n    subscribe +> [\n      File['mcollective_agent_executable'],\n      File['mcollective_agent_ddl'],\n      File['mcollective_application_file']\n    ],\n  }\n}\n"}]}}
---
I, [2018-07-16T20:17:13.547911 #92660]  INFO -- : Received textDocument/didChange notification.
D, [2018-07-16T20:17:13.666434 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp","diagnostics":[]}}
---
D, [2018-07-16T20:17:14.489168 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":12,"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp"},"position":{"line":47,"character":23}}}
---
E, [2018-07-16T20:17:14.501631 #92660] ERROR -- : (textDocument/hover) undefined method `expr' for #<Puppet::Pops::Model::QualifiedReference:0x00007fadcfb9cda8>
D, [2018-07-16T20:17:14.502125 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":12,"result":{"contents":null}}
---
D, [2018-07-16T20:17:14.831460 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":13,"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///Users/dhollinger/workspace/puppet/puppet-r10k/manifests/mcollective.pp"},"position":{"line":47,"character":23}}}
---
D, [2018-07-16T20:17:14.839255 #92660] DEBUG -- : --- OUTBOUND
{"jsonrpc":"2.0","id":13,"result":[]}
---
D, [2018-07-16T20:17:17.897509 #92660] DEBUG -- : --- INBOUND
{"jsonrpc":"2.0","id":14,"method":"puppet/getResource","params":{"typename":"user"}}
---
D, [2018-07-16T20:17:19.060828 #92660] DEBUG -- : [PUPPET LOG] [err] Could not call 'search' on 'resource': undefined method `each' for nil:NilClass

source

# Install the r10k mcollective agent
class r10k::mcollective (
  $ensure            = true,
  $agent_name        = $r10k::params::mc_agent_name,
  $app_name          = $r10k::params::mc_app_name,
  $agent_ddl         = $r10k::params::mc_agent_ddl_name,
  $agent_path        = $r10k::params::mc_agent_path,
  $app_path          = $r10k::params::mc_application_path,
  $mc_service        = $r10k::params::mc_service_name,
  $http_proxy        = $r10k::params::mc_http_proxy,
  $git_ssl_no_verify = $r10k::params::mc_git_ssl_no_verify,
  $root_user         = $r10k::params::root_user,
  $root_group        = $r10k::params::root_group,
) inherits r10k::params {
  $ensure_file = $ensure ? {
    true  => 'file',
    false => 'absent',
  }

  File {
    ensure => $ensure_file,
    owner  => $root_user,
    group  => $root_group,
    mode   => '0644',
  }

  # Install the agent and its ddl file
  file { 'mcollective_agent_executable':
    path   => "${app_path}/${app_name}",
    source => "puppet:///modules/${module_name}/application/${agent_name}",
  }

  file { 'mcollective_agent_ddl':
    path   => "${agent_path}/${agent_ddl}",
    source => "puppet:///modules/${module_name}/agent/${agent_ddl}",
  }

  # Install the application file (all masters at the moment)
  file { 'mcollective_application_file':
    path    => "${agent_path}/${agent_name}",
    content => template("${module_name}/agent/${agent_name}.erb"),
    require => File["${agent_path}/${agent_ddl}"],
  }

  Service <| title == $mc_service |> {
    subscribe +> [
      File['mcollective_agent_executable'],
      File['mcollective_agent_ddl'],
      File['mcollective_application_file']
    ],
  }
}

@glennsarti glennsarti added bug Something isn't working Language Server labels Jul 17, 2018
@glennsarti
Copy link
Contributor Author

puppet.conf

agent_catalog_run_lockfile = /Users/dhollinger/.puppetlabs/opt/puppet/cache/state/agent_catalog_run.lock
agent_disabled_lockfile = /Users/dhollinger/.puppetlabs/opt/puppet/cache/state/agent_disabled.lock
allow_duplicate_certs = false
always_retry_plugins = true
app_management = false
autoflush = true
autosign = /Users/dhollinger/.puppetlabs/etc/puppet/autosign.conf
basemodulepath = /Users/dhollinger/.puppetlabs/etc/code/modules:/opt/puppetlabs/puppet/modules
bindaddress = *
binder_config = 
bucketdir = /Users/dhollinger/.puppetlabs/opt/puppet/cache/bucket
ca = true
ca_name = Puppet CA: dhollinger-mbp.local
ca_port = 8140
ca_server = puppet
ca_ttl = 157680000
cacert = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/ca/ca_crt.pem
cacrl = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/ca/ca_crl.pem
cadir = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/ca
cakey = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/ca/ca_key.pem
capass = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/ca/private/ca.pass
caprivatedir = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/ca/private
capub = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/ca/ca_pub.pem
catalog_cache_terminus = 
catalog_terminus = compiler
cert_inventory = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/ca/inventory.txt
certdir = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/certs
certificate_revocation = chain
certname = dhollinger-mbp.local
classfile = /Users/dhollinger/.puppetlabs/opt/puppet/cache/state/classes.txt
client_datadir = /Users/dhollinger/.puppetlabs/opt/puppet/cache/client_data
clientbucketdir = /Users/dhollinger/.puppetlabs/opt/puppet/cache/clientbucket
clientyamldir = /Users/dhollinger/.puppetlabs/opt/puppet/cache/client_yaml
code = 
codedir = /Users/dhollinger/.puppetlabs/etc/code
color = ansi
confdir = /Users/dhollinger/.puppetlabs/etc/puppet
config = /Users/dhollinger/.puppetlabs/etc/puppet/puppet.conf
config_file_name = puppet.conf
config_version = 
configprint = 
configtimeout = 120
csr_attributes = /Users/dhollinger/.puppetlabs/etc/puppet/csr_attributes.yaml
csrdir = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/ca/requests
daemonize = true
data_binding_terminus = hiera
default_file_terminus = rest
default_manifest = ./manifests
default_schedules = true
deviceconfig = /Users/dhollinger/.puppetlabs/etc/puppet/device.conf
devicedir = /Users/dhollinger/.puppetlabs/opt/puppet/cache/devices
diff = diff
diff_args = -u
digest_algorithm = md5
disable_i18n = false
disable_per_environment_manifest = false
disable_warnings = []
dns_alt_names = 
document_all = false
environment = production
environment_data_provider = 
environment_timeout = 0
environmentpath = /Users/dhollinger/.puppetlabs/etc/code/environments
evaltrace = false
external_nodes = none
factpath = /Users/dhollinger/.puppetlabs/opt/puppet/cache/lib/facter:/Users/dhollinger/.puppetlabs/opt/puppet/cache/facts
facts_terminus = facter
fileserverconfig = /Users/dhollinger/.puppetlabs/etc/puppet/fileserver.conf
filetimeout = 15
forge_authorization = 
freeze_main = false
future_features = false
genconfig = false
genmanifest = false
graph = false
graphdir = /Users/dhollinger/.puppetlabs/opt/puppet/cache/state/graphs
group = puppet
hiera_config = /Users/dhollinger/.puppetlabs/etc/puppet/hiera.yaml
hostcert = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/certs/dhollinger-mbp.local.pem
hostcrl = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/crl.pem
hostcsr = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/csr_dhollinger-mbp.local.pem
hostprivkey = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/private_keys/dhollinger-mbp.local.pem
hostpubkey = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/public_keys/dhollinger-mbp.local.pem
http_connect_timeout = 120
http_debug = false
http_keepalive_timeout = 4
http_proxy_host = none
http_proxy_password = none
http_proxy_port = 3128
http_proxy_user = none
http_read_timeout = 
http_user_agent = Puppet/5.5.2 Ruby/2.4.4-p296 (x86_64-darwin16)
ignorecache = false
ignoremissingtypes = false
ignoreschedules = false
keylength = 4096
lastrunfile = /Users/dhollinger/.puppetlabs/opt/puppet/cache/state/last_run_summary.yaml
lastrunreport = /Users/dhollinger/.puppetlabs/opt/puppet/cache/state/last_run_report.yaml
ldapattrs = all
ldapbase = 
ldapclassattrs = puppetclass
ldapparentattr = parentnode
ldappassword = 
ldapport = 389
ldapserver = ldap
ldapssl = false
ldapstackedattrs = puppetvar
ldapstring = (&(objectclass=puppetClient)(cn=%s))
ldaptls = false
ldapuser = 
libdir = /Users/dhollinger/.puppetlabs/opt/puppet/cache/lib
localcacert = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/certs/ca.pem
localedest = /Users/dhollinger/.puppetlabs/opt/puppet/cache/locales
localesource = puppet:///locales
log_level = notice
logdir = /Users/dhollinger/.puppetlabs/var/log
manage_internal_file_permissions = true
manifest = no_manifest
masterhttplog = /Users/dhollinger/.puppetlabs/var/log/masterhttp.log
masterport = 8140
max_deprecations = 10
max_errors = 10
max_warnings = 10
maximum_uid = 4294967290
mkusers = false
module_groups = 
module_repository = https://forgeapi.puppet.com
module_skeleton_dir = /Users/dhollinger/.puppetlabs/opt/puppet/cache/puppet-module/skeleton
module_working_dir = /Users/dhollinger/.puppetlabs/opt/puppet/cache/puppet-module
modulepath = /Users/dhollinger/.puppetlabs/etc/code/modules:/opt/puppetlabs/puppet/modules
name = config
node_cache_terminus = 
node_name = cert
node_name_fact = 
node_name_value = dhollinger-mbp.local
node_terminus = plain
noop = false
onetime = false
ordering = manifest
passfile = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/private/password
path = none
pidfile = /Users/dhollinger/.puppetlabs/var/run/main.pid
plugindest = /Users/dhollinger/.puppetlabs/opt/puppet/cache/lib
pluginfactdest = /Users/dhollinger/.puppetlabs/opt/puppet/cache/facts.d
pluginfactsource = puppet:///pluginfacts
pluginsignore = .svn CVS .git .hg
pluginsource = puppet:///plugins
pluginsync = true
postrun_command = 
preferred_serialization_format = json
prerun_command = 
preview_outputdir = /Users/dhollinger/.puppetlabs/opt/puppet/cache/preview
priority = 
privatedir = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/private
privatekeydir = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/private_keys
profile = false
publickeydir = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/public_keys
puppetdlog = /Users/dhollinger/.puppetlabs/var/log/puppetd.log
report = true
report_port = 8140
report_server = puppet
reportdir = /Users/dhollinger/.puppetlabs/opt/puppet/cache/reports
reports = store
reporturl = http://localhost:3000/reports/upload
requestdir = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/certificate_requests
resourcefile = /Users/dhollinger/.puppetlabs/opt/puppet/cache/state/resources.txt
rest_authconfig = /Users/dhollinger/.puppetlabs/etc/puppet/auth.conf
rich_data = false
route_file = /Users/dhollinger/.puppetlabs/etc/puppet/routes.yaml
rundir = /Users/dhollinger/.puppetlabs/var/run
runinterval = 1800
runtimeout = 0
serial = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/ca/serial
server = puppet
server_datadir = /Users/dhollinger/.puppetlabs/opt/puppet/cache/server_data
server_list = []
show_diff = false
signeddir = /Users/dhollinger/.puppetlabs/etc/puppet/ssl/ca/signed
skip_tags = 
sourceaddress = 
splay = false
splaylimit = 1800
srv_domain = local
ssl_client_ca_auth = 
ssl_client_header = HTTP_X_CLIENT_DN
ssl_client_verify_header = HTTP_X_CLIENT_VERIFY
ssl_server_ca_auth = 
ssldir = /Users/dhollinger/.puppetlabs/etc/puppet/ssl
statedir = /Users/dhollinger/.puppetlabs/opt/puppet/cache/state
statefile = /Users/dhollinger/.puppetlabs/opt/puppet/cache/state/state.yaml
static_catalogs = true
storeconfigs = false
storeconfigs_backend = puppetdb
strict = warning
strict_environment_mode = false
strict_hostname_checking = false
strict_variables = false
summarize = false
supported_checksum_types = ["md5", "sha256", "sha384", "sha512", "sha224"]
syslogfacility = daemon
tags = 
tasks = false
trace = false
transactionstorefile = /Users/dhollinger/.puppetlabs/opt/puppet/cache/state/transactionstore.yaml
trusted_oid_mapping_file = /Users/dhollinger/.puppetlabs/etc/puppet/custom_trusted_oid_mapping.yaml
trusted_server_facts = true
use_cached_catalog = false
use_srv_records = false
usecacheonfailure = true
user = puppet
vardir = /Users/dhollinger/.puppetlabs/opt/puppet/cache
waitforcert = 120
yamldir = /Users/dhollinger/.puppetlabs/opt/puppet/cache/yaml

@glennsarti
Copy link
Contributor Author

Managed to repro this as a non-admin. Investigating.

glennsarti added a commit to glennsarti/puppet-editor-services that referenced this issue Jul 19, 2018
glennsarti added a commit to glennsarti/puppet-editor-services that referenced this issue Jul 19, 2018
Previously the puppet environment detection normally defaulted to root however
this did not work correctly when the user running the language-server was
non-root.  This commit instead updates the environment detection to correctly
find the puppet environment, and defaults to the previous behaviour if the new
method failed to work.
jpogran pushed a commit that referenced this issue Jul 19, 2018
(GH-46) Detect Puppet Environment correctly
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