Knife-Plugin Zero
Run chef-client at remote node with chef-zero(local-mode) via HTTP over SSH port forwarding.
-
It doesn't have to transport cookbooks via scp,rsync or something.
-
It can collect node object into local chef-repo.
-
It supports all functions of chef(C/S).
-
You have only to manage one chef-repo.
Requirements
- Ruby 2.5 or later
- Must support AllowTcpForward
2.0.0 or later
- Chef Infra Client 15.x for bootstraping.
1.x
- Chef < 15.0
Installation
Relocated: Installation | Knife-Zero Document
Usage
** ZERO COMMANDS **
knife zero apply QUERY (options)
knife zero bootstrap [SSH_USER@]FQDN (options)
knife zero chef_client QUERY (options) | It's same as converge
knife zero converge QUERY (options)
knife zero diagnose # show configuration from file
Configuration file
Relocated: Configuration | Knife-Zero Document
knife zero bootstrap | converge | diagnose
Relocated
(Hint)Suppress Automatic Attributes
Relocated: Configuration | Knife-Zero Document
To include from other knife plugins
Relocated: To include from other knife plugins | Knife-Zero Document
Contributing
- Fork it ( https://github.com/[my-github-username]/knife-zero/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
License
Licensed under the Apache License, Version 2.0.