{"id":24483700,"url":"https://github.com/jay7x/puppet-sf_facts","last_synced_at":"2026-05-20T06:07:43.386Z","repository":{"id":273481685,"uuid":"919859379","full_name":"jay7x/puppet-sf_facts","owner":"jay7x","description":"Puppet facts related to Solarflare NICs","archived":false,"fork":false,"pushed_at":"2025-01-21T06:30:36.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T20:54:50.124Z","etag":null,"topics":["puppet","puppet-module","solarflare"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jay7x.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-21T06:26:24.000Z","updated_at":"2025-01-21T06:30:39.000Z","dependencies_parsed_at":"2025-01-21T07:36:48.187Z","dependency_job_id":null,"html_url":"https://github.com/jay7x/puppet-sf_facts","commit_stats":null,"previous_names":["jay7x/puppet-sf_facts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay7x%2Fpuppet-sf_facts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay7x%2Fpuppet-sf_facts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay7x%2Fpuppet-sf_facts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay7x%2Fpuppet-sf_facts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jay7x","download_url":"https://codeload.github.com/jay7x/puppet-sf_facts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243641239,"owners_count":20323814,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["puppet","puppet-module","solarflare"],"created_at":"2025-01-21T13:12:03.962Z","updated_at":"2026-05-20T06:07:43.381Z","avatar_url":"https://github.com/jay7x.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Puppet sf_facts module\n\n## Table of Contents\n\n1. [Description](#description)\n1. [Usage - Configuration options and additional functionality](#usage)\n1. [Limitations - OS compatibility, etc.](#limitations)\n1. [Links](#links)\n\n## Description\n\nThis module contains Puppet facts related to Solarflare NICs.\n\n### solarflare_adapters fact\n\nThis fact returns Array of physical adapters, each containing an Array of network interface names, belonging to the physical card.\n\n## Usage\n\nPlease find some examples below.\n\n### Example 1. Check if there is any Solarflare NIC in the system\n\n```puppet\nif $facts.get('solarflare_adapters', []).length \u003e 0 {\n  # Do something if any Solarflare NIC is present\n}\n```\n\n### Example 2. Configure each Solarflare NIC using `jay7x/sfboot` module\n\n```puppet\n$facts.get('solarflare_adapters', []).each |$nics| {\n  # Use 1st NIC of a physical card to configure global parameters\n  sfboot_adapter { $nics[0]:\n    boot_image       =\u003e 'all',\n    firmware_variant =\u003e 'full-feature',\n  }\n\n  # Configure per-NIC parameters\n  $nics.each |$nic| {\n    sfboot_adapter { $nic:\n      boot_type =\u003e 'pxe',\n      switch_mode =\u003e 'partitioning-with-sriov',\n      vf_count =\u003e 2,\n      pf_count =\u003e 4,\n      pf_vlans =\u003e [0, 100, 110, 120],\n    }\n  }\n}\n```\n\n## Limitations\n\n* This module was tested on the following OS list at the moment:\n  * Debian 11, 12\n\n## Links\n\n* `jay7x/sfboot` module: \u003chttps://github.com/jay7x/puppet-sfboot\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjay7x%2Fpuppet-sf_facts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjay7x%2Fpuppet-sf_facts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjay7x%2Fpuppet-sf_facts/lists"}