diff options
Diffstat (limited to 'modules/planet/manifests/init.pp')
-rw-r--r-- | modules/planet/manifests/init.pp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/modules/planet/manifests/init.pp b/modules/planet/manifests/init.pp index b9cfb29f..a5e930b5 100644 --- a/modules/planet/manifests/init.pp +++ b/modules/planet/manifests/init.pp @@ -7,8 +7,8 @@ class planet { } $vhost = "planet.$::domain" - $location = "/var/www/vhosts/$vhost" - + $location = "/var/www/vhosts/${vhost}" + include apache::mod::php include apache::mod::deflate @@ -17,7 +17,7 @@ class planet { content => template('planet/planet_vhosts.conf') } - apache::vhost::base { "ssl_$vhost": + apache::vhost::base { "ssl_${vhost}": use_ssl => true, vhost => $vhost, location => $location, @@ -32,27 +32,27 @@ class planet { ensure => directory, } - file { "$location/index.php": + file { "${location}/index.php": content => template('planet/index.php') } - package { ['php-iconv']: } + package { ['php-iconv']: } class files_backup inherits base { - file { "/var/lib/planet/backup": + file { '/var/lib/planet/backup': ensure => directory, } - mga_common::local_script { "backup_planet-files.sh": - content => template("blog/backup_planet-files.sh") + mga_common::local_script { 'backup_planet-files.sh': + content => template('blog/backup_planet-files.sh') } cron { "Backup files (planet)": - user => root, - hour => '23', - minute => '42', - command => "/usr/local/bin/backup_planet-files.sh", - require => [File["backup_planet-files"]], + user => root, + hour => '23', + minute => '42', + command => '/usr/local/bin/backup_planet-files.sh', + require => [File['backup_planet-files']], } } } |