{"id":17250269,"url":"https://github.com/sorah/hocho","last_synced_at":"2025-08-21T05:32:07.156Z","repository":{"id":55446813,"uuid":"49826986","full_name":"sorah/hocho","owner":"sorah","description":"Hocho: Run Itamae easily with host inventory","archived":false,"fork":false,"pushed_at":"2024-04-23T11:06:27.000Z","size":95,"stargazers_count":41,"open_issues_count":3,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-27T21:45:25.190Z","etag":null,"topics":["hocho","infrastructure-as-code","itamae","mitamae","orchestration"],"latest_commit_sha":null,"homepage":"","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/sorah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-17T17:09:39.000Z","updated_at":"2025-03-10T01:53:54.000Z","dependencies_parsed_at":"2022-08-15T00:30:47.058Z","dependency_job_id":null,"html_url":"https://github.com/sorah/hocho","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/sorah/hocho","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorah%2Fhocho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorah%2Fhocho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorah%2Fhocho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorah%2Fhocho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sorah","download_url":"https://codeload.github.com/sorah/hocho/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorah%2Fhocho/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271103107,"owners_count":24699642,"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-08-19T02:00:09.176Z","response_time":63,"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":["hocho","infrastructure-as-code","itamae","mitamae","orchestration"],"created_at":"2024-10-15T06:46:43.240Z","updated_at":"2025-08-21T05:32:06.910Z","avatar_url":"https://github.com/sorah.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hocho: an itamae wrapper\n\nHocho is a wrapper of the provisioning tool [itamae](https://github.com/itamae-kitchen/itamae).\n\n## Features\n\n- Drivers\n  - `itamae ssh` support\n  - remote `itamae local` support on rsync+bundler\n  - remote `mitamae` support\n- Simple pluggable host inventory, discovery\n\n## Installation\n\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'hocho'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install hocho\n\n## Usage\n\n``` yaml\n# hocho.yml\ninventory_providers:\n  file:\n    path: './hosts'\n\nproperty_providers:\n  ## Provide default values to host properties (reverse_merge).\n  - add_default:\n      properties:\n        blah: blahblah\n        # preferred_driver: mitamae\n        attributes:\n          node_attributes_goes_here: hello\n\n  ## Run ruby script to mutate host properties\n  - ruby_script:\n      name: name-for-your-convenience # optional\n      script: 'host.properties[:hello] = Time.now.xmlschema'\n    ## or \n    # file: path/to/script.rb\n\n# driver_options:\n#   mitamae:\n#     mitamae_prepare_script: 'wget -O /usr/local/bin/mitamae https://...'\n```\n\n``` yaml\n# ./hosts/test.yml\ntest.example.org:\n  # ssh_options:\n  #   user: ...\n  properties:\n    # preferred_driver: bundler\n    # preferred_driver: mitamae\n    attributes:\n      node_attributes_goes_here: hello\n    run_list:\n      - roles/app/default.rb\n```\n\n```\n$ hocho list\n$ hocho show test.example.org\n$ hocho apply test.example.org\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hocho.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsorah%2Fhocho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsorah%2Fhocho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsorah%2Fhocho/lists"}