Commit 19a319c4 authored by Yoshiharu Hirose's avatar Yoshiharu Hirose

Puppet設定修正: templatesではなくfiles配下に配置

parent 311f5835
......@@ -54,13 +54,13 @@ service { 'httpd':
}
file { '/etc/httpd/conf/httpd.conf':
ensure => file,
content => template('apache/httpd.conf'),
source => 'puppet:///modules/apache/httpd.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
file { '/etc/httpd/conf.d/vhost.conf':
ensure => file,
content => template('apache/vhosts.conf'),
source => 'puppet:///modules/apache/vhosts.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
......@@ -78,7 +78,7 @@ exec { 'php-xdebug':
}
file { '/etc/php.ini':
ensure => file,
content => template('apache/php.ini'),
source => 'puppet:///modules/apache/php.ini',
require => Package['php'],
notify => Service['httpd'],
}
......
......@@ -54,13 +54,13 @@ service { 'httpd':
}
file { '/etc/httpd/conf/httpd.conf':
ensure => file,
content => template('apache/httpd.conf'),
source => 'puppet:///modules/apache/httpd.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
file { '/etc/httpd/conf.d/vhost.conf':
ensure => file,
content => template('apache/vhosts.conf'),
source => 'puppet:///modules/apache/vhosts.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
......@@ -78,7 +78,7 @@ exec { 'php-xdebug':
}
file { '/etc/php.ini':
ensure => file,
content => template('apache/php.ini'),
source => 'puppet:///modules/apache/php.ini',
require => Package['php'],
notify => Service['httpd'],
}
......
......@@ -54,13 +54,13 @@ service { 'httpd':
}
file { '/etc/httpd/conf/httpd.conf':
ensure => file,
content => template('apache/httpd.conf'),
source => 'puppet:///modules/apache/httpd.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
file { '/etc/httpd/conf.d/vhost.conf':
ensure => file,
content => template('apache/vhosts.conf'),
source => 'puppet:///modules/apache/vhosts.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
......@@ -78,7 +78,7 @@ exec { 'php-xdebug':
}
file { '/etc/php.ini':
ensure => file,
content => template('apache/php.ini'),
source => 'puppet:///modules/apache/php.ini',
require => Package['php'],
notify => Service['httpd'],
}
......
......@@ -54,13 +54,13 @@ service { 'httpd':
}
file { '/etc/httpd/conf/httpd.conf':
ensure => file,
content => template('apache/httpd.conf'),
source => 'puppet:///modules/apache/httpd.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
file { '/etc/httpd/conf.d/vhost.conf':
ensure => file,
content => template('apache/vhosts.conf'),
source => 'puppet:///modules/apache/vhosts.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
......@@ -78,7 +78,7 @@ exec { 'php-xdebug':
}
file { '/etc/php.ini':
ensure => file,
content => template('apache/php.ini'),
source => 'puppet:///modules/apache/php.ini',
require => Package['php'],
notify => Service['httpd'],
}
......
......@@ -54,13 +54,13 @@ service { 'httpd':
}
file { '/etc/httpd/conf/httpd.conf':
ensure => file,
content => template('apache/httpd.conf'),
source => 'puppet:///modules/apache/httpd.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
file { '/etc/httpd/conf.d/vhost.conf':
ensure => file,
content => template('apache/vhosts.conf'),
source => 'puppet:///modules/apache/vhosts.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
......@@ -78,7 +78,7 @@ exec { 'php-xdebug':
}
file { '/etc/php.ini':
ensure => file,
content => template('apache/php.ini'),
source => 'puppet:///modules/apache/php.ini',
require => Package['php'],
notify => Service['httpd'],
}
......
......@@ -54,13 +54,13 @@ service { 'httpd':
}
file { '/etc/httpd/conf/httpd.conf':
ensure => file,
content => template('apache/httpd.conf'),
source => 'puppet:///modules/apache/httpd.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
file { '/etc/httpd/conf.d/vhost.conf':
ensure => file,
content => template('apache/vhosts.conf'),
source => 'puppet:///modules/apache/vhosts.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
......@@ -78,7 +78,7 @@ exec { 'php-xdebug':
}
file { '/etc/php.ini':
ensure => file,
content => template('apache/php.ini'),
source => 'puppet:///modules/apache/php.ini',
require => Package['php'],
notify => Service['httpd'],
}
......
......@@ -54,13 +54,13 @@ service { 'httpd':
}
file { '/etc/httpd/conf/httpd.conf':
ensure => file,
content => template('apache/httpd.conf'),
source => 'puppet:///modules/apache/httpd.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
file { '/etc/httpd/conf.d/vhost.conf':
ensure => file,
content => template('apache/vhosts.conf'),
source => 'puppet:///modules/apache/vhosts.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
......@@ -78,7 +78,7 @@ exec { 'php-xdebug':
}
file { '/etc/php.ini':
ensure => file,
content => template('apache/php.ini'),
source => 'puppet:///modules/apache/php.ini',
require => Package['php'],
notify => Service['httpd'],
}
......
......@@ -54,13 +54,13 @@ service { 'httpd':
}
file { '/etc/httpd/conf/httpd.conf':
ensure => file,
content => template('apache/httpd.conf'),
source => 'puppet:///modules/apache/httpd.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
file { '/etc/httpd/conf.d/vhost.conf':
ensure => file,
content => template('apache/vhosts.conf'),
source => 'puppet:///modules/apache/vhosts.conf',
require => Package['httpd'],
notify => Service['httpd'],
}
......@@ -78,7 +78,7 @@ exec { 'php-xdebug':
}
file { '/etc/php.ini':
ensure => file,
content => template('apache/php.ini'),
source => 'puppet:///modules/apache/php.ini',
require => Package['php'],
notify => Service['httpd'],
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment