공부하는 Study
[chef] chef-client -z (chef-zero)
뭉탁거림
2015. 9. 4. 15:22
chef-zero—a simple, in-memory version of the Chef serverprovided by Chef DK—when converging the local workstation.
chef-client -z -o cookbook
chef-client -z -o chef-zero
옵션 설명 : -z(chef-zero) -o (recipe override)
chef workstation에서 chef-server 없이 local 모드로 cookbook를 적용할 수 있는 옵션이다
chef 서버 없이 간단히 적용할 수 있는 장점이 있음
chef-zero는 chef-client 구동 이후에 json 파일형식으로 node 디렉토리에 node에 대한 attributes 파일을 생성한다(참고)