git commit 명령으로 커밋합니다.
administrator@vmgate:~/code/environments/production$ git commit -m 'First commit'
[master (root-commit) 4fe8cdf] First commit
...
834 files changed, 87444 insertions(+)
create mode 100644 .gitignore
create mode 100644 environment.conf
create mode 100644 hiera.yaml
create mode 100644 manifests/site.pp
create mode 100644 manifests/site.pp.old
create mode 100644 modules/apache/.geppetto-rc.json
...
작업 디렉터리가 깨끗하게 빈 상태입니다.
administrator@vmgate:~/code/environments/production$ git status
On branch master
nothing to commit, working tree clean
새로운 모듈 fortunecow를 만들어 봅시다. ➊ 모듈 디렉터리와 ➋ 매니페스트 디렉터리를 생성하고 패키지 설치에 필요한 ➌ install.pp 매니페스트를 작성합니다.
administrator@vmgate:~/code/environments/production$ mkdir modules/fortunecow ➊ administrator@vmgate:~/code/environments/production$ mkdir modules/fortunecow/ manifests ➋ administrator@vmgate:~/code/environments/production$ vi modules/fortunecow/manifests/install.pp ➌