diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-12-26 22:06:20 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-12-26 22:06:20 -0200 |
commit | 2c8e38faeb24d51f082ea452b0e053be1fcb1779 (patch) | |
tree | 6f27ef4a088c8c04683622d8761751fffea472c5 | |
parent | 632109899c623dc5f47ed0dbb51efa5f009f4e34 (diff) | |
download | puppet-apache-2c8e38faeb24d51f082ea452b0e053be1fcb1779.tar.gz puppet-apache-2c8e38faeb24d51f082ea452b0e053be1fcb1779.tar.bz2 |
Using custom instead of source
-rw-r--r-- | manifests/init.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index b3d2381..ec592e7 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -85,13 +85,13 @@ class apache { define site($ensure = present, $docroot = false, $redirect = false, $redirect_match = false, $protocol = 'http', $server_alias = false, $use = false, $ticket = false, - $source = false) { + $custom = false) { - case $source { + case $custom { true: { file { "${apache2_sites}-available/$title": ensure => $ensure, - source => "puppet://$fileserver/files/apache/$title", + source => "puppet://$server/files/apache/$title", owner => root, group => root, mode => 0644, |