[Satellite 6] - logrotate module shows dependency issue when trying to deploy it via Satellite
Issue
- If you are using the logrotate module from Puppet Forge Labs it will show dependency issue when trying override a rule via Satellite
# puppet agent -t
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/staging_http_get.rb
Info: Loading facts in /var/lib/puppet/lib/facter/staging_windir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/es_facts.rb
Info: Caching catalog for rhel-test.example.com
Warning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.
(at /usr/share/ruby/vendor_ruby/puppet/type.rb:816:in `set_default')
Info: Applying configuration version '1437671662'
Error: Could not apply complete catalog: Found 1 dependency cycle:
(File[/etc/logrotate.d/hourly/httpd] => Logrotate::Rule[httpd] => Class[Logrotate] => File[/etc/logrotate.d/hourly/httpd])
Cycle graph written to /var/lib/puppet/state/graphs/cycles.dot.
Environment
- Red Hat Satellite 6.0.8
- Red Hat Satellite 6.1 beta
- Puppet Module Logrotate 1.2.7 version
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.