Skip to content

Commit

Permalink
Merge pull request #532 from apenney/quick-fix
Browse files Browse the repository at this point in the history
Fix $ports_file reference in Namevirtualhost.
  • Loading branch information
hunner committed Dec 13, 2013
2 parents 3941bcb + f2f22a2 commit aa6d93a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions manifests/listen.pp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
define apache::listen {
$listen_addr_port = $name
include apache::params

# Template uses: $listen_addr_port
concat::fragment { "Listen ${listen_addr_port}":
target => $apache::params::ports_file,
target => $apache::ports_file,
content => template('apache/listen.erb'),
}
}
3 changes: 1 addition & 2 deletions manifests/namevirtualhost.pp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
define apache::namevirtualhost {
$addr_port = $name
include apache::params

# Template uses: $addr_port
concat::fragment { "NameVirtualHost ${addr_port}":
target => $apache::params::ports_file,
target => $apache::ports_file,
content => template('apache/namevirtualhost.erb'),
}
}

0 comments on commit aa6d93a

Please sign in to comment.