{"id":15167140,"url":"https://github.com/iamseth/pepper","last_synced_at":"2025-10-25T11:31:34.048Z","repository":{"id":51680072,"uuid":"42324205","full_name":"iamseth/pepper","owner":"iamseth","description":"A CLI front-end the salt-api written in Go.","archived":false,"fork":false,"pushed_at":"2017-12-16T20:09:32.000Z","size":6,"stargazers_count":14,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T07:04:27.621Z","etag":null,"topics":["cli","pepper","salt","saltstack"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/iamseth.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":"2015-09-11T18:01:37.000Z","updated_at":"2024-10-18T10:53:40.000Z","dependencies_parsed_at":"2022-08-03T08:31:07.724Z","dependency_job_id":null,"html_url":"https://github.com/iamseth/pepper","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamseth%2Fpepper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamseth%2Fpepper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamseth%2Fpepper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamseth%2Fpepper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamseth","download_url":"https://codeload.github.com/iamseth/pepper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238128558,"owners_count":19421054,"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":["cli","pepper","salt","saltstack"],"created_at":"2024-09-27T05:40:36.408Z","updated_at":"2025-10-25T11:31:28.745Z","avatar_url":"https://github.com/iamseth.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pepper\n\nPepper is a small CLI tool written in Go to run Salt commands against the HTTP API. It's very thin and there's almost no logic to the script.\n\nBoth PAM and LDAP auth methods are supported.\n\n## Installation\n\n```bash\ngo get github.com/iamseth/pepper\ngo install github.com/iamseth/pepper\n```\n\n## Usage\n\n```bash\nNAME:\n   pepper - pepper \u003ctarget\u003e \u003cfunction\u003e [ARGUMENTS ...]\n\nUSAGE:\n   pepper [global options] command [command options] [arguments...]\n\nVERSION:\n   0.1.0\n\nCOMMANDS:\n   help, h\tShows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --hostname, -H \tSalt API hostname. Should include http[s]//. [$SALT_HOST]\n   --username, -u \tSalt API username. [$SALT_USER]\n   --password, -p \tSalt API password. [$SALT_PASSWORD]\n   --auth, -a \"ldap\"\tSalt authentication method. [$SALT_AUTH]\n   --help, -h\t\tshow help\n   --version, -v\tprint the version\n```\n\n## Examples\n```bash\npepper -H https://saltmaster -u salt_user -p password -a ldap '*' test.ping\n```\nOr, if you set the following environment variables:\n```bash\n$SALT_USER\n$SALT_HOST\n$SALT_AUTH\n$SALT_PASSWORD\n```\nyou can just do the following:\n```bash\n# Ping all your hosts\npepper '*' test.ping\n\n# Restart Apache on your web servers\npepper 'web*' cmd.run 'service httpd restart'\n\n# Run a highstate on your Redis boxes\npepper 'redis*' state.highstate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamseth%2Fpepper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamseth%2Fpepper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamseth%2Fpepper/lists"}