{"id":14965374,"url":"https://github.com/mostafahussein/hubot-salt","last_synced_at":"2025-07-22T12:34:21.044Z","repository":{"id":57269258,"uuid":"67380080","full_name":"mostafahussein/hubot-salt","owner":"mostafahussein","description":"A hubot script for managing salt minions","archived":false,"fork":false,"pushed_at":"2016-09-07T04:15:21.000Z","size":6,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-24T10:49:11.095Z","etag":null,"topics":["chatops","hubot-salt","hubot-script","hubot-scripts","managing-salt-minions","minion","minions","saltstack"],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","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/mostafahussein.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":"2016-09-05T02:04:48.000Z","updated_at":"2023-06-21T00:26:12.000Z","dependencies_parsed_at":"2022-09-02T09:50:59.601Z","dependency_job_id":null,"html_url":"https://github.com/mostafahussein/hubot-salt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mostafahussein/hubot-salt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostafahussein%2Fhubot-salt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostafahussein%2Fhubot-salt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostafahussein%2Fhubot-salt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostafahussein%2Fhubot-salt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mostafahussein","download_url":"https://codeload.github.com/mostafahussein/hubot-salt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostafahussein%2Fhubot-salt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266496438,"owners_count":23938712,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["chatops","hubot-salt","hubot-script","hubot-scripts","managing-salt-minions","minion","minions","saltstack"],"created_at":"2024-09-24T13:34:39.502Z","updated_at":"2025-07-22T12:34:21.000Z","avatar_url":"https://github.com/mostafahussein.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hubot-salt\n\n[![Version npm](https://img.shields.io/npm/v/hubot-salt.svg?style=flat-square)](https://www.npmjs.com/package/hubot-salt)\n[![npm Downloads](https://img.shields.io/npm/dm/hubot-salt.svg?style=flat-square)](https://www.npmjs.com/package/hubot-salt)\n\nA hubot script for managing salt minions\n\nSee [`src/salt.coffee`](src/salt.coffee) for full documentation.\n\n## Installation\n\nMake sure that you have [Salt REST CHERRYPY](https://docs.saltstack.com/en/latest/ref/netapi/all/salt.netapi.rest_cherrypy.html) up and running first.\n\nIn hubot project repo, run:\n\n`npm install hubot-salt --save`\n\nThen add **hubot-salt** to your `external-scripts.json`:\n\n```json\n[\"hubot-salt\"]\n```\n\n## Sample Interaction\n\n### Ping a minion\n\n```\nuser1\u003e\u003e hubot salt ping minion_001\nhubot\u003e\u003e {\n  \"return\": [\n    {\n      \"minion_001\": true\n    }\n  ]\n}\n```\n\n### Execute a state on a minion\n\n```\nuser1\u003e\u003e hubot, salt apply screen-formula to minion_001\nhubot\u003e\u003e {\n  \"return\": [\n    {\n      \"minion_001\": {\n        \"pkg_|-install_screen_|-screen_|-installed\": {\n          \"comment\": \"Package screen is already installed\",\n          \"name\": \"screen\",\n          \"start_time\": \"05:55:03.835201\",\n          \"result\": true,\n          \"duration\": 28456.433,\n          \"__run_num__\": 0,\n          \"changes\": {}\n        }\n      }\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostafahussein%2Fhubot-salt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmostafahussein%2Fhubot-salt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostafahussein%2Fhubot-salt/lists"}