meta-stx: re-name and re-org to align with upstream
[pti/rtp.git] / meta-starlingx / meta-stx-cloud / recipes-support / puppet / files / puppet-openstacklib / 0002-puppet-openstacklib-updates-for-poky-stx.patch
diff --git a/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppet-openstacklib/0002-puppet-openstacklib-updates-for-poky-stx.patch b/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppet-openstacklib/0002-puppet-openstacklib-updates-for-poky-stx.patch
new file mode 100644 (file)
index 0000000..3854aa1
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/lib/facter/os_package_type.rb b/lib/facter/os_package_type.rb
+index 134509e..adc39d9 100644
+--- a/lib/facter/os_package_type.rb
++++ b/lib/facter/os_package_type.rb
+@@ -24,6 +24,8 @@ Facter.add('os_package_type') do
+     when 'Debian'
+       if Facter.value(:operatingsystem) == 'Debian' then
+         'debian'
++      elsif Facter.value(:operatingsystem) == 'poky-stx' then
++        'poky'
+       else
+         'ubuntu'
+       end