Displaying 20 results from an estimated 11000 matches similar to: "Cry for Augeas grub.conf help!"
2012 Jul 25
2
Purge-like ability for the augeas type?
I''ve been searching around but haven''t found a way to do something
like a purge with augeas.
If you have a file such as
[iniheader]
entry1 (managed by puppet)
entry2 (not managed by puppet)
And you want to add ''entry3'' as well as removing anything not managed
by puppet in that subsection then you currently do not have this
capability.
Is this correct?
I
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",
2008 Jul 30
6
Refreshonly question
Does anyone have a technique for performing an exec the first time
puppetd runs but then reverting to refreshonly => true state for
subsequent runs?
The basic idea is:
file { "/etc/foo":
notify => Exec["bar"]
}
exec { "bar":
command => "Do stuff to /etc/foo",
refreshonly => true
}
Should I use a fact that is unset based on a
2010 May 14
1
[PATCH] Rely on new augeas lens for modules.conf and conf.modules
We were previously forcing the augeas Modprobe lens to match modules.conf and
conf.modules. It turns out that the contents of these files are quite different
to modprobe.conf, requiring a new lens.
This change keeps the logic which looks for where modules should go, but doesn't
update the augeas configuration. If there is no augeas lens for
/etc/modules.conf, any attempt to parse or modify it
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.
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
2009 Aug 13
6
Mongrel Memory Usage
All,
I''m trying to figure out the best way to estimate the amount of memory
usage that will be taken up by Mongrel and I''m hoping that you have
some estimates that can help me.
I''m currently estimating the following:
Memory Required = Number of running puppetmasters * size of manifests
* number of clients managed
The mongrel model doesn''t seem to *ever*
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
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
2007 Jul 19
5
Perhaps greater integration with RedHat?
https://build-automation.108.redhat.com/
Just a thought that it might get some more press.
Trevor
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",
2007 Feb 06
31
Removing circular dependant RPM files with Package.
Hello,
I just attempted to remove both the ypbind and the yp-tools packages using the package parameter with yum. As it turns out, both of these packages depend on each other.
Is there a way of forcing package removal and, if there is not, is there a way of making all packages to be removed be collapsed into the same yum command? Either of these solutions would solve the problem with the
2009 Oct 08
3
quick split function question
With 0.25 we can use the split function to parse a string in to an array.
In puppet how can I reference a single element of that array?
$temp = "1,2,3,4"
Then i''d lilke to do :
$val = split($temp,'','')[0]
Thanks,
Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2009 Jul 29
2
Grub fallback problem
Hi !
I am running CentOS 5 using grub 0.97
2006 Dec 14
11
Puppet and Cfengine Differences
Hello,
I''ve recently begun looking at Puppet as an alternative to Cfengine and I
have a couple of questions.
1) Besides the information posted on the Puppet website, are there any
critical differences between Puppet and Cfengine?
2) Does Puppet allow for client-specific file text manipulation. For
instance, in Cfengine I can add a line of text to a file if the line doesn''t
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
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 Jul 13
7
puppetd no-daemonize
So I have been trying to run puppet once in my kickstart %post scripts but
every time it detaches and daemonizes even though I have explicitly stated
otherwise. Am I missing something?
# rpm -q puppet
puppet-0.24.8-1
# /usr/sbin/puppetd --onetime --no-daemonize --verbose --debug
debug: Creating default schedules
debug: Failed to load library ''shadow'' for feature
2006 Mar 29
2
GRUB does not boot FreeBSD after installworld ...
HI,
i have updatete to 6.1-PRERELEASE and after the "installworld" step GRUB
is unable to boot FreeBSD.
After i did the installworld and rebooted the GRUB error was:
23 : Error while parsing number
I have reinstalled the standard FreeBSD loader for now.
Booting with a GRUB boot-floppy i am able to start either XP or Linux
but trying to start FreeBSD the system just reboots, no
2008 Jan 22
12
rollbacks
Has anyone done rollbacks with puppet?
The story goes that last night I pushed a change out, which
intentionally changed the way certain services where managed. The
change involved pushing out a few files, cronjobs, etc., which was okay
until it was discovered there was a bug with the service.
My configurations are kept in subversion and rolling back to a previous
configuration would have