Skip to content

Commit a1ced94

Browse files
committed
fix the identity function to not collide with other facts
1 parent 3d48837 commit a1ced94

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/facter/rhsm_environment.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module Facter::Util::RhsmEnvironment
2828

2929
module_function
3030

31-
def rhsm_identity
31+
def rhsm_environment
3232
value = nil
3333
begin
3434
output = Facter::Core::Execution.execute(
@@ -59,7 +59,7 @@ def rhsm_identity
5959
:rhsm_environment, environments::CACHE_TTL, environments::CACHE_FILE
6060
)
6161
end
62-
Facter.add(:rhsm_identity) do
62+
Facter.add(:rhsm_environment) do
6363
setcode do
6464
if !cache
6565
environment = environments.rhsm_environment

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "waveclaw-subscription_manager",
3-
"version": "5.6.3",
3+
"version": "5.6.5",
44
"author": "JD Powell <waveclaw@hotmail.com>",
55
"summary": "Manage Katello or Satellite registrations.",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)