-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the Bug
When using mod 'puppetlabs-yumrepo_core', '3.0.0' catalog compilation fails
Expected Behavior
When i use mod 'puppetlabs-yumrepo_core', '2.1.0' in my Puppetfile all is ok. When i switch to
mod 'puppetlabs-yumrepo_core', '3.0.0'
catalog compilation fails.
Steps to Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
Environment
- Version ['puppetlabs-yumrepo_core', '3.0.0']
- Platform [RHEL8, RHEL9]
- Puppetserver is 7.X
Additional Context
template-rhel8 /etc/yum.repos.d # puppet agent -t --noop
Info: Using environment 'manage_microsoft_defender_repo_file_via_puppet'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Notice: Requesting catalog from PUPPET_SERVER_FQDN:8140 (X.X.X.X)
Notice: Catalog compiled by PUPPET_SERVER_FQDN
Error: Could not autoload puppet/provider/yumrepo/inifile: /opt/puppetlabs/puppet/cache/lib/puppet/provider/yumrepo/inifile.rb:253: syntax error, unexpected ','
{ file:, current_mode: '%03o' % curre...
^
/opt/puppetlabs/puppet/cache/lib/puppet/provider/yumrepo/inifile.rb:253: syntax error, unexpected ',', expecting `end'
...nt_mode: '%03o' % current_mode, target_mode: '%03o' % target...
... ^
/opt/puppetlabs/puppet/cache/lib/puppet/provider/yumrepo/inifile.rb:253: syntax error, unexpected '}', expecting `end'
...et_mode: '%03o' % target_mode }
... ^
/opt/puppetlabs/puppet/cache/lib/puppet/provider/yumrepo/inifile.rb:408: syntax error, unexpected `end', expecting end-of-input
Error: Could not autoload puppet/type/yumrepo: Could not autoload puppet/provider/yumrepo/inifile: /opt/puppetlabs/puppet/cache/lib/puppet/provider/yumrepo/inifile.rb:253: syntax error, unexpected ','
{ file:, current_mode: '%03o' % curre...
^
/opt/puppetlabs/puppet/cache/lib/puppet/provider/yumrepo/inifile.rb:253: syntax error, unexpected ',', expecting `end'
...nt_mode: '%03o' % current_mode, target_mode: '%03o' % target...
... ^
/opt/puppetlabs/puppet/cache/lib/puppet/provider/yumrepo/inifile.rb:253: syntax error, unexpected '}', expecting `end'
...et_mode: '%03o' % target_mode }
... ^
/opt/puppetlabs/puppet/cache/lib/puppet/provider/yumrepo/inifile.rb:408: syntax error, unexpected `end', expecting end-of-input
Error: Failed to apply catalog: Could not autoload puppet/type/yumrepo: Could not autoload puppet/provider/yumrepo/inifile: /opt/puppetlabs/puppet/cache/lib/puppet/provider/yumrepo/inifile.rb:253: syntax error, unexpected ','
{ file:, current_mode: '%03o' % curre...
^
/opt/puppetlabs/puppet/cache/lib/puppet/provider/yumrepo/inifile.rb:253: syntax error, unexpected ',', expecting `end'
...nt_mode: '%03o' % current_mode, target_mode: '%03o' % target...
... ^
/opt/puppetlabs/puppet/cache/lib/puppet/provider/yumrepo/inifile.rb:253: syntax error, unexpected '}', expecting `end'
...et_mode: '%03o' % target_mode }
... ^
/opt/puppetlabs/puppet/cache/lib/puppet/provider/yumrepo/inifile.rb:408: syntax error, unexpected `end', expecting end-of-input
template-rhel8 /etc/yum.repos.d #
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working