Skip to content

include logrotate instead of logrotate::base in logrotate::file #1

@lorello

Description

@lorello

Using logrotate::file without explicit inclusion of logrotate class fails with the error:

warning: Scope(Class[Logrotate::Base]): Could not look up qualified variable 'logrotate::olddir_group'; class logrotate has not been evaluated at /tmp/vagrant-puppet-3/modules-0/logrotate/manifests/base.pp:50

Changing the include at the top of file define from logrotate::base to logrotate make it works.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions