voxpupuli/puppet-php

Hiera: Session/session.save_path Change will not recognized

kaiszy opened this issue · 0 comments

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,
}