Displaying 20 results from an estimated 1000 matches similar to: "augeas error: Could not evaluate: unknown error - Failed to initialize Augeas"
2009 Dec 14
4
Provider Augeas not functional on Sles10?
Hi,
I have a problem with augeas, puppet and Suse 10 SP2.
Augeas works when I use the augtool to edit files. But I would like to
use it in combination with puppet. My class looks something like this:
augeas {"sysctl.conf":
provider => "augeas",
context => "/files/etc/sysctl.conf",
changes => [
"set
2013 Jun 18
4
augeas
Hello guys, I am facing a problem with puppet client installed via gem due
Ruby EE.
The problem is the following:
> puppetd -vt
info: Caching catalog for #FQDN
err: Could not run Puppet configuration client: Could not find a default
provider for augeas
I have tried to install ruby-augeas(gem install ruby-augeas) but it returns
an error while compiling(make can not compile it).
My ruby
2009 Mar 05
7
issue with the object cache
Hi,
I am getting a method_missing error when I run my application in the
production environment unless I set config.cache_classes = false in
config/environments/production.rb. This happens in Rails 2.2.2 but not
in Rails 2.1.0. The method that is missing is one I used to have
before I edited by hand the migration that creates the table
associated with the object (I know you are discouraged to do
2017 Mar 14
2
guestfsd: error while loading shared libraries in SUSE12
Hi guys,
I've struggled in this error for 1 week and your help is really appreciated. As one EMC software engineer, I need to setup the libguestfs tool in SUSE12 ( SUSE11SP4 is also OK, while SUSE12 is preferred ) to mount some qcow2 image from openstack environment. Then we can read its file system architecture and restore some files.
1. The first thing is we build one SUSE
2009 Mar 02
31
Using Augeas type to update sshd_config's AllowGroups
Hey gang,
I seem to be having a brain disconnect on how to get the Augeas type to
manage things that have multiple values (i.e. an Augeas tree) via Puppet.
If I run this in augtool:
augtool> set /files/etc/ssh/sshd_config/AllowGroups/1000 sshuser
augtool> save
I see this in /etc/ssh/sshd_config:
AllowGroups sshuser
However, if I try this in an Augeas type:
augeas {
2008 Oct 03
1
Installing ruby on linux
The following are the steps that I performed to install ruby on my
linux
machine. This same text is also available on
http://linux-certification.blogspot.com/2008/10/setting-up-ruby-on-li...
I went to http://www.ruby-lang.org/en/downloads/ There I found out a
section with the heading Ruby Source Code
I pick the url of the link for the file using the right click and
choosing the ''copy link
2009 Apr 15
7
How To: Puppet Setup on Redhat 8 using the puppet gem.
I got puppet installed and running on Redhat 8 today. I''m passing on my
notes to the list to help out others that may want or need puppet
running on older Redhat servers.
This is pretty much a copy & paste from my own personal wiki so please
forgive any odd formating.
==== Puppet Setup on Redhat 8 ====
Here''s a quick-n-dirty on how I got puppet running on redhat 8.
2013 Mar 15
1
issue while installing puppet
Hi Heidi,
Now We tried to install the puppet and puppet-server packages from
puppetlabs, but we faced below discrepancy.
Please look into this and let us know your suggestions because issue was
not found in Puppet community as well. There was 1 issue related to this
but it dint help us
(http://projects.puppetlabs.com/issues/16634 )
We went through
2013 Oct 18
3
augeas changes in stable branches
commit f59b87f7f18d9df89ff9940a317ff1fb452cbd28 breaks compile with older
augeas (0.7.4). AFAIK there is no requirement for augeas 1.0 until 1.24.
augeas.c: In function 'do_aug_init':
augeas.c:102:38: error: 'AUG_NO_ERR_CLOSE' undeclared (first use in this function)
Olaf
2011 Feb 24
1
augeas - add to beginning of file
Hi:
Using augeas, how do you add a comment to the beginning of a file. I
know you can use ins but you need to specify a path to insert before
or after. In my case I can''t with 100% certainty say I will no what
the first line.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to
2013 Jan 24
2
Augeas file line edit please help
what i thought would be a simple edit using augeas is turning out to not be
so straight forward, can anyone please help ?
the plan is to edit sendmail.cf and change the default DS to
DShostname.domain
class mail {
$key = DS
service {
''sendmail'':;
}
augeas { "sendmail.cf/$key":
context =>
2023 Apr 05
2
How to resolve OCaml-augeas dependency for Guestfs build on Ubuntu 22.04
Hi Libguestfs team,
I'm trying to build guestfs on Ubuntu 22.04, but getting below error.
#17 8.021 checking for OCaml findlib package augeas... not found
#17 8.024 configure: error: the OCaml module 'augeas' is required
By guestfs-building doc I need to get the package from https://people.redhat.com/~rjones/augeas/. But there is not instructions on how and where to place the package
2014 Sep 22
2
[PATCH] daemon: augeas: filter out AUG_NO_STDINC from aug-init (RHBZ#1144927)
The lenses in our custom path need the system lens for base
definitions. Disabling the system path was worthless anyway, since our
API does not allow user-specified custom paths.
The only possible use for AUG_NO_STDINC to aug-init could have been to
not load the lenses right at init time loading them later; however, this
is what the AUG_NO_LOAD flag (= 32) does already.
---
daemon/augeas.c | 5
2017 Sep 12
2
Re: [PATCH v12 02/11] common: Bundle the ocaml-augeas library for use by the daemon.
On Wednesday, 9 August 2017 19:23:37 CEST Richard W.M. Jones wrote:
> This commit bundles the ocaml-augeas library (upstream here:
> http://git.annexia.org/?p=ocaml-augeas.git;a=summary). It's identical
> to the upstream version and should remain so.
>
> We can work towards using system ocaml-augeas, when it's more widely
> available.
> ---
IMHO it would be better
2012 May 24
1
Compiling augeas on AIX?
Hi,
I''ve been trying to get augeas working on AIX for some time now. Has anyone
got it working?
Compiling up older versions of augeas (0.8.1) is no problem, but it doesn''t
let me create the shared libraries I seem to need for the ruby-augeas
module :/
Pretty much the same seems true for Solaris, even though I have not tried
as hard there yet.
If we don''t have
2017 Aug 08
1
Re: [PATCH v11 02/10] daemon: Embed the ocaml-augeas library in the daemon.
On Monday, 31 July 2017 17:40:51 CEST Richard W.M. Jones wrote:
> This commit embeds the ocaml-augeas library (upstream here:
> http://git.annexia.org/?p=ocaml-augeas.git;a=summary). It's identical
> to the upstream version and should remain so.
>
> We can work towards using system ocaml-augeas, when it's more widely
> available.
> ---
> daemon/Makefile.am |
2015 Oct 16
1
[PATCH] inspect: Include more information for augeas parse errors (RHBZ#1229119)
If Augeas fails to parse a file, more information is available in at
least these fields:
><fs> aug-ls /augeas/files/etc/fstab/error
/augeas/files/etc/fstab/error/char
/augeas/files/etc/fstab/error/lens
/augeas/files/etc/fstab/error/line
/augeas/files/etc/fstab/error/message
/augeas/files/etc/fstab/error/pos
Pull out some of these fields and add them to the error message.
The new error
2013 Apr 29
2
augeas
Hello
I use augeas to replace a value in a config file:
example (this example is good) :
/etc/ssh/sshd_config file
LogLevel INFO
class ssh::redhat {
augeas { "sshd_config":
context => "/files/etc/ssh/sshd_config",
changes => [
"set LogLevel VERBOSE",
],
notify => Service["sshd"],
}
This configuration is good
but how do when the
2013 Oct 04
3
Converting augeas snippet to puppet augeas resource
(apologies in advance for the line wrap)
I have the following tidbit of augeas code, which inserts a rule into
/etc/sysconfig/iptables as the first rule of a specifically named chain;
# augtool> insert append before
"/files/etc/sysconfig/iptables/table/append[. = ''Mayo-Firewall-INPUT''][1]"
# augtool> match /files/etc/sysconfig/iptables/table/append[. =
2019 May 29
4
[PATCH 0/3] Simple augeas-related changes
- bump the augeas requirement to 1.2.0, and drop an old hack
- add a small helper in the generator
Pino Toscano (3):
build: raise augeas requirement to 1.2.0
appliance: remove custom Shadow augeas lens
daemon: implement OptString for OCaml APIs
appliance/Makefile.am | 6 +--
appliance/guestfs_shadow.aug | 72 ------------------------------------
daemon/augeas.c | 21