Skip to content

Commit

Permalink
Fix $ports_file reference in apache::listen.
Browse files Browse the repository at this point in the history
This was pointing at ::params::ports_file instead of the main class,
causing relocation of the ports file to fail.
  • Loading branch information
Ashley Penney committed Dec 13, 2013
1 parent ee65f51 commit f2f22a2
Showing 1 changed file with 1 addition and 2 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'),
}
}

0 comments on commit f2f22a2

Please sign in to comment.