Skip to content

Instantly share code, notes, and snippets.

@cyberious
Created June 30, 2015 22:54
Show Gist options
  • Save cyberious/52410266b650afd94b59 to your computer and use it in GitHub Desktop.
Save cyberious/52410266b650afd94b59 to your computer and use it in GitHub Desktop.
2015-06-30 15:52:59.214187 INFO puppetlabs.facter - executed with command line: sqlserver_instances --trace --debug.
2015-06-30 15:52:59.217182 DEBUG puppetlabs.facter - no loaded libraries found matching pattern .*ruby(\d)?(\d)?(\d)?\.d
ll
2015-06-30 15:52:59.218181 DEBUG puppetlabs.facter - ruby was found at "C:\Program Files\Puppet Labs\Puppet\sys\ruby\bin
\ruby.exe".
2015-06-30 15:52:59.220183 DEBUG puppetlabs.facter - executing command: C:\Program Files\Puppet Labs\Puppet\sys\ruby\bin
\ruby.exe -e print File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['LIBRUBY_SO'])
2015-06-30 15:52:59.294191 DEBUG | - C:/Program Files/Puppet Labs/Puppet/sys/ruby/bin/x64-msvcrt-ruby210.dll
2015-06-30 15:52:59.296191 DEBUG puppetlabs.facter - process exited with exit code 0.
2015-06-30 15:52:59.297192 INFO puppetlabs.facter - ruby loaded from "C:/Program Files/Puppet Labs/Puppet/sys/ruby/bin/
x64-msvcrt-ruby210.dll".
2015-06-30 15:52:59.305193 INFO puppetlabs.facter - using ruby version 2.1.6 to resolve custom facts.
2015-06-30 15:52:59.355198 INFO puppetlabs.facter - requested queries: sqlserver_instances.
2015-06-30 15:52:59.356222 DEBUG puppetlabs.facter - fact "facterversion" has resolved to "3.0.1".
2015-06-30 15:52:59.357199 DEBUG puppetlabs.facter - initializing WMI
2015-06-30 15:52:59.366229 DEBUG puppetlabs.facter - searching "C:/ProgramData\PuppetLabs\facter\facts.d" for external f
acts.
2015-06-30 15:52:59.367233 DEBUG puppetlabs.facter - no external facts were found.
2015-06-30 15:52:59.368230 DEBUG puppetlabs.facter - setting fact "env_windows_installdir" based on the value of environ
ment variable "FACTER_env_windows_installdir".
2015-06-30 15:52:59.369228 DEBUG puppetlabs.facter - fact "env_windows_installdir" has resolved to "C:\Program Files\Pup
pet Labs\Puppet".
2015-06-30 15:52:59.374218 DEBUG puppetlabs.facter - loading all custom facts.
2015-06-30 15:52:59.375234 DEBUG puppetlabs.facter - searching for custom facts in C:/ProgramData\PuppetLabs\code\module
s\sqlserver\lib\facter.
2015-06-30 15:52:59.376229 INFO puppetlabs.facter - loading custom facts from C:/ProgramData\PuppetLabs\code\modules\sq
lserver\lib\facter\sqlserver_features.rb.
2015-06-30 15:52:59.380203 INFO puppetlabs.facter - loading custom facts from C:/ProgramData\PuppetLabs\code\modules\sq
lserver\lib\facter\sqlserver_instances.rb.
2015-06-30 15:52:59.382203 DEBUG puppetlabs.facter - resolving operating system facts.
2015-06-30 15:52:59.383203 DEBUG puppetlabs.facter - resolving kernel facts.
2015-06-30 15:52:59.384203 DEBUG puppetlabs.facter - fact "kernel" has resolved to "windows".
2015-06-30 15:52:59.384203 DEBUG puppetlabs.facter - fact "kernelrelease" has resolved to "6.2.9200".
2015-06-30 15:52:59.385203 DEBUG puppetlabs.facter - fact "kernelmajversion" has resolved to "6.2".
2015-06-30 15:52:59.386204 DEBUG puppetlabs.facter - fact "kernelversion" has resolved to "6.2.9200".
2015-06-30 15:52:59.428213 DEBUG puppetlabs.facter - fact "osfamily" has resolved to "windows".
2015-06-30 15:52:59.430214 DEBUG puppetlabs.facter - fact "operatingsystemmajrelease" has resolved to "2012".
2015-06-30 15:52:59.431210 DEBUG puppetlabs.facter - fact "operatingsystemrelease" has resolved to "2012".
2015-06-30 15:52:59.431210 DEBUG puppetlabs.facter - fact "hardwaremodel" has resolved to "x86_64".
2015-06-30 15:52:59.432209 DEBUG puppetlabs.facter - fact "architecture" has resolved to "x64".
2015-06-30 15:52:59.433209 DEBUG puppetlabs.facter - fact "operatingsystem" has resolved to "windows".
2015-06-30 15:52:59.433209 DEBUG puppetlabs.facter - fact "system32" has resolved to "C:\Windows\system32".
2015-06-30 15:52:59.434208 DEBUG puppetlabs.facter - fact "os" has resolved to {
architecture => "x64",
family => "windows",
hardware => "x86_64",
name => "windows",
release => {
full => "2012",
major => "2012"
},
windows => {
system32 => "C:\Windows\system32"
}
}.
2015-06-30 15:52:59.466214 DEBUG puppetlabs.facter - fact "sqlserver_features" has resolved to {
SQL_2012 => [
"Conn",
"SDK",
"MDS",
"BC",
"ADV_SSMS",
"SSMS",
"IS"
],
SQL_2014 => []
}.
2015-06-30 15:52:59.474214 ERROR puppetlabs.facter - error while resolving custom fact "sqlserver_instances": fail: OLE
initialize
HRESULT error code:0x80010106
Cannot change thread mode after it is set.
backtrace:
C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `new'
C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
C:/ProgramData/PuppetLabs/code/modules/sqlserver/lib/puppet_x/sqlserver/features.rb:22:in `connect'
C:/ProgramData/PuppetLabs/code/modules/sqlserver/lib/puppet_x/sqlserver/features.rb:87:in `get_instance_names_by_ver'
C:/ProgramData/PuppetLabs/code/modules/sqlserver/lib/puppet_x/sqlserver/features.rb:190:in `block in get_instances'
C:/ProgramData/PuppetLabs/code/modules/sqlserver/lib/puppet_x/sqlserver/features.rb:189:in `map'
C:/ProgramData/PuppetLabs/code/modules/sqlserver/lib/puppet_x/sqlserver/features.rb:189:in `get_instances'
C:/ProgramData/PuppetLabs/code/modules/sqlserver/lib/facter/sqlserver_instances.rb:7:in `block (2 levels) in <top (requi
red)>'
-e:1:in `call'
2015-06-30 15:52:59.481215 DEBUG puppetlabs.facter - fact "sqlserver_instances" resolved to null and will not be added.
2015-06-30 15:52:59.481215 DEBUG puppetlabs.facter - fact "sqlserver_instances" does not exist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment