Report abuse

standard virtual define and usage

define yep($arg) {
    notify { "$name: $arg": }
}

@yep { test1: arg => maybe }

realize Yep[test1]

Can/is this supposed this work?

define foo($arg1, $arg2) {
   notify { "$name: [$arg1, $arg2]": }
}

@foo { test1: 
   arg1 => bar,
   arg2 => baz,
}

realize Foo[test1]