Commit e996d90c7af1231977568b1196076c436f501400

Authored by root ago
1 parent ae5dbd2d7e
Exists in master

debug apply is hidden. install.sh has separated from this project

Showing 4 changed files with 11 additions and 19 deletions Side-by-side Diff

  1 +#!/bin/sh
  2 +
  3 +puppet apply $1 --modulepath=/root/puppet/modules::/etc/puppet/modules --debug
1 1 Hello!
2 2  
3 3 This is Arnold(arnold@pikicast.com).
4   -
5 4 Deploy your server as you want with below steps.
6 5  
7   -1. install puppet
8   -$ sudo sh install.sh
9   -
10   -2. use it as many as you want in bin folder
  6 +1. use it as many as you want in bin folder
11 7 $ sudo sh papply.sh [manifest file name]
  8 +
  9 +samples:
  10 + setup bmt-server
  11 + $ sudo sh papply.sh manifests/bmt-server/site.pp
  12 +
  13 + deploy master latest branch code to bmt-server
  14 + $ sudo sh papply.sh manifests/
1   -#!/bin/sh
2   -rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm
3   -yum -y install puppet
4   -puppet resource package puppet ensure=latest
5   -puppet resource package hiera ensure=latest
6   -
7   -puppet module install puppetlabs-vcsrepo
8   -puppet module install puppetlabs-stdlib
9   -puppet module install puppetlabs-java
10   -puppet module install puppetlabs-firewall --version=1.1.2
11   -puppet module install maestrodev-maven
1   -#!/bin/sh
2   -
3   -puppet apply $1 --modulepath=/root/puppet/modules::/etc/puppet/modules --debug