Displaying 20 results from an estimated 10000 matches similar to: "YUM provider bombs out on ''latest'' if the server is not available."
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
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
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
2007 Jun 19
11
Fileserver scalability
I just talked to Mike McGrath from Fedora Infrastructure, and he told me
that they are seeing load spikes (not quite performance problems yet,
but definitely a concern) in their setup. As an example, the graph [1]
shows a typical client - the spikes from 16:00 to 8:00 are almost
exclusively puppetd doing its thing.
It seems that the most likely culprit is the fileserver - they serve
500-1500
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*
2007 Jul 27
3
Small patch to take care of missing yum server problem.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I''ve created a small patch, below, to take care of the case when you
wish to use yum to ensure that the latest version of the package is
installed but the yum server is down.
This patch makes the assumption that, in the case of an yum query error,
you want to assume that, if the application is installed, it is the latest.
This allows you
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
2007 Mar 05
1
How to add a custom function to return something to file => content
I''m having a heck of a time with this.
Basically I want to write a custom function that returns a value to the file
content type.
Ex: file { /blah: content => do_stuff(option) }
I looked at the wiki posting but just haven''t been able to figure out how to
make this work.
The first error that I get when I try to actually use ''return'' is:
"return
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
2013 Dec 12
2
Stdlib and Defined Types
All,
Does anyone know of a way to add a file-centric backtrace to the validate
functions in the Stdlib?
If you use a validator in a defined type, you end up not having any idea
what actually threw the error.
Though much has moved to parameterized classes, there are still times when
defines are useful and it would be nice to know what calling
class/define/stack was blowing up.
Thanks,
Trevor
2007 Jul 10
18
Recursive permissions
Does anyone know if it''s possible to do the following:
Given the directory structure:
/foo/bar
/foo/bar/<bunch of stuff>
Is it possible to set /foo/bar to, say 555, and all stuff below to 440
or the directory equivalent?
Thanks,
Trevor
2007 Apr 18
4
Graceful recovery on bad config
Would it be possible to... ( I suppose that this is an enhancement request
)... automatically do the following on a client-side manifest failure:
1. Wipe localconfig.yaml and state.yaml and try again (seems to fix most
things for me)
2. Revert to a last known good configuration if all else fails.
Thanks,
Trevor
_______________________________________________
Puppet-users mailing list
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
2007 Mar 07
2
Doing something ''on demand''
What techniques are people using to do particular tasks once in a great
while?
For example, usually you don''t want to automatically upgrade the kernel
until it''s fully tested but, of course one day you will.
How do you work through Puppet to perform this activity on an on-demand
basis instead of a periodic job.
Are you using state files like "if file X exists do Y"
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
2013 May 29
5
Developing custom type/providers for multiple OS
Hello all,
I am developing a few custom providers for some features that I need into
my system (such as dealing with different zipped files or generating some
JSON data based on OS files) and I have hit into a question about "how to
do this for multiple OS?"
Lets focus into the zipped file provider that should provide a common
method to pack or unpack zipped files (tar, tar.gz,
2007 Jan 23
20
"Found a bug" message when purging services
I attempted the following:
resources { service: purge => true, noop => true }
service {
sshd: ensure => running;
iptables ensure => running;
}
And got the following message:
notice: Starting configuration run
err: Found a bug: uninitialized constant Parse
notice: Finished configuration run in 0.47 seconds
When I remove the ''resources'' line, everything works
2007 Apr 25
17
Multiple swap partitions
I have a machine with two swap partitions (sda2 and sda8). Both will
have none as mount point. When I try to use puppet (using mount type)
for managing fstab I get problems because "name" in both instances
(i.e. mount path) will be "none". How should I fix this within puppet?
Regards
Halvard Moe
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
2007 Jan 18
4
File type attribute "type"
I''m having a bit of trouble understanding what to do with the ''type''
attribute of ''file''.
I would like to perform different operations on directories vs. files under
the same structure, can ''type'' be used for this?
Are there any other examples of doing this kind of thing?
Thanks,
Trevor