{"id":21670904,"url":"https://github.com/tkuchiki/ohai-plugin-amazon-linux","last_synced_at":"2026-04-29T01:03:21.371Z","repository":{"id":70076293,"uuid":"127224084","full_name":"tkuchiki/ohai-plugin-amazon-linux","owner":"tkuchiki","description":"Ohai plugin for Amazon Linux","archived":false,"fork":false,"pushed_at":"2018-03-29T03:12:12.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T09:11:08.587Z","etag":null,"topics":["amazon-linux","chef","ohai","plugin"],"latest_commit_sha":null,"homepage":null,"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/tkuchiki.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":"2018-03-29T02:13:16.000Z","updated_at":"2018-11-01T03:51:17.000Z","dependencies_parsed_at":"2023-03-20T09:01:33.096Z","dependency_job_id":null,"html_url":"https://github.com/tkuchiki/ohai-plugin-amazon-linux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkuchiki%2Fohai-plugin-amazon-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkuchiki%2Fohai-plugin-amazon-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkuchiki%2Fohai-plugin-amazon-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkuchiki%2Fohai-plugin-amazon-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkuchiki","download_url":"https://codeload.github.com/tkuchiki/ohai-plugin-amazon-linux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244574795,"owners_count":20474818,"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":["amazon-linux","chef","ohai","plugin"],"created_at":"2024-11-25T12:37:09.471Z","updated_at":"2026-04-29T01:03:16.351Z","avatar_url":"https://github.com/tkuchiki.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ohai-plugin-amazon-linux\n\nOhai plugin for Amazon Linux\n\n# Usage\n\n## ohai command\n\n```console\n# Amazon Linux 1\n$ ohai -d /path/to/plugin/dir | jq .amazon_linux\n{\n  \"major_version\": 1,\n  \"version\": \"2017.09\",\n  \"init_package\": \"init\"\n}\n\n# Amazon Linux 2\n$ ohai -d /path/to/plugin/dir | jq .amazon_linux\n{\n  \"major_version\": 2,\n  \"version\": \"2017.12\",\n  \"init_package\": \"systemd\"\n}\n```\n\n## chef\n\n```ruby\n# (client|knife|solo).rb\nOhai::Config[:plugin_path] \u003c\u003c '/path/to/plugins'\n```\n\n```ruby\n# in cookbook\nnode[:amazon_linux][:major_version]\nnode[:amazon_linux][:version]\nnode[:amazon_linux][:init_package]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkuchiki%2Fohai-plugin-amazon-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkuchiki%2Fohai-plugin-amazon-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkuchiki%2Fohai-plugin-amazon-linux/lists"}