Skip to content

Commit

Permalink
Merge pull request #1954 from smortex/silent-solaris-zone-on-freebsd
Browse files Browse the repository at this point in the history
(maint) Silent solaris_zones facts on FreeBSD
  • Loading branch information
oanatmaria authored Jul 7, 2020
2 parents 35ce8e2 + db0756f commit 5cbe8f7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lib/facts/freebsd/solaris_zones/current.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# frozen_string_literal: true

module Facts
module Freebsd
module SolarisZones
class Current
FACT_NAME = 'solaris_zones.current'

def call_the_resolver
[]
end
end
end
end
end
15 changes: 15 additions & 0 deletions lib/facts/freebsd/solaris_zones/zone.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# frozen_string_literal: true

module Facts
module Freebsd
module SolarisZones
class Zone
FACT_NAME = 'solaris_zones.zones'

def call_the_resolver
[]
end
end
end
end
end

0 comments on commit 5cbe8f7

Please sign in to comment.