Skip to content

Could not evaluate: Augeas didn't load /etc/rsyslog.conf with Rsyslog.lns #4

@aellert

Description

@aellert

I'm using Debian 7 and have this error with default augeas Debian packages :

Could not evaluate: Augeas didn't load /etc/rsyslog.conf with Rsyslog.lns

Package versions :
augeas-lenses 0.10.0-1
libaugeas-ruby 0.4.1-1.1
libaugeas-ruby1.9.1 0.4.1-1.1
libaugeas0 0.10.0-1

If I upgrade to wheezy-backports packages :
augeas-lenses 1.2.0-0.2+deb8u1bpo70+1
libaugeas-ruby 0.5.0-2
bpo70+1
libaugeas-ruby1.9.1 0.5.0-2bpo70+1
libaugeas0 1.2.0-0.2+deb8u1
bpo70+1
ruby-augeas 0.5.0-2~bpo70+1

I have this error message :

err: /Stage[main]/Syslog::Central_server/Syslog[central server]/ensure: change from absent to present failed: Could not set 'present on ensure: Failed to save Augeas tree to file. See debug logs for details. at /etc/puppet/environments/production/modules/syslog/manifests/central_server.pp:27

Also, I have other augeas errors related to other puppet modules.

Content of central_server.pp :

class syslog::central_server {

  syslog { "central server":
    ensure      => present,
    facility    => "local2",
    level       => "*",
    action_type => "hostname",
    action      => "myserver.local",
    provider    => "rsyslog",
  }

}

I don't know how to solve and if it's related to your code. Maybe just a Debian problem..
Any help would be greatly appreciated.

thank you.

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