puppetlabs-tomcat icon indicating copy to clipboard operation
puppetlabs-tomcat copied to clipboard

Error deferred function unknown with the last Commit e567dbc

Open Jerem59 opened this issue 8 months ago • 0 comments

Describe the Bug

Puppet run error: Error: /Stage[main]/Tomcatdeploy::Server/Tomcat::Config::Server::Tomcat_users[role1]/Augeas[/usr/share/tomcat9-tomcat_users-role-monrole-role1]: Could not evaluate: Unknown command Deferred

Expected Behavior

We use the puppet forge tomcat with a wrapper to specify the standard parameters and overloaded by hiera.

With the last commit, we have an error with deferred. => unknown function.

With another function using deferred puppet function, it's OK

I don't understand this message

Steps to Reproduce

Steps to reproduce the behavior: Create a simple pp file and class and declare this tomcat::config::server::tomcat_users { "role1": element_name => 'monrole', element => 'role', catalina_base => $catalina_base, require => Package[$tomcatpkg], }

Environment

  • puppet 7.26.0
  • RHEL 8.9

Jerem59 avatar Mar 18 '25 15:03 Jerem59