{"id":23333953,"url":"https://github.com/schultyy/sokan","last_synced_at":"2025-09-04T04:45:43.920Z","repository":{"id":36195751,"uuid":"40499969","full_name":"schultyy/Sokan","owner":"schultyy","description":"Provisioning with Rust","archived":false,"fork":false,"pushed_at":"2015-10-18T21:19:26.000Z","size":374,"stargazers_count":4,"open_issues_count":8,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T23:35:32.555Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/schultyy.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-08-10T18:52:29.000Z","updated_at":"2017-02-05T13:49:40.000Z","dependencies_parsed_at":"2022-08-02T15:30:25.053Z","dependency_job_id":null,"html_url":"https://github.com/schultyy/Sokan","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/schultyy%2FSokan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schultyy%2FSokan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schultyy%2FSokan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schultyy%2FSokan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schultyy","download_url":"https://codeload.github.com/schultyy/Sokan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648975,"owners_count":20972945,"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":[],"created_at":"2024-12-21T00:33:03.290Z","updated_at":"2025-04-07T12:13:42.866Z","avatar_url":"https://github.com/schultyy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/schultyy/Sokan.svg?branch=master)](https://travis-ci.org/schultyy/Sokan)\n\n# Sokan\nSokan is a provisioner written in Rust. It consumes ordinary Yaml configuration files.\n\n## Configuration\nYou are able to specify the following things in the configuration:\n- A hostname\n- A package install command\n- packages to be installed\n- Files which shall be placed at certains paths with specified content\n\n### Host names\n\nYou are able to set a host name for your machine. The host name is set via the top level key:\n\n```yaml\nsrv01:\n  #...\n```\n\nSetting it is optional. If you don't want to specify it, leave it to `default`.\n\n```yaml\ndefault:\n  #...\n```\n\n### Packages\n\nVia the `packages` key you're able to specify which packages should be installed on your machine:\n\n```yaml\ndefault:\n  - packages:\n    - vim\n    - git\n    - postgres\n```\n\n### Files\n\nIt is also possible to specify a list of files which need to be present:\n\n```yaml\ndefault:\n  - files:\n    -\n      path: '/home/john/.gitconfig`\n      content: \u003e\n\n        [core]\n\t        excludesfile = ~/.gitignore\n\t        editor = vim\n\n        [push]\n\t        default = simple\n```\n\nA file is only written if not existant or if already there, the content is not equal to the one to be written.\n\n## Apply configuration to machine\n\nYou need to pass the configuration file as an argument:\n\n```bash\n$ sokan default.yaml\n```\n\n## Requirements\n\nThis requires Rust 1.2 for building the `sokan` executable.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschultyy%2Fsokan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschultyy%2Fsokan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschultyy%2Fsokan/lists"}