"Puppet"의 두 판 사이의 차이

오픈소스 비즈니스 컨설팅
둘러보기로 가기 검색하러 가기
잔글
잔글
42번째 줄: 42번째 줄:
 
== 참고 문헌 ==
 
== 참고 문헌 ==
  
*http://theplmingspace.tistory.com/791
+
*[http://theplmingspace.tistory.com/791 http://theplmingspace.tistory.com/791]
 
*[[Chef|Chef]] : [http://www.opscode.com/chef/ http://www.opscode.com/chef/]
 
*[[Chef|Chef]] : [http://www.opscode.com/chef/ http://www.opscode.com/chef/]
 
*[[Capistrano|Capistrano]] : [https://github.com/capistrano/capistrano/wiki https://github.com/capistrano/capistrano/wiki]
 
*[[Capistrano|Capistrano]] : [https://github.com/capistrano/capistrano/wiki https://github.com/capistrano/capistrano/wiki]
51번째 줄: 51번째 줄:
 
*[http://en.wikipedia.org/wiki/Puppet_(software) http://en.wikipedia.org/wiki/Puppet_(software)]
 
*[http://en.wikipedia.org/wiki/Puppet_(software) http://en.wikipedia.org/wiki/Puppet_(software)]
 
*[http://en.wikipedia.org/wiki/Puppet_Labs http://en.wikipedia.org/wiki/Puppet_Labs]
 
*[http://en.wikipedia.org/wiki/Puppet_Labs http://en.wikipedia.org/wiki/Puppet_Labs]
 +
*http://www.programkr.com/blog/MEDMyEDMwYTw.html
 
[[Category:DevOps|Category:DevOps]]
 
[[Category:DevOps|Category:DevOps]]

2015년 7월 29일 (수) 15:05 판

배포 자동화 솔루션인 puppet를 정리 합니다.

Puppet 개요

puppet-%EC%84%A4%EC%B9%981.png

Puppet 용어

용어 상세
Manifest 환경 설정 정보 파일
vim /etc/puppet/environments/production/manifests/~.pp
node "~" {
    Resource { "~":
        attr => value,
    }
​}
  • Resource : File, Service, Package, User 등
  • Class : Resource의 집합으로 modules 폴더 아래에 ~.pp 형태로 저장

puppet  apply  ~.pp      #--- local machine에서 실행, node 부분이 없음
puppet  agent  --test     #--- agent에서 실행

Catalog Manifest가 컴파일되어 Puppet Agent에서 전달되는 정보
puppetmasterd 관리 서버에서 실행되는 데몬
puppetd 각 서버에서 실행되는 데몬

참고 문헌