Displaying 20 results from an estimated 9000 matches similar to: "Using array's in Puppet (in combination with Augeas)."
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
2010 Sep 29
0
err: Could not run Puppet configuration client: Could not find a default provider for augeas
Hello,
I get these message when i try to run puppet with augeas.
Puppet Version are 2.6.1 on server and client.
The ouput of the puppet Client with debug:
debug: Failed to load library ''selinux'' for feature ''selinux''
debug: Failed to load library ''shadow'' for feature ''libshadow''
debug:
2012 Apr 16
1
hiera puppet augeas and hash keys ?
Hi,
if possible can someone post a working example please ?
I am using hiera => puppet => augeas.
cat myserver.yaml
---
myserver:
"Birthday": ''1''
"Debug": ''5''
The no. of settings will change, so i would like to use a hash here.
The hiera lookup works already:
>hiera -c /etc/puppet/hiera.yaml -h myserver
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[. =
2010 Dec 23
2
Multiple AllowGroups entries in sshd_config with Puppet and Augeas
Hi,
After extensively looking into puppet + augeas for managing the
AllowGroups in sshd_config, I came to the conclusion that it won''t
work as I expected :( So I''m sharing my thoughts here.
The main objective is allowing multiple groups per-node, depending on
what the security team wants. Since I want this to be dynamic, I
created a define in a class:
class ssh::server::config
2012 Aug 28
4
using puppet augeas to add entry in /etc/syslog.conf
Hi ,
I"m trying to add a entry in /etc/syslog.conf using puppet augeas like
this " *.warning;mail.none;authpriv.none;cron.none
@syslog_host" ,
seems the way to do this with augeas is :
augeas { "syslog_conf":
lens => "syslog.lns",
incl => "/etc/syslog.conf",
2009 Oct 29
1
Puppet + Augeas + dhcpd.conf
Has anyone used augeas to manage the dhcpd.conf file? I really don''t
want to have a series of .d directories to build this thing. Each
subnet needs to be a resource and each static host entry inside the
subnet needs to be its own resource.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet
2013 Jul 08
0
Editing lines of multiple files with puppet and augeas
I am trying to build a generic module in puppet to edit multiple files and
update few lines in them, with Augeas and Puppet. Can someone help me with
a working example.
Thanks
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
2010 Oct 06
3
Using Augeas to manage /etc/network/interfaces from Puppet
Hi,
Sorry for the broad distribution, I''m not sure who best can help me.
I''m trying to add a new interface stanza to /etc/network/interfaces.
With augtool, I can accomplish this with the following:
set /files/etc/network/interfaces/iface[last()+1] bond1
set /files/etc/network/interfaces/iface[last()]/family inet
set /files/etc/network/interfaces/iface[last()]/method dhcp
set
2009 Nov 22
0
Puppet 25.1 + stored configuration (with sqlite) + augeas on Ubuntu 9.04 or 8.04
> Adam, you should be able to either grab the unstable deb from here:
>
> http://packages.debian.org/sid/puppet
>
> or build from source using git-buildpackage, this post describes how:
>
> http://explanatorygap.net/2009/10/29/puppet-0-25-1-debs-done-but-dela...
Thank you very much!! I have already tried the debian-experimental
packages on both Ubuntus, but I finally gave up
2010 Oct 13
4
Puppet and Augeas
Hi. Is there any way to make puppet run a particular module first
before another module is run. For example, I''m using the augeas
resource type in one of the modules. But libaugeas-ruby1.8 is not
installed in the client machine. So when the catalog is run, I get the
following error: Could not find a default provider for augeas. So I
built another module that will install the
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
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