comparison manifests/templates.pp @ 110:be2b30b17a4c puppet-3.6

Switch to PHP 7 from Webtatic FIXME: Might as well drop support for CentOS 6 as I don't test it any more
author IBBoard <dev@ibboard.co.uk>
date Tue, 31 May 2016 22:02:15 +0100
parents 5c6edfab92d6
children f0a86e36d33f
comparison
equal deleted inserted replaced
109:019968cfda31 110:be2b30b17a4c
184 source => 'puppet:///common/RPM-GPG-KEY-IBBoard-OBS', 184 source => 'puppet:///common/RPM-GPG-KEY-IBBoard-OBS',
185 before => YumRepo['ibboard'], 185 before => YumRepo['ibboard'],
186 } 186 }
187 yumrepo { 'webtatic': 187 yumrepo { 'webtatic':
188 mirrorlist => 'http://mirror.webtatic.com/yum/el$releasever/$basearch/mirrorlist', 188 mirrorlist => 'http://mirror.webtatic.com/yum/el$releasever/$basearch/mirrorlist',
189 descr => "Extra Packages for Enterprise Linux", 189 descr => "Webtatic Packages for Enterprise Linux",
190 enabled => 1, 190 enabled => 1,
191 failovermethod => 'priority', 191 failovermethod => 'priority',
192 gpgcheck => 1, 192 gpgcheck => 1,
193 gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-el7', 193 gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-el7',
194 } 194 }
361 default_owner => $defaultusers::default_user, 361 default_owner => $defaultusers::default_user,
362 default_group => $defaultusers::default_user, 362 default_group => $defaultusers::default_user,
363 default_tld => 'co.uk', 363 default_tld => 'co.uk',
364 default_extra_tlds => [ 'com' ], 364 default_extra_tlds => [ 'com' ],
365 } 365 }
366
367 # Use Webtatic's PHP 7
368 $php_suffix = '70w'
369
366 #Configure the PHP version to use 370 #Configure the PHP version to use
367 class { 'website::php': 371 class { 'website::php':
368 suffix => '55ibb', #IBBoard's rebuild of Webtatic's PHP 5.5 372 suffix => $php_suffix,
369 opcache => 'opcache', 373 opcache => 'opcache',
370 extras => [ 'process' ], 374 extras => [ 'process' ],
371 } 375 }
372 376
373 #Setup MySQL, using (private) templates to make sure that we set non-std passwords and a default user 377 #Setup MySQL, using (private) templates to make sure that we set non-std passwords and a default user
393 class { 'website::mysql': 397 class { 'website::mysql':
394 mysqluser => template('defaultusers/mysql-user'), 398 mysqluser => template('defaultusers/mysql-user'),
395 mysqlpassword => template('defaultusers/mysql-password'), 399 mysqlpassword => template('defaultusers/mysql-password'),
396 mysqlprefix => $mysqlpackage, 400 mysqlprefix => $mysqlpackage,
397 mysqlsuffix => $mysqlsuffix, 401 mysqlsuffix => $mysqlsuffix,
398 phpsuffix => '55ibb', 402 phpsuffix => $php_suffix,
399 phpmysqlsuffix => 'nd' 403 phpmysqlsuffix => 'nd'
400 } 404 }
401 } 405 }
402 406
403 class ibboardvpsnode ( 407 class ibboardvpsnode (