Windows External Facts

Good Day All,
Not understanding something here. This JSON data appears in Foreman when I place the JSON file in the facter.d folder on Windows with no problems and saved with notepad via UTF8 no BOM:

{
“actor”: {
“name”: “Tom Cruise”,
“age”: 56,
“Born At”: “Syracuse, NY”,
“Birthdate”: “July 3 1962”,
“photo”: “https://jsonformatter.org/img/tom-cruise.jpg
}
}

However when I save this JSON data into a JSON file at the same windows location in facter.d , the data does NOT appear in Foreman:

{
“software”: {
“package2”: " Tools for .Net 3.5",
“package3”: “64 Bit HP BiDi Channel Components Installer”,
“package4”: “Action1 Agent”,
“package5”: “Active Directory Authentication Library for SQL Server”,
“package6”: “Administrative Templates (.admx) for Windows 10 November 2021 Update”,
“package7”: “Adobe Acrobat (64-bit)”,
“package8”: “Adobe Refresh Manager”,
“package9”: “Asure ID”,
“package10”: “AutoHotkey 1.1.34.04”,
“package11”: “AWS Plug-In for Veeam Backup & Replication”,
“package12”: “AWS Plug-in UI Extension for Veeam Backup & Replication”,
“package13”: “CDBurnerXP”,
“package14”: “Check MK Agent 2.1”,
“package15”: “ConnectWise Automate Control Center”,
“package16”: “ConnectWise Automate Remote Agent”,
“package17”: “ConnectWise Manage Client”,
“package18”: “ConnectWiseChat”,
“package19”: “DefaultPackMSI”,
“package20”: “Definition Update for Microsoft Office 2013 (KB3115404) 64-Bit Edition”,
“package21”: “Dell OS Recovery Tool”,
“package22”: “DTC1250e Card Printer”,
“package23”: “Enterprise Mode Site List Manager”,
“package24”: “EntraPass web”,
“package25”: “exacqVision Client (x64)”,
“package26”: “FileZilla Client 3.46.3”,
“package27”: “FortiClient”,
“package28”: “FortiInsight”,
“package29”: “Fortinet Endpoint Detection and Response Platform”,
“package30”: “FortiSIEM Log Agent”,
“package31”: “FSMLogAgent”,
“package32”: “Google Chrome”,
“package33”: “Google Cloud Platform Plug-In for Veeam Backup & Replication”,
“package34”: “Google Cloud Platform Plug-In UI extension for Veeam Backup & Replication”,
“package35”: “GoTo Opener”,
“package36”: “HindaAppAutoUpdate”,
“package37”: “HPE MyRoom”,
“package38”: “Intel(R) Processor Graphics”,
“package39”: “Java SE Development Kit 8 Update 211 (64-bit)”,
“package40”: “KACE Agent”,
“package41”: “KeePass Password Safe 2.52”,
“package42”: “Kiwi SyslogGen”,
“package43”: “Log Parser 2.2”,
“package44”: “MagSwipeCfg”,
“package45”: “Maxx Audio Installer (x64)”,
“package46”: “Microsoft .NET Framework 4 Multi-Targeting Pack”,
“package47”: “Microsoft .NET Framework 4.5 Multi-Targeting Pack”,
“package48”: “Microsoft .NET Framework 4.5.1 Multi-Targeting Pack”,
“package49”: “Microsoft .NET Framework 4.5.1 Multi-Targeting Pack (ENU)”,
“package50”: “Microsoft .NET Framework 4.5.1 SDK”,
“package51”: “Microsoft .NET Framework 4.5.2 Multi-Targeting Pack”,
“package52”: “Microsoft .NET Framework 4.5.2 Multi-Targeting Pack (ENU)”,
“package53”: “Microsoft 365 Apps for enterprise - en-us”,
“package54”: “Microsoft Analysis Services OLE DB Provider”,
“package55”: “Microsoft ASP.NET MVC 2”,
“package56”: “Microsoft Azure Plug-In for Veeam Backup & Replication”,
“package57”: “Microsoft Azure Plug-in UI Extension for Veeam Backup & Replication”,
“package58”: “Microsoft Build Tools 14.0 (amd64)”,
“package59”: “Microsoft Build Tools 14.0 (x86)”,
“package60”: “Microsoft Build Tools Language Resources 14.0 (amd64)”,
“package61”: “Microsoft Build Tools Language Resources 14.0 (x86)”,
“package62”: “Microsoft Edge”,
“package63”: “Microsoft Edge Update”,
“package64”: “Microsoft Edge WebView2 Runtime”,
“package65”: “Microsoft Help Viewer 2.2”,
“package66”: “Microsoft ODBC Driver 13 for SQL Server”,
“package67”: “Microsoft Office 32-bit Components 2013”,
“package68”: “Microsoft Office OSM MUI (English) 2013”,
“package69”: “Microsoft Office Proofing (English) 2013”,
“package70”: “Microsoft Office Proofing Tools 2013 - English”,
“package71”: “Microsoft Office Proofing Tools 2013 - Español”,
“package72”: “Microsoft Office Shared 32-bit MUI (English) 2013”,
“package73”: “Microsoft Office Shared MUI (English) 2013”,
“package74”: “Microsoft Office Shared Setup Metadata MUI (English) 2013”,
“package75”: “Microsoft OneDrive”,
“package76”: “Microsoft Report Viewer 2015 Runtime”,
“package77”: “Microsoft Search in Bing”,
“package78”: “Microsoft SQL Server 2012 Native Client”,
“package79”: “Microsoft SQL Server 2014 Management Objects”,
“package80”: “Microsoft SQL Server 2014 Management Objects (x64)”,
“package81”: “Microsoft SQL Server 2017”,
“package82”: “Microsoft SQL Server 2017 Policies”,
“package83”: “Microsoft SQL Server 2017 T-SQL Language Service”,
“package84”: “Microsoft SQL Server Data-Tier Application Framework (x86)”,
“package85”: “Microsoft SQL Server Management Studio - 17.8.1”,
“package86”: “Microsoft System CLR Types for SQL Server 2014”,
“package87”: “Microsoft System CLR Types for SQL Server 2017”,
“package88”: “Microsoft Update Health Tools”,
“package89”: “Microsoft Visio MUI (English) 2013”,
“package90”: “Microsoft Visio Standard 2013”,
“package91”: “Microsoft Visual C++ 2005 Redistributable”,
“package92”: “Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161”,
“package93”: “Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219”,
“package94”: “Microsoft Visual C++ 2010 x86 Redistributable - 10.0.40219”,
“package95”: “Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.61030”,
“package96”: “Microsoft Visual C++ 2012 x86 Additional Runtime - 11.0.61030”,
“package97”: “Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.61030”,
“package98”: “Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.30501”,
“package99”: “Microsoft Visual C++ 2013 x64 Debug Runtime - 12.0.21005”,
“package100”: “Microsoft Visual C++ 2013 x86 Additional Runtime - 12.0.21005”,
“package101”: “Microsoft Visual C++ 2013 x86 Debug Runtime - 12.0.21005”,
“package102”: “Microsoft Visual C++ 2013 x86 Minimum Runtime - 12.0.21005”,
“package103”: “Microsoft Visual C++ 2015 x64 Debug Runtime - 14.0.23026”,
“package104”: “Microsoft Visual C++ 2015 x86 Debug Runtime - 14.0.23026”,
“package105”: “Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.32.31332”,
“package106”: “Microsoft Visual C++ 2015-2022 Redistributable (x86) - 14.32.31332”,
“package107”: “Microsoft Visual C++ 2022 X64 Additional Runtime - 14.32.31332”,
“package108”: “Microsoft Visual C++ 2022 X64 Minimum Runtime - 14.32.31332”,
“package109”: “Microsoft Visual C++ 2022 X86 Additional Runtime - 14.32.31332”,
“package110”: “Microsoft Visual C++ 2022 X86 Minimum Runtime - 14.32.31332”,
“package111”: “Microsoft Visual Studio 2010 Tools for Office Runtime (x64)”,
“package112”: “Microsoft Visual Studio 2015 Shell (Isolated)”,
“package113”: “Microsoft Visual Studio 2015 Shell (Isolated) Resources”,
“package114”: “Microsoft Visual Studio 2015 Shell (Minimum)”,
“package115”: “Microsoft Visual Studio 2015 Shell (Minimum) Interop Assemblies”,
“package116”: “Microsoft Visual Studio 2015 Shell (Minimum) Resources”,
“package117”: “Microsoft Visual Studio 2015 XAML Designer”,
“package118”: “Microsoft Visual Studio 2015 XAML Designer - ENU”,
“package119”: “Microsoft Visual Studio Services Hub”,
“package120”: “Microsoft Visual Studio Tools for Applications 2015”,
“package121”: “Microsoft Visual Studio Tools for Applications 2015 Finalizer”,
“package122”: “Microsoft Visual Studio Tools for Applications 2015 Language Support”,
“package123”: “Microsoft Visual Studio Tools for Applications 2015 Language Support - ENU Language Pack”,
“package124”: “Microsoft Visual Studio Tools for Applications 2015 Language Support Finalizer”,
“package125”: “Microsoft Visual Studio Tools for Applications 2015 x64 Hosting Support”,
“package126”: “Microsoft Visual Studio Tools for Applications 2015 x86 Hosting Support”,
“package127”: “Mimecast for Outlook 64-bit”,
“package128”: “Mozilla Firefox (x64 en-US)”,
“package129”: “Mozilla Maintenance Service”,
“package130”: “MySQL Connector/ODBC 3.51”,
“package131”: “Nessus Agent (x64)”,
“package132”: “Netwrix Account Lockout Examiner”,
“package133”: “Nmap 7.93”,
“package134”: “Notepad++ (64-bit x64)”,
“package135”: “Npcap”,
“package136”: “Office 16 Click-to-Run Extensibility Component”,
“package137”: “Office 16 Click-to-Run Licensing Component”,
“package138”: “Opera Stable 93.0.4585.70”,
“package139”: “Outils de vérification linguistique 2013 de Microsoft Office - Français”,
“package140”: “PDQ Deploy”,
“package141”: “PowerISO”,
“package142”: “Print2Fax”,
“package143”: “Print2Fax Printer”,
“package144”: “Print2Fax Printer Driver”,
“package145”: “Product Improvement Study for HP LaserJet Pro M404-M405”,
“package146”: “Puppet Agent (64-bit)”,
“package147”: “Puppet Bolt”,
“package148”: “PuTTY release 0.77 (64-bit)”,
“package149”: “Realtek High Definition Audio Driver”,
“package150”: “Remote Desktop Connection Manager”,
“package151”: “Roslyn Language Services - x86”,
“package152”: “RVTools”,
“package153”: “ScreenConnect Client (76e76d3f62c08b7d)”,
“package154”: “Security Update for Microsoft Access 2013 (KB4484527) 64-Bit Edition”,
“package155”: “Security Update for Microsoft Excel 2013 (KB5002275) 64-Bit Edition”,
“package156”: “Security Update for Microsoft Office 2013 (KB3039798) 64-Bit Edition”,
“package157”: “Security Update for Microsoft Office 2013 (KB3178643) 64-Bit Edition”,
“package158”: “Security Update for Microsoft Office 2013 (KB3191875) 64-Bit Edition”,
“package159”: “Security Update for Microsoft Office 2013 (KB3213564) 64-Bit Edition”,
“package160”: “Security Update for Microsoft Office 2013 (KB4011580) 64-Bit Edition”,
“package161”: “Security Update for Microsoft Office 2013 (KB4018332) 64-Bit Edition”,
“package162”: “Security Update for Microsoft Office 2013 (KB4022188) 64-Bit Edition”,
“package163”: “Security Update for Microsoft Office 2013 (KB4022189) 64-Bit Edition”,
“package164”: “Security Update for Microsoft Office 2013 (KB4462142) 64-Bit Edition”,
“package165”: “Security Update for Microsoft Office 2013 (KB4462205) 64-Bit Edition”,
“package166”: “Security Update for Microsoft Office 2013 (KB4464542) 64-Bit Edition”,
“package167”: “Security Update for Microsoft Office 2013 (KB4484108) 64-Bit Edition”,
“package168”: “Security Update for Microsoft Office 2013 (KB5002279) 64-Bit Edition”,
“package169”: “Security Update for Microsoft Outlook 2013 (KB5001990) 64-Bit Edition”,
“package170”: “Security Update for Microsoft PowerPoint 2013 (KB4493227) 64-Bit Edition”,
“package171”: “Security Update for Microsoft Project 2013 (KB4484450) 64-Bit Edition”,
“package172”: “Security Update for Microsoft Publisher 2013 (KB4484347) 64-Bit Edition”,
“package173”: “Security Update for Microsoft Visio 2013 (KB5002017) 64-Bit Edition”,
“package174”: “Security Update for Microsoft Word 2013 (KB5002217) 64-Bit Edition”,
“package175”: “Service Pack 1 for Microsoft Office 2013 (KB2850036) 64-Bit Edition”,
“package176”: “SolarWinds Wake On LAN”,
“package177”: “SQL Server 2017 Batch Parser”,
“package178”: “SQL Server 2017 Client Tools Extensions”,
“package179”: “SQL Server 2017 Common Files”,
“package180”: “SQL Server 2017 Connection Info”,
“package181”: “SQL Server 2017 DMF”,
“package182”: “SQL Server 2017 Integration Services Scale Out Management Portal”,
“package183”: “SQL Server 2017 Management Studio Extensions”,
“package184”: “SQL Server 2017 Shared Management Objects”,
“package185”: “SQL Server 2017 Shared Management Objects Extensions”,
“package186”: “SQL Server 2017 SQL Diagnostics”,
“package187”: “SQL Server Management Studio”,
“package188”: “SQL Server Management Studio for Analysis Services”,
“package189”: “SQL Server Management Studio for Reporting Services”,
“package190”: “SSMS Post Install Tasks”,
“package191”: “Teams Machine-Wide Installer”,
“package192”: “Update for (KB2504637)”,
“package193”: “Update for Microsoft InfoPath 2013 (KB3114946) 64-Bit Edition”,
“package194”: “Update for Microsoft Office 2013 (KB2760344) 64-Bit Edition”,
“package195”: “Update for Microsoft Office 2013 (KB2899522) 64-Bit Edition”,
“package196”: “Update for Microsoft Office 2013 (KB3023049) 64-Bit Edition”,
“package197”: “Update for Microsoft Office 2013 (KB3023052) 64-Bit Edition”,
“package198”: “Update for Microsoft Office 2013 (KB3039701) 64-Bit Edition”,
“package199”: “Update for Microsoft Office 2013 (KB3039720) 64-Bit Edition”,
“package200”: “Update for Microsoft Office 2013 (KB3039756) 64-Bit Edition”,
“package201”: “Update for Microsoft Office 2013 (KB3039766) 64-Bit Edition”,
“package202”: “Update for Microsoft Office 2013 (KB3039778) 64-Bit Edition”,
“package203”: “Update for Microsoft Office 2013 (KB3085565) 64-Bit Edition”,
“package204”: “Update for Microsoft Office 2013 (KB3085587) 64-Bit Edition”,
“package205”: “Update for Microsoft Office 2013 (KB3101503) 64-Bit Edition”,
“package206”: “Update for Microsoft Office 2013 (KB3114488) 64-Bit Edition”,
“package207”: “Update for Microsoft Office 2013 (KB3114499) 64-Bit Edition”,
“package208”: “Update for Microsoft Office 2013 (KB3172533) 64-Bit Edition”,
“package209”: “Update for Microsoft Office 2013 (KB3172545) 64-Bit Edition”,
“package210”: “Update for Microsoft Office 2013 (KB3178640) 64-Bit Edition”,
“package211”: “Update for Microsoft Office 2013 (KB4011155) 64-Bit Edition”,
“package212”: “Update for Microsoft Office 2013 (KB4011677) 64-Bit Edition”,
“package213”: “Update for Microsoft Office 2013 (KB4018378) 64-Bit Edition”,
“package214”: “Update for Microsoft Office 2013 (KB4022212) 64-Bit Edition”,
“package215”: “Update for Microsoft Office 2013 (KB5002151) 64-Bit Edition”,
“package216”: “Update for Microsoft Office 2013 (KB5002274) 64-Bit Edition”,
“package217”: “Update for Microsoft OneDrive for Business (KB4022226) 64-Bit Edition”,
“package218”: “Update for Microsoft OneNote 2013 (KB4011281) 64-Bit Edition”,
“package219”: “Update for Microsoft Visio Viewer 2013 (KB2817301) 64-Bit Edition”,
“package220”: “Update for Microsoft Visual Studio 2015 (KB3095681)”,
“package221”: “Update for Skype for Business 2015 (KB4484289) 64-Bit Edition”,
“package222”: “Veeam Backup & Replication”,
“package223”: “Veeam Backup & Replication Console”,
“package224”: “Veeam Backup Transport”,
“package225”: “Veeam Explorer for Microsoft Active Directory”,
“package226”: “Veeam Explorer for Microsoft Exchange”,
“package227”: “Veeam Explorer for Microsoft SharePoint”,
“package228”: “Veeam Explorer for Microsoft SQL Server”,
“package229”: “Veeam Explorer for Microsoft Teams”,
“package230”: “Veeam Explorer for Oracle”,
“package231”: “Veeam Mount Service”,
“package232”: “Velocity Console”,
“package233”: “Visual C++ 2008 x86 Runtime - (v9.0.30729)”,
“package234”: “Visual C++ 2008 x86 Runtime - v9.0.30729.01”,
“package235”: “Visual Studio 2015 Prerequisites”,
“package236”: “Visual Studio 2015 Prerequisites - ENU Language Pack”,
“package237”: “VMware Remote Console”,
“package238”: “VNC Viewer 6.20.529”,
“package239”: “WAPTAgent 2.2.2.12388”,
“package240”: “Wazuh Agent”,
“package241”: “WE Connect”,
“package242”: “Webex”,
“package243”: “WinCDEmu”,
“package244”: “Windows 10 Update Assistant”,
“package245”: “Windows Admin Center”,
“package246”: “WinRAR 5.91 (64-bit)”,
“package247”: “WinSCP 5.17.6”,
“package248”: “Zebra Setup Utilities”,
“package249”: “ZebraNet Bridge 1_2_6”
}
}

Can someone assist?

Thanks
Steve

Hi and welcome to the forums :slight_smile:
Just a few ideas, not actually sure what might be the problem (I assume you are using Puppet and are referring to Puppet facts, if it’s ansible I have no clue about that):

  • If you run facter -p from the commandline, does that show you the “software” data? If not, does it display any errors?
  • Has Puppet run after you placed the facts file? I.e. has a report of a Puppet run been submitted to Foreman? Facts are only uploaded with each Puppet run, afaik.