puppetlabs-tomcat
puppetlabs-tomcat copied to clipboard
Error deferred function unknown with the last Commit e567dbc
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