Displaying 20 results from an estimated 3000 matches similar to: "Augeas and double quotes"
2007 Oct 11
3
Multiple server sections for SSL
Hi,
I would like to achieve the following with my dovecot server:
- listen von FQDN 'mail.foo.example.com'/IP 'A' for imaps and pop3s
with an SSL certificate for 'mail.foo.example.com'
- listen von FQDN 'mail.bar.example.com'/IP 'B' for imaps and pop3s
with an SSL certificate for 'mail.bar.example.com'
I stumbled over a posting by Timo made
2008 Oct 08
10
Puppet Augeas Plugin
Bryan -- I''m using the puppet augeas plugin at
http://git.et.redhat.com/?p=ace.git;a=blob;f=modules/augeas/plugins/puppet/type/augeas.rb;h=2346c37d724d7607ed4e09b0413700bec2b7cbed;hb=HEAD
I''m running into a behavior that I wouldn''t expect. I''d like to confirm
an entry in sysctl.conf by changing the value if necessary or appending
the key/value if it
2008 Oct 11
6
Force backup of files modified outside of puppet's File Type
I''m using the SimpleText recipe and Augeas plugin to modify files in
place. I''d like to notify the appropriate File resource that a
modification is about to take place so puppet can backup the file. Maybe
this is already possible but I haven''t found any examples or
documentation on how to accomplish this. I think a natural way to do
this would be to use the subscribe
2012 Jan 11
5
augeas error: Could not evaluate: unknown error - Failed to initialize Augeas
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
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 =>
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
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
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[. =
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
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
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
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 |
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
2012 Jul 31
4
Long processing time using Augeas
Hi!
I using Augeas to handle dump and passno for certain mount points in
/etc/fstab. Each mount point is defined as it''s own augeas block:
augeas { ''homeLV'':
context =>
''/files/etc/fstab'',
changes => [
2014 Sep 22
2
Re: [PATCH] daemon: augeas: filter out AUG_NO_STDINC from aug-init (RHBZ#1144927)
On Monday 22 September 2014 13:50:18 Richard W.M. Jones wrote:
> On Mon, Sep 22, 2014 at 10:49:42AM +0200, Pino Toscano wrote:
> > 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
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
2011 Mar 28
2
augeas, rhel6, setm
It turns out augeas on RHEL6 is 0.7.2, which does not have ''setm'' command
available. ''setm'' is available in augeas release 0.8, which is available in
EPEL, but not available for RHEL6 (the reason is the package is already in
RHEL6, thus no package would be released in EPEL for this.
All I want to do is to put console=ttyS0 on all kernel lines in
/etc/grub.conf.