Bug 1390671

Summary: obfuscate and obfuscate_hostname parameters misspelled
Product: Red Hat Satellite Reporter: Tasos Papaioannou <tpapaioa>
Component: RH Cloud - InsightsAssignee: Adam Price <adprice>
Status: CLOSED CURRENTRELEASE QA Contact: Bryan Kearney <bkearney>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.3CC: bbuckingham, bkearney, ehelms, jcallaha, lphiri
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: rubygem-foreman-redhat_access-2.0.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-13 13:43:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tasos Papaioannou 2016-11-01 16:12:46 UTC
Description of problem:

The access_insights_client puppet class misspells the obfuscate and obfuscate_hostname parameters:

/usr/share/puppet/modules/access_insights_client/manifests/init.pp:

class access_insights_client(
    $log_level = undef,
    $auto_config = 'True',
    $authmethod = undef,
    $username = undef,
    $password = undef,
    $base_url = undef,
    $proxy = undef,
    $cert_verify = undef,
    $gpg = undef,
    $auto_update = undef,
    $obsfucate = undef,
    $obsfucate_hostname = undef,
    $upload_schedule = undef,
){

Compare to the template where they are actually used to populate redhat-access-insights.conf:

/usr/share/puppet/modules/access_insights_client/templates/redhat-access-insights.conf.erb:

<%- if @obfuscate -%>
obfuscate=<%= @obfuscate %>
<%- end -%>

<%- if @obfuscate_hostname -%>
obfuscate_hostname=<%= @obfuscate_hostname %>
<%- end -%>


Version-Release number of selected component (if applicable):

tfm-rubygem-foreman-redhat_access-1.0.13-1.el7sat.noarch

How reproducible:



Steps to Reproduce:
1.)
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 Lindani Phiri 2017-05-09 18:27:35 UTC
Fixed in 6.3 build

Comment 5 Bryan Kearney 2017-08-02 14:06:04 UTC
Verified.
Version Tested:
Satellite-6.3 Snap 9

[root@sat63-qa-rhel7 log]# cat /usr/share/puppet/modules/access_insights_client/manifests/init.pp | grep obsfucate
[root@sat63-qa-rhel7 log]# 


Visual inspection shows that the typo has been fixed.

tfm-rubygem-redhat_access_lib-1.0.7-1.el7sat.noarch
redhat-access-insights-puppet-0.0.9-1.el7sat.noarch
tfm-rubygem-foreman-redhat_access-2.0.3-1.el7sat.noarch
satellite-6.3.0-16.0.beta.el7sat.noarch
satellite-cli-6.3.0-16.0.beta.el7sat.noarch
tfm-rubygem-foreman_theme_satellite-1.0.4-1.el7sat.noarch
satellite-installer-6.3.0.2-1.beta.el7sat.noarch