Displaying 1 result from an estimated 1 matches for "callcustomfunction".
2007 Nov 19
1
Targets firing out of order
...d}")
> }
> ...
> default: {
> $bind = "cn=def,dc=site,dc=com"
> notice ("Target 1 - bind - ${bind}")
> }
> }
>
> notice ("Target 2 - bind - ${bind}")
> $ldapParams = callCustomFunction($bind)
>
> exec { authconfig:
> command => "authconfig ${ldapParams}"
> path => ["/usr/sbin"]
> }
> }
>
> So when this class is used, Target 2 fires before Target 1 is called.
> As a result, the call to callCustomFunction...