Bug 1390671 - obfuscate and obfuscate_hostname parameters misspelled
Summary: obfuscate and obfuscate_hostname parameters misspelled
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: RH Cloud - Insights
Version: 6.2.3
Hardware: All
OS: All
medium
medium vote
Target Milestone: Unspecified
Assignee: Adam Price
QA Contact: Bryan Kearney
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-01 16:12 UTC by Tasos Papaioannou
Modified: 2019-09-25 20:35 UTC (History)
5 users (show)

Fixed In Version: rubygem-foreman-redhat_access-2.0.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 13:43:34 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.