{"id":46128499,"url":"https://github.com/melonsmasher/chef_profiled","last_synced_at":"2026-03-02T03:12:15.895Z","repository":{"id":55974870,"uuid":"173963288","full_name":"MelonSmasher/chef_profiled","owner":"MelonSmasher","description":"Generates profile.d scripts based on Chef attributes.","archived":false,"fork":false,"pushed_at":"2020-12-03T13:09:12.000Z","size":5,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-01T01:12:07.196Z","etag":null,"topics":["chef","chef-cookbook","chef-recipes","linux","profiled","script","unix","unix-like"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MelonSmasher.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}},"created_at":"2019-03-05T14:37:18.000Z","updated_at":"2023-08-01T01:12:07.197Z","dependencies_parsed_at":"2022-08-15T10:40:22.419Z","dependency_job_id":null,"html_url":"https://github.com/MelonSmasher/chef_profiled","commit_stats":null,"previous_names":[],"tags_count":3,"template":null,"template_full_name":null,"purl":"pkg:github/MelonSmasher/chef_profiled","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MelonSmasher%2Fchef_profiled","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MelonSmasher%2Fchef_profiled/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MelonSmasher%2Fchef_profiled/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MelonSmasher%2Fchef_profiled/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MelonSmasher","download_url":"https://codeload.github.com/MelonSmasher/chef_profiled/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MelonSmasher%2Fchef_profiled/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29991319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["chef","chef-cookbook","chef-recipes","linux","profiled","script","unix","unix-like"],"created_at":"2026-03-02T03:12:10.527Z","updated_at":"2026-03-02T03:12:15.889Z","avatar_url":"https://github.com/MelonSmasher.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chef_profiled\n\nManages profile.d scripts through Chef attributes.\n\n# Usage\n\n### chef_profiled::default\n\nJust include `chef_profiled::default` in your node's `run_list`:\n\n```json\n{\n  \"name\":\"my_node\",\n  \"run_list\": [\n    \"recipe[chef_profiled]\"\n  ]\n}\n```\n\n## Attributes \n\n##### Note: see `attributes/` for all attributes.\n\n### Scripts:\n\nAn array of script entries to place in /etc/profile.d. Each script should have an array of lines.\n\nDefault Value: \n\n- `[]`\n\nRuby usage:\n\n```ruby\nnode['chef_profiled']['scripts'] = [\n  'testscript' =\u003e [\n    'export SOMEVAR = \"SOMEVAL\";',\n    'export SOMEVAR2 = \"SOMEVAL2\";'\n  ]\n]\n```\n\nJSON usage:\n\n```json\n{\n  \"chef_profiled\": {\n    \"scripts\": {\n      \"testscript\": [\n        \"export SOMEVAR = \\\"SOMEVAL\\\";\",\n        \"export SOMEVAR2 = \\\"SOMEVAL2\\\";\"\n      ]\n    }\n  }\n}\n```\n\nBoth examples will create the following file: `/etc/profile.d/testscript.sh`:\n\n```bash\nexport SOMEVAR = \"SOMEVAL\";\nexport SOMEVAR2 = \"SOMEVAL2\";\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelonsmasher%2Fchef_profiled","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelonsmasher%2Fchef_profiled","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelonsmasher%2Fchef_profiled/lists"}