Skip to content

Commit

Permalink
Merge pull request #4526 from inspec/cw/fix-resource-loader-by-name
Browse files Browse the repository at this point in the history
Add resource stubs so the resource loader will find all resources
  • Loading branch information
Ryan Davis committed Sep 27, 2019
2 parents 8fffa5e + 9a2d360 commit d8e3975
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/inspec/resources/bsd_service.rb
@@ -0,0 +1,2 @@
# This is just here to make the dynamic loader happy.
require "inspec/resources/service"
2 changes: 2 additions & 0 deletions lib/inspec/resources/etc_hosts_allow.rb
@@ -0,0 +1,2 @@
# This is just here to make the dynamic loader happy.
require "inspec/resources/etc_hosts_allow_deny"
2 changes: 2 additions & 0 deletions lib/inspec/resources/etc_hosts_deny.rb
@@ -0,0 +1,2 @@
# This is just here to make the dynamic loader happy.
require "inspec/resources/etc_hosts_allow_deny"
2 changes: 2 additions & 0 deletions lib/inspec/resources/iis_website.rb
@@ -0,0 +1,2 @@
# This is just here to make the dynamic loader happy.
require "inspec/resources/iis_website.rb"
2 changes: 2 additions & 0 deletions lib/inspec/resources/launchd_service.rb
@@ -0,0 +1,2 @@
# This is just here to make the dynamic loader happy.
require "inspec/resources/service"
2 changes: 2 additions & 0 deletions lib/inspec/resources/linux_kernel_parameter.rb
@@ -0,0 +1,2 @@
# This is just here to make the dynamic loader happy.
require "inspec/resources/kernel_parameter"
2 changes: 2 additions & 0 deletions lib/inspec/resources/parse_config_file.rb
@@ -0,0 +1,2 @@
# This is just here to make the dynamic loader happy.
require "inspec/resources/parse_config"
2 changes: 2 additions & 0 deletions lib/inspec/resources/ppa.rb
@@ -0,0 +1,2 @@
# This is just here to make the dynamic loader happy.
require "inspec/resources/apt.rb"
2 changes: 2 additions & 0 deletions lib/inspec/resources/rabbitmq_conf.rb
@@ -0,0 +1,2 @@
# This is just here to make the dynamic loader happy.
require "inspec/resources/rabbitmq_config.rb"
2 changes: 2 additions & 0 deletions lib/inspec/resources/runit_service.rb
@@ -0,0 +1,2 @@
# This is just here to make the dynamic loader happy.
require "inspec/resources/service"
2 changes: 2 additions & 0 deletions lib/inspec/resources/systemd_service.rb
@@ -0,0 +1,2 @@
# This is just here to make the dynamic loader happy.
require "inspec/resources/service"
2 changes: 2 additions & 0 deletions lib/inspec/resources/sysv_service.rb
@@ -0,0 +1,2 @@
# This is just here to make the dynamic loader happy.
require "inspec/resources/service"
2 changes: 2 additions & 0 deletions lib/inspec/resources/upstart_service.rb
@@ -0,0 +1,2 @@
# This is just here to make the dynamic loader happy.
require "inspec/resources/service"
2 changes: 2 additions & 0 deletions lib/inspec/resources/windows_registry_key.rb
@@ -0,0 +1,2 @@
# This is just here to make the dynamic loader happy.
require "inspec/resources/registry_key.rb"

0 comments on commit d8e3975

Please sign in to comment.