Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hiera: Session/session.save_path Change will not recognized #670

Open
kaiszy opened this issue Oct 8, 2022 · 0 comments
Open

Hiera: Session/session.save_path Change will not recognized #670

kaiszy opened this issue Oct 8, 2022 · 0 comments

Comments

@kaiszy
Copy link

kaiszy commented Oct 8, 2022

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,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant