Permalink
Browse files

Proper use of asterisk::source definition

  • Loading branch information...
1 parent 507e0d1 commit c1dccb96deb65bd673d0df18f41e01da326b7904 @bklang bklang committed Sep 26, 2012
Showing with 2 additions and 4 deletions.
  1. +1 −1 manifests/init.pp
  2. +1 −3 manifests/source.pp
View
@@ -3,7 +3,7 @@
$version = '1.8',
) {
- asterisk::source($packager)
+ asterisk::source { $packager: }
package { "asterisk-${version}":
# TODO Support CentOS/RedHat
View
@@ -1,6 +1,4 @@
-define asterisk::source(
- $packager = 'digium',
-) {
+define asterisk::source() {
case $operatingsystem {
debian, ubuntu: {
case $packager {

0 comments on commit c1dccb9

Please sign in to comment.