similar to: R: Re: Managing /etc/fstab options with augeas

Displaying 20 results from an estimated 5000 matches similar to: "R: Re: Managing /etc/fstab options with augeas"

2011 Jun 02
1
Managing /etc/fstab options with augeas
Hi again, I''m trying to manage mount options in /etc/fstab with Augeas but can''t figure out how to add more than one option. augeas { "/etc/fstab": context => "/files/etc/fstab", changes => [ ''set *[file = "/tmp"]/opt nosuid'',
2014 Oct 07
0
fstab dilemma - pounding on file_line and augeas
RHEL 6.5 Puppet 3.7.1 puppetlabs-stdlib-4.3.2 Local hardening guidelines say that /usr/local and /var/log/audit have to be separate partitions. OK, so I make "mount" resources. Now the problem: The order of the mount points in /etc/fstab makes a difference. I had /usr/local before /usr, and at boot, the mount of /usr/local failed because the mount point did not (yet) exist. So I need
2011 Nov 10
1
Managing /etc/fstab with puppet
Hey everyone, I''m trying to figure out how to manage my /etc/fstab with puppet on all my servers. Does anybody have an idea for me how to do? I tried it with augeas but I didn''t like the results I got so far... here is what I''ve tried: define conf ( $id = "01", $spec = " ", $file = " ", $vfstype = "
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 =>
2014 Sep 22
0
Re: [PATCH] daemon: augeas: filter out AUG_NO_STDINC from aug-init (RHBZ#1144927)
On Mon, Sep 22, 2014 at 02:56:18PM +0200, Pino Toscano wrote: > 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
2020 Jan 09
0
[PATCH v2 4/4] daemon: drop usage of C augeas library
Since all the usage of augeas is done in OCaml parts (via ocaml-augeas), drop all the C code using the C augeas library. --- daemon/Makefile.am | 2 - daemon/augeas.c | 91 --------------------------------------------- daemon/cleanups.c | 11 ------ daemon/daemon.h | 34 ----------------- daemon/lvm-filter.c | 2 - docs/C_SOURCE_FILES | 1 - po/POTFILES | 1 - 7 files
2020 Mar 09
0
[PATCH v3 3/3] daemon: drop usage of C augeas library
Since all the usage of augeas is done in OCaml parts (via ocaml-augeas), drop all the C code using the C augeas library. --- daemon/Makefile.am | 2 - daemon/augeas.c | 91 --------------------------------------------- daemon/cleanups.c | 11 ------ daemon/daemon.h | 34 ----------------- daemon/lvm-filter.c | 2 - docs/C_SOURCE_FILES | 1 - po/POTFILES | 1 - 7 files
2014 Jan 20
0
CESA-2014:0044 Moderate CentOS 6 augeas Update
CentOS Errata and Security Advisory 2014:0044 Moderate Upstream details at : https://rhn.redhat.com/errata/RHSA-2014-0044.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: b480f39008212b9a32a5abf8aaef69d1b4242c0fbf7d2a65ee41287c59b74440 augeas-1.0.0-5.el6_5.1.i686.rpm
2015 Feb 10
0
CEBA-2015:0162 CentOS 6 augeas BugFix Update
CentOS Errata and Bugfix Advisory 2015:0162 Upstream details at : https://rhn.redhat.com/errata/RHBA-2015-0162.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 830e112850754e1e366d87813eeab40dca1465b08759cf1d5944d1372284fdc3 augeas-1.0.0-7.el6_6.1.i686.rpm
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
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 Jun 18
0
ANNOUNCE: libguestfs >= 1.23.5 will require Augeas >= 1.0.0
There are two parts to this change. (1) libguestfs >= 1.23.5 will require Augeas >= 1.0.0. Augeas is a library for parsing and editing Linux configuration files. Previously Augeas was optional, and that will remain true in libguestfs < 1.23.5. It has always been highly recommended because it's a great little library and if you don't have it then significant inspection features
2010 Jun 30
3
[PATCH 1/2] Add new augeas directory with grub device.map lens
Add a directory to contain required augeas lenses which aren't yet upstream. Include a new lens for grub's device.map. --- augeas/README.txt | 4 ++++ augeas/device_map.aug | 28 ++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 augeas/README.txt create mode 100644 augeas/device_map.aug diff --git a/augeas/README.txt
2019 Dec 16
0
[PATCH 2/2] build: switch embedded copy of ocaml-augeas
Use the newer copy shipped locally as 3rdparty, instead of the one in the common submodule, as the latter copy will go away soon. --- .gitignore | 1 + Makefile.am | 6 +++--- configure.ac | 2 +- daemon/Makefile.am | 4 ++-- docs/guestfs-hacking.pod | 19 ++++++++++++++----- ocaml-dep.sh.in | 2 +- 6 files changed, 22 insertions(+), 12
2013 Oct 10
2
Augeas XML trouble
Hello everyone, I am currently trying to add elements to an XML file (a libvirt network definition) using Puppet (2.7.23)/Augeas (0.10). The XML looks like this: <network> <name>virbr0</name> <uuid>57fdc6e3-cba1-4110-88ef-850f1b71ee39</uuid> <forward dev=''eth0'' mode=''nat''/> <bridge
2010 Apr 29
1
[PATCH] GuestOS: Fix augeas grub configuration
Augeas now configures the Grub lens for /boot/grub/menu.lst by default. The code which was checking this was broken in the case where there was more than 1 included path. We now check if /boot/grub/menu.lst is included. If it is, we don't reload. If it isn't, we add it, but don't remove any other config first. This fixes RHBZ#586822 --- lib/Sys/VirtV2V/GuestOS/RedHat.pm | 25
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
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 => [
2011 Oct 07
0
puppet 2.7.5 and augeas break grub.conf on RHEL5
Hi, I was running puppet (2.7.5) on a host which needed to have some settings changed in it''s /boot/grub/menu.lst file. This file is however a link to /boot/grub/grub.conf When I used augeas in puppet like shown below augeas { "${dom0::params::module_label}_menu.lst_memory": incl => ''/ boot/grub/menu.lst'', lens => ''Grub.lns'', changes
2010 Dec 29
1
Puppet and augeas - onlyif conditions; overwriting default values
Hello, I am still not getting warm with augeas and puppet, there are some things I do not understand. At the moment I am trying the following: - I want to set some kernel parameters in the /etc/sysctl.conf file - in one puppet module, I have defined some default values for the kernel parameters - but for several servers I want to modify some of these values, therefore I would like to overwrite