Skip to content

Error deferred function unknown with the last Commit e567dbc #578

@Jerem59

Description

@Jerem59

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

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