Commit e17c2f1af9f49746a0fb320f92eb373a551b4394

Authored by root ago
1 parent c232957e05
Exists in master

puppet refers /etc/puppet/modules since now

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

1   -puppet apply manifests/bmt-server.pp --modulepath=/root/puppet/modules
  1 +hostname BMTPIKI-X-DB1
  2 +puppet apply manifests/bmt-server.pp --modulepath=/root/puppet/modules:/etc/puppet/modules --debug
... ... @@ -3,8 +3,6 @@
3 3 yum -y install puppet
4 4 puppet resource package puppet ensure=latest
5 5  
6   -puppet module install jfryman-nginx
7 6 puppet module install puppetlabs-vcsrepo
8 7 puppet module install puppetlabs-stdlib
9   -puppet module install puppetlabs-haproxy
manifests/bmt-server.pp View file @ e17c2f1
... ... @@ -46,5 +46,12 @@
46 46 ensure => present,
47 47 source => 'puppet:///modules/php/php.ini.webserver.dev',
48 48 }
  49 +
  50 + vcsrepo { '/tmp/puppet':
  51 + ensure => latest,
  52 + provider => git,
  53 + source => 'ssh://git@gitlab.pikicast.com:2222/piki_devops/puppet.git',
  54 + revision => 'master',
  55 + }
49 56 }
1 1 hostname KR-WEB-PROXY-01
2   -puppet apply manifests/web-proxy.pp --modulepath=/root/puppet/modules
  2 +puppet apply manifests/web-proxy.pp --modulepath=/root/puppet/modules::/etc/puppet/modules
1 1 hostname KR-WEB-01
2   -puppet apply manifests/web-server.pp --modulepath=/root/puppet/modules --debug
  2 +puppet apply manifests/web-server.pp --modulepath=/root/puppet/modules::/etc/puppet/modules --debug