GitHub puppet-rhsm
Puppet module for registering systems with RedHat.

Repo Checks ( 11 of 14 successfull )
Metadata Valid
No translation
passed
Correct Puppet Version Range
Supported Puppet version range is %{PUPPET_SUPPORT_RANGE}
passed
With Puppet Version Range
Puppet version range is present in requirements in metadata.json
passed
With Operatingsystem Support
No translation
passed
Operatingsystems
No translation
passed
Supports Only Current Redhat
No translation
failed
Supports Latest Redhat
No translation
passed
In Modulesync Repo
Is listed as a module managed using modulesync_config
passed
Synced
Has a .msync.yml file
passed
Latest Modulesync
Has been synchronized with the latest tagged version of modulesync_config
failed
Has Modulesync
Is present in voxpupuli/modulesync_config/managed_modules.yml
passed
Released
Is in modulesync_config and in forge releases.
passed
Valid Sync File
If a (optional) sync file is present, it must not contain a `.travis.yml` entry.
failed
Reference Dot Md
The repository has a REFERENCE.md. It needs to be generated / puppet-strings documentation is missing.
passed

Open Pull Requests

Add package profile parameters
merge-conflicts

Pull Request (PR) description

  • add package profile parameters reportpackageprofile & packageprofileon_trans
  • fixes typo in my previous PR
Open PR in GitHub
modulesync 5.4.0
modulesync

modulesync 5.4.0

Open PR in GitHub
modulesync 9.1.0
modulesync

modulesync 9.1.0

Open PR in GitHub
updating path to prefer /sbin

<!--
Thank you for contributing to this project!

-->

Pull Request (PR) description

RHEL has a consolehelper based wrapper around subscription-manager at /bin/subscription-manager used for elevating permissions gracefully and interactively - something not available within a puppet run

The real subscription-manager binary is available at /sbin/subscription manager (or more correctly perhaps - /usr/sbin/subscription-manager

for some reason or another likely path ordering when running from within puppet the subscription-manager exec can fail with no output

when disabling the "Sensitive" around the exec you would get this error:


Notice: /Stage[main]/Rhsm/Exec[RHSM-register]/returns: Traceback (most recent call last):
Notice: /Stage[main]/Rhsm/Exec[RHSM-register]/returns: File "/bin/subscription-manager", line 9, in <module>
Notice: /Stage[main]/Rhsm/Exec[RHSM-register]/returns: load_entry_point('subscription-manager==1.24.51', 'console_scripts', 'subscription-manager')()
Notice: /Stage[main]/Rhsm/Exec[RHSM-register]/returns: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
Notice: /Stage[main]/Rhsm/Exec[RHSM-register]/returns: return get_distribution(dist).load_entry_point(group, name)
Notice: /Stage[main]/Rhsm/Exec[RHSM-register]/returns: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2565, in load_entry_point
Notice: /Stage[main]/Rhsm/Exec[RHSM-register]/returns: raise ImportError("Entry point %r not found" % ((group,name),))
Notice: /Stage[main]/Rhsm/Exec[RHSM-register]/returns: ImportError: Entry point ('console_scripts', 'subscription-manager') not found

which notes the use of /bin/subscription-manager - this PR explicitly sets the exec to use /sbin/subscription-manager for more reliability

This Pull Request (PR) fixes the following issues

none raised (yet)

Open PR in GitHub