Mercurial > repos > other > Puppet
comparison modules/website/manifests/init.pp @ 115:b35a9df52965 puppet-3.6
Make sure that custom config comes before site configs
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 28 Jun 2016 20:36:42 +0100 |
parents | 00453eecda4c |
children | 95502bafeaa3 |
comparison
equal
deleted
inserted
replaced
114:951cd2b66abd | 115:b35a9df52965 |
---|---|
66 ensure => present, | 66 ensure => present, |
67 source => "puppet:///modules/website/datetime.ini", | 67 source => "puppet:///modules/website/datetime.ini", |
68 notify => Service['httpd']; | 68 notify => Service['httpd']; |
69 } | 69 } |
70 file { '/etc/httpd/conf.d/zzz-custom.conf': | 70 file { '/etc/httpd/conf.d/zzz-custom.conf': |
71 ensure => absent, | |
72 notify => Service['httpd']; | |
73 } | |
74 file { '/etc/httpd/conf.d/zzz-0-custom.conf': | |
71 ensure => present, | 75 ensure => present, |
72 source => "puppet:///modules/website/zzz-custom.conf", | 76 source => "puppet:///modules/website/zzz-0-custom.conf", |
73 notify => Service['httpd']; | 77 notify => Service['httpd']; |
74 } | 78 } |
75 file { '/etc/httpd/conf.d/php.conf': | 79 file { '/etc/httpd/conf.d/php.conf': |
76 ensure => present, | 80 ensure => present, |
77 source => "puppet:///modules/website/php.conf", | 81 source => "puppet:///modules/website/php.conf", |