Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-cloud / recipes-support / puppet / files / puppet-dnsmasq / 0005-puppet-dnsmasq-updates-for-poky-stx.patch
1 diff --git a/packstack/puppet/modules/dnsmasq/manifests/params.pp b/packstack/puppet/modules/dnsmasq/manifests/params.pp
2 index 4d8e70a..b978224 100644
3 --- a/packstack/puppet/modules/dnsmasq/manifests/params.pp
4 +++ b/packstack/puppet/modules/dnsmasq/manifests/params.pp
5 @@ -38,7 +38,7 @@ class dnsmasq::params {
6  
7    $process_user = $::operatingsystem ? {
8      /(?i:Debian|Ubuntu|Mint)/ => 'dnsmasq',
9 -    /(?i:wrlinux)/            => 'root',
10 +    /(?i:wrlinux|poky-stx)/       => 'root',
11      default                   => 'nobody',
12    }
13  
14 @@ -63,7 +63,7 @@ class dnsmasq::params {
15    }
16  
17    $config_file_init = $::operatingsystem ? {
18 -    /(?i:Debian|Ubuntu|Mint|wrlinux)/ => '/etc/default/dnsmasq',
19 +    /(?i:Debian|Ubuntu|Mint|wrlinux|poky-stx)/ => '/etc/default/dnsmasq',
20      default                   => '/etc/sysconfig/dnsmasq',
21    }
22