Displaying 20 results from an estimated 60000 matches similar to: "augeas lenses for splunk ?"
2011 Mar 15
2
How do you distribute ruby-augeas for ruby-entreprise?
We are using ruby-entreprise, instead of redhat''s default ruby.... I
was trying to deploy the needed gem using:
/opt/ruby-enterprise/bin/gem install --no-rdoc --no-ri
/tmp/ruby-augeas-0.3.0.gem
But found out this would require gcc to be installed!
How can I preb-build this gem to remove the need for gcc on the nodes?
is there an option of the gem command to generate a distributable
2011 Nov 18
10
msi package provider: Invalid parameter install_options
C:\Users\ml623>puppet --version
2.7.7
Puppet complains about a package resource I am trying to use saying:
Invalid parameter install_options
The resource is defined as:
package { "splunk":
name => $gu_splunk::client::splunk_package,
provider => ''msi'',
ensure => installed,
source =>
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
2011 Nov 28
4
Puppet Windows: Spaces in file paths a problem?
I thought I read somewhere in Puppet docs/wiki... that it is
"recommended" to avoid spaces in file paths, or some similar verbiage,
but now I cant find it.
Does Puppet have any known issues with spaces in file paths? It would
of course scare Windows admins away... So I hope I am wrong in
thinking I read that.
Thanks a lot,
Mohamed.
--
You received this message because you are
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 => [
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
2011 Nov 18
5
Puppet on windows: File resource problem
Anybody knows what this error, bellow, means, the target file,
C:/Splunk/etc/system/local/inputs.conf, does exist.
sometimes, if I delete the file, it does actually create it, but never
update it if it exists and changed...
The resource is defined as:
file { "splunk_inputs": owner => SYSTEM, group
=> SYSTEM, mode => 664, require =>
2011 Nov 22
3
Puppet Windows: msi packages removal
I noticed that is if I uninstall an MSI that was installed by Puppet,
Puppet does not notice.
Looking at the source I see it might be checking for a state file to
know whether a package is installed or not:
C:\ProgramData\PuppetLabs\puppet\var\db\package\msi\SplunkForwarder.yml
So one has to rememebr to delete that too.... Is this design not a problem?
Thanks,
Mohamed.
--
You received this
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[. =
2013 Jan 08
4
Splunk Module Development Recommendations
Good morning,
We''ve been testing PE and beginning developing modules for our
infrastructure. One of the modules I''m looking to create is an installation
for Splunk, with the primary focus at this time, on the Forwarder. I
already have the splunkforwarder-5.0.1-143156-linux-2.6-amd64.deb package
being fetched from the Master and also performing the installation via
dpkg. I
2011 Aug 07
3
Workaround to "Provider groupadd does not support features manages_members" ?
Hello,
I wanted to manage a couple of groups membership, under RedHat,
without managing the users (as they are LDAP users) but found out it
is not supported.... Is there a workaround to this?
I tried:
group { "jbossd":
gid => 520,
members => ["user1","user2"],
}
Thanks a lot.
Mohamed.
--
You received this message because you are
2011 Jun 08
0
R: Re: Managing /etc/fstab options with augeas
There is a specific example of this on the puppet Wiki iirc. Or very similar . Regards.
----Messaggio originale----
Da: Adam Heinz
Inviato: 08/06/2011, 16:17
A: puppet-users@googlegroups.com
Oggetto: Re: [Puppet Users] Managing /etc/fstab options with augeas
On Thu, Jun 2, 2011 at 4:22 AM, Giovanni Bordello <gibo@gentlemail.com> wrote:
> I''m trying to manage mount options in
2009 Jul 31
6
Augeas and grub.conf
Having just spent about 2 hours trying to work out how to add a
password --md5 $1$Qejy8/$.qFUuDeYL.cuSDpN1ZD.S1
line to my grub.conf I thought it would be worth sharing how I finally
got it to work.
augeas {"/boot/grub/grub.conf":
context => "/files/boot/grub/grub.conf",
changes => [ "set timeout 15",
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
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'',
2013 Nov 01
2
Augeas JSON example?
Greetings.
I''m trying to find a few concrete examples of how to use augeas within a Puppet module, to make changes to a JSON file. I''ve been googling for the past hour and a half, and while I have found several pages which provide reference-type documentation, I have yet to see a single usable example. All of the augeas examples seem to demonstrate how to maintain a file for
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
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
2012 Jan 22
5
Augeas lens for zabbix agent config files?
Hi all,
I''m trying to come up with a lens for the zabbix agent config files. I
find the lens language untransparent at best, so I''m struggeling to
figure out what''s up. The debugging possibilities are extremely
limited. Here''s what I have now:
zabbix.aug:
====
(**
An adjusted copy of the postfix_main module
**)
module Zabbix_agent =
autoload xfm
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