Issue #17486 has been updated by Paul Pham.

Think I'm hitting the same issue:

> Debug: Augeas[limits_conf/*/hard/core](provider=augeas): Opening augeas with 
> root /, lens path , flags 32     
> Debug: Augeas[limits_conf/*/hard/core](provider=augeas): Augeas version 0.9.0 
> is installed     
> Warning: Augeas[limits_conf/*/hard/core](provider=augeas): Loading failed for 
> one or more files, see debug for /augeas//error output     
> Debug: Augeas[limits_conf/*/hard/core](provider=augeas): 
> /augeas/files/etc/security/limits.d/cassandra.conf/error = parse_failed      
> Debug: Augeas[limits_conf/*/hard/core](provider=augeas): 
> /augeas/files/etc/security/limits.d/cassandra.conf/error/pos = 169      
> Debug: Augeas[limits_conf/*/hard/core](provider=augeas): 
> /augeas/files/etc/security/limits.d/cassandra.conf/error/line = 4      
> Debug: Augeas[limits_conf/*/hard/core](provider=augeas): 
> /augeas/files/etc/security/limits.d/cassandra.conf/error/char = 0      
> Debug: Augeas[limits_conf/*/hard/core](provider=augeas): 
> /augeas/files/etc/security/limits.d/cassandra.conf/error/lens = 
> /usr/share/augeas/lenses/dist/limits.aug:65.17-.40:      
> Debug: Augeas[limits_conf/*/hard/core](provider=augeas): 
> /augeas/files/etc/security/limits.d/cassandra.conf/error/message = Iterated 
> lens matched less than it should      
> Debug: Augeas[limits_conf/*/hard/core](provider=augeas): Closed the augeas 
> connection      

Here's the file in question (although augeas should not be managing/editing 
this file):
> \# Production ulimit settings as recommended by Datastax.      
> \# 
> http://www.datastax.com/documentation/cassandra/1.2/webhelp/#cassandra/install/installRecommendSettings.html
>       
>       
> cassandra   -   memlock     unlimited      
> cassandra   -   nofile      100000      
> cassandra   -   nproc       32768      
> cassandra   -   as          unlimited      



----------------------------------------
Bug #17486: Augeas provider warns on parse errors in other files handled by 
same lens
https://projects.puppetlabs.com/issues/17486#change-99270

* Author: Linux Bami
* Status: Accepted
* Priority: Low
* Assignee: 
* Category: augeas
* Target version: 3.x
* Affected Puppet version: 3.0.1
* Keywords: augeas, provider
* Branch: 
----------------------------------------
Greetings,

we are evaluating Puppet 3.0. At the moment we are getting errors from the 
augeas provider:
Warning: Augeas[xxxxxx](provider=augeas): Loading failed for one or more files, 
see debug for /augeas//error output

$ rpm -qa|grep puppet
puppet-server-3.0.1-1.el6.noarch
puppet-3.0.1-1.el6.noarch
puppetdb-terminus-1.0.2-1.el6.noarch
puppet-dashboard-1.2.12-1.el6.noarch
$ rpm -qa|grep augeas
augeas-libs-0.9.0-1.el6.x86_64
augeas-0.9.0-1.el6.x86_64
augeas-devel-0.9.0-1.el6.x86_64
ruby-augeas-0.4.1-1.el6.x86_64

The file manipulation of the files via augtool and the provider works fine but 
we always get the warning.

Same modules works fine with puppet 2.7 without any warnings



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to