diff --git a/manifests/osfamily/solaris.pp b/manifests/osfamily/solaris.pp index dd45cb36..60afc2d2 100644 --- a/manifests/osfamily/solaris.pp +++ b/manifests/osfamily/solaris.pp @@ -107,6 +107,12 @@ logoutput => 'on_failure', refreshonly => true, } + ~> exec { 'puppet_agent add publisher to pkg': + command => "pkg set-publisher -e -g ${pkgrepo_dir} ${publisher}", + path => '/bin:/usr/bin:/sbin:/usr/sbin', + logoutput => 'on_failure', + refreshonly => true, + } # Make sure the pkg publishers are all available. Broken # publisher entries will stop the installation process. # This must happen before removing any packages.