When using a package resource and the nim provider, the resource cannot be applied to a NIM master. The error received is:
Error: Failed to apply catalog: Execution of '/usr/sbin/nimclient -o showres -a installp_flags=L -a resource=lpp_resource' returned 147: 0042-147 nimclient: this command may not be executed on a NIM master. |
This can be reproduced with a simple resource such as:
package { $install_pkgs: |
ensure => latest, |
provider => nim, |
} |
On a NIM master you cannot use the nimclient command, the command would have to be:
/usr/sbin/nim -o showres -a installp_flags=L lpp_resource |
|