packer-serverspec-example

(★ 95)

Using Serverspec tests to verify images built using Packer

  • .gitignore
  • Gemfile
  • Gemfile.lock
  • hiera.yaml
  • LICENSE
  • Puppetfile
  • Puppetfile.lock
  • README.md
  • template.json
  • wercker.yml

# 설치 가이드

1. 코드 내려받기
git clone https://github.com/garethr/packer-serverspec-example

깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.

cd packer-serverspec-example

방금 내려받은 프로젝트 폴더 안으로 이동합니다.

2. Ruby

쉬움 추천
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • Ruby bundle 명령어를 쓰려면 Ruby가 필요합니다.
bundle install

Gemfile에 명시된 루비 라이브러리를 설치합니다.

bundle exec librarian-puppet install

이 명령어를 터미널에 그대로 입력해 실행하세요.

bundle install이 에러 없이 끝나면 README에 안내된 실행 명령어(예: rails server)로 마저 실행해보세요.

이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.

// repository documentation