-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
6.15.3
-
False
-
Moderate
-
sat-rocket
-
None
-
None
-
None
-
Manual
Description of problem:
When upgrading Satellite 6.15, Puppet-agent 7 rpm is replacing the custom "/etc/puppetlabs/code/environments/production/hiera.yaml" file with its default one. This breaks all puppet agents in the production environments if hiera.yaml is used as data lookup for the puppet.
How reproducible:
Easy
Is this issue a regression from an earlier version:
Yes
Steps to Reproduce:
1. Install a Satellite 6.14.
2. Write a puppet module that uses hiera for data lookup. See. https://www.puppet.com/docs/puppet/6/hiera_quick#hiera_quick
3. Define one or more data source in "/etc/puppetlabs/code/environments/production/hiera.yaml"
4. Set some class parameters in the defined data source.
5. In Satellite web ui, import the class into Satellite and add it to the Satellite host.
6. Make sure "puppet agent -t" can be run successfully.
7. Upgrade Satellite to 6.15
8. Run "puppet agent -t"
Actual behavior:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Class[Test::Something]:
expects a value for parameter 'foo'
expects a value for parameter 'bar' on node satellite.example.com
Expected behavior:
No error{}
- duplicates
-
SAT-21746 puppet-agent rpm package does not classify important configuration files properly
- New