Hi,

I am running puppet 2.6.12 on a SLES11SP1 server. I get the following error
message as part of the puppet catalog run on a SLED11SP1 client.

Augeas[sap_host_entries](provider=augeas): Opening augeas with root /, lens
path , flags 0
err: /Stage[main]/Sap/Augeas[sap_host_entries]: Could not evaluate: unknown
error - Failed to initialize Augeas


Can somebody shed some light on the error message above

The test module (code listing below) i have created attempts to add a
comment line to the /etc/hosts file on the client machine. I have tested
the module on the server with augtool and it works correctly.

class sap {
          augeas { "sap_host_entries":
                 context => "/files/etc/hosts",
                 changes => [
                        "set #comment[last()+1] 'Sap-specific-hosts'",
                        ],
          }
}

On the client I have the following augeas and ruby vendor based packages
installed

augeas-devel-0.8.1-7.8.2
libaugeas0-0.8.1-7.8.2


ruby-devel-1.8.7.p72-5.30.5
rubygem-rake-0.8.7-0.1.4
ruby-1.8.7.p72-5.30.5
rubygems-1.3.7-1.3.3


On the server i have the following augeas and ruby vendor based packages
installed

augeas-0.8.1-7.8.2
augeas-lenses-0.8.1-7.8.2
libaugeas0-0.8.1-7.8.2

Cheers
Lawrie

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to