Commit 63b86d634722b350eab50e767d5a01f97257aaab

Authored by root ago
1 parent 2828e041d5
Exists in master

install script doesn't ask 'y/n' anymore. after setup it. setup the repository

Showing 2 changed files with 11 additions and 1 deletions Side-by-side Diff

1 1 #!/bin/sh
2 2 rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm
3   -yum install puppet
  3 +yum -y install puppet
4 4 puppet resource package puppet ensure=latest
5 5  
6 6 puppet module install jfryman-nginx
manifests/bmt-server.pp View file @ 63b86d6
... ... @@ -26,5 +26,15 @@
26 26 file { '/etc/php.ini':
27 27 source => 'puppet:///modules/php/php.ini.webserver.dev',
28 28 }
  29 +
  30 + file { '/var/www':
  31 + ensure => 'directory'
  32 + }
  33 +
  34 + vcsrepo { '/var/www':
  35 + ensure => present,
  36 + provider => git,
  37 + source => 'ssh://git@gitlab.pikicast.com:2222/piki_devops/pikicast-android.git'
  38 + }
29 39 }