voxpupuli / voxpupuli/puppet-php
Hiera: Session/session.save_path Change will not recognized
Nobody has claimed this yet.
- Dominant language
- Puppet
- Stars
- 86
- Forks
- 264
- Avg merge
- 29m
- Merged PRs (30d)
- 1
Description
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 7.12.1
- Ruby: ruby 2.7.3p183
- Distribution: Ubuntu 20.04
- Module version: 8.1.1
How to reproduce (e.g Puppet code you use)
I changed the in my hiera
settings.Session/session.save_path
to another value.
What are you seeing
When i run puppet agent on a node i see there there are no changes.
What behaviour did you expect instead
When i change the session-Var it should be recognized and be deployed by puppet agent
Output log
Info: Using environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for xxx
Info: Applying configuration version '1665248799'
Notice: Applied catalog in 6.82 seconds
Any additional information you'd like to impart
I use the following code:
lookup_options:
my_service::php_config:
merge:
strategy: deep
merge_hash_arrays: true
my_service::sessions_save_path: "\"/tmp/myfunnysavepath\""
'Session/session.save_path': "%{lookup('my_service::sessions_save_path')}"
class { '::php':
* => $php_hiera_config,
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by reproducing the Hiera change with Puppet 7.12.1, Ruby 2.7.3, Ubuntu 20.04, and module 8.1.1, then trace how the PHP configuration hash is applied. Done means a changed Session/session.save_path value is detected and deployed by puppet agent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100