Skip to content

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

@kaiszy

Description

@kaiszy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions