aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-19 20:36:17 +0000
committerMichael Scherer <misc@mageia.org>2012-03-19 20:36:17 +0000
commit61b0413a7b81511a451e0c814d98042117334977 (patch)
treedebea05fc9bced818e8a7996969bfa537ac0b952
parent2a3a8f246d96425f5a23d7a17680878d5bf8d712 (diff)
downloadpuppet-61b0413a7b81511a451e0c814d98042117334977.tar
puppet-61b0413a7b81511a451e0c814d98042117334977.tar.gz
puppet-61b0413a7b81511a451e0c814d98042117334977.tar.bz2
puppet-61b0413a7b81511a451e0c814d98042117334977.tar.xz
puppet-61b0413a7b81511a451e0c814d98042117334977.zip
style cleaning of the module
-rw-r--r--modules/puppet/manifests/thin.pp18
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/puppet/manifests/thin.pp b/modules/puppet/manifests/thin.pp
index 1ed6dbdf..32fb498c 100644
--- a/modules/puppet/manifests/thin.pp
+++ b/modules/puppet/manifests/thin.pp
@@ -5,17 +5,17 @@ class puppet::thin {
include apache::mod_proxy
apache::vhost_other_app { 'puppet_proxy':
- vhost_file => 'puppet/apache_proxy_vhost.conf',
+ vhost_file => 'puppet/apache_proxy_vhost.conf',
}
-
- apache::config { "/etc/httpd/conf.d/puppet.conf":
- content => "Listen 8140",
+
+ apache::config { '/etc/httpd/conf.d/puppet.conf':
+ content => 'Listen 8140',
}
$service_name = 'thin_puppet_master'
file { '/etc/puppet/thin.yml':
- content => template('puppet/thin.yml'),
- notify => Service[$service_name],
+ content => template('puppet/thin.yml'),
+ notify => Service[$service_name],
}
file { '/usr/local/share/puppet.config.ru':
@@ -24,9 +24,9 @@ class puppet::thin {
service { $service_name:
provider => base,
- require => [Package['ruby-thin'],
- File['/etc/puppet/thin.yml'],
- File['/usr/local/share/puppet.config.ru']],
+ require => [ Package['ruby-thin'],
+ File['/etc/puppet/thin.yml'],
+ File['/usr/local/share/puppet.config.ru']],
start => 'thin -C /etc/puppet/thin.yml start',
stop => 'thin -C /etc/puppet/thin.yml stop',
restart => 'thin -C /etc/puppet/thin.yml restart',