Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-cloud / recipes-support / puppet / files / puppet-puppi / puppet-puppi-updates-for-poky-stx.patch
1 diff --git a/manifests/extras.pp b/manifests/extras.pp
2 index 14f88a7..3d20115 100644
3 --- a/manifests/extras.pp
4 +++ b/manifests/extras.pp
5 @@ -107,6 +107,7 @@ class puppi::extras {
6    $packages_run = $::operatingsystem ? {
7      /(?i:RedHat|CentOS|Scientific|Amazon|Linux)/ => [ 'yum repolist' , 'rpm -qa' ] ,
8      /(?i:Debian|Ubuntu|Mint)/                    => [ 'apt-config dump' , 'apt-cache stats' , 'apt-key list' , 'dpkg -l' ],
9 +    /(?i:poky-stx)/                              => [ 'rpm -qa' ] ,
10      /(Solaris)/                                  => [ 'pkginfo' ],
11      /(Archlinux)/                                => [ 'pacman -Qet' ],
12      default                                      => [ 'echo' ],
13 diff --git a/manifests/params.pp b/manifests/params.pp
14 index e236fb4..9fc34a1 100644
15 --- a/manifests/params.pp
16 +++ b/manifests/params.pp
17 @@ -74,11 +74,13 @@ class puppi::params  {
18    $info_package_query = $::operatingsystem ? {
19      /(?i:RedHat|CentOS|Scientific|Amazon|Linux)/ => 'rpm -qi',
20      /(?i:Ubuntu|Debian|Mint)/          => 'dpkg -s',
21 +    /(?i:poky-stx)/                              => 'rpm -qi' ,
22      default                    => 'echo',
23    }
24    $info_package_list = $::operatingsystem ? {
25      /(?i:RedHat|CentOS|Scientific|Amazon|Linux)/ => 'rpm -ql',
26      /(?i:Ubuntu|Debian|Mint)/                    => 'dpkg -L',
27 +    /(?i:poky-stx)/                              => 'rpm -ql',
28      default                                      => 'echo',
29    }
30    $info_service_check = $::operatingsystem ? {