similar to: using puppet augeas to add entry in /etc/syslog.conf

Displaying 20 results from an estimated 2000 matches similar to: "using puppet augeas to add entry in /etc/syslog.conf"

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
2003 Apr 01
1
LOG_AUTHPRIV and the default syslog.conf
Hello, Some time ago I wrote PR conf/48170, which discussed the following problem: Syslog messages of facility LOG_AUTHPRIV and priority LOG_NOTICE (or higher) are sent by default to the world-readable log file /var/log/messages. That seems unacceptable since the facility LOG_AUTHPRIV is for hiding sensitive log messages inside a protected file, e.g., /var/log/auth.log. For example, login(1)
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
2000 May 29
1
Syslog facility in Linux
Hi ! While browsing Linux manpages (man 3 syslog) I noticed that the manual says that the LOG_AUTH facility is deprecated use LOG_AUTHPRIV instead. Is there a good reason why OpenSSH doesn't have an option to use LOG_AUTHPRIV facility ? (Looks like that tcpd/telnet etc. use the AUTHPRIV facility (in RH6.2)). Shouldn't be too hard to add the AUTH_PRIV facility ? Cheers, -Jarno --
2012 Jul 23
1
n00b rsyslog.conf question - how to separate local syslog from network appliance syslog?
I have several network appliances, and I want aggregate their syslog output for later analysis. Eventually I might think about a Splunk box, but for the interim I'm hoping to just build a CentOS 6 syslog server and have it aggregate everything on it for quick review. I installed rsyslog and am looking through the /etc/rsyslog.conf file for what I configure to (a) listen for syslog input from
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
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 |
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
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
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
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
2010 Feb 16
1
[PATCH] GuestOS: Reload augeas after rpm installation and removal
--- lib/Sys/VirtV2V/GuestOS/RedHat.pm | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/lib/Sys/VirtV2V/GuestOS/RedHat.pm b/lib/Sys/VirtV2V/GuestOS/RedHat.pm index cd2f8e6..380dacb 100644 --- a/lib/Sys/VirtV2V/GuestOS/RedHat.pm +++ b/lib/Sys/VirtV2V/GuestOS/RedHat.pm @@ -862,6 +862,9 @@ sub remove_application $g->command(['rpm', '-e',
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
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
2013 Oct 18
1
Re: augeas changes in stable branches
On Fri, Oct 18, Richard W.M. Jones wrote: > On Fri, Oct 18, 2013 at 11:15:54AM +0200, Olaf Hering wrote: > > > > 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:
2011 Nov 04
1
Default sysctl.conf with augeas.
I have a tricky problem. I''m going to use Augeas, like here http://projects.puppetlabs.com/projects/1/wiki/Puppet_Augeas#/etc/sysctl.conf to maintain sysctl.conf. However, since iptables is already disabled, when I add more lines to sysctl.conf with augeas and run sysctl -p, the following lines (which are already there) cause a failure. # Disable netfilter on bridges.
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 =>
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
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