Displaying 20 results from an estimated 6000 matches similar to: "quick split function question"
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
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 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
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 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
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
2012 May 30
20
Thoughts on job listings?
How do folks feel about getting Puppet job listings on this list?
I''ve rejected a few that we quite spammy, but when the subject matter
really is a system admin with puppet experience, the decision becomes
a bit different.
I''m looking for general feelings. A simple +1 or -1 would be great.
Mike
--
You received this message because you are subscribed to the Google Groups
2010 Sep 28
15
YUMREPO { productname => PowerEdge 2650}
Hello All,
How do I specify a variable that has a space in it? I''m trying
to setup a yum repo that has two different baseurl''s based on the
product name ($productname). Default goes one way, but if the product
is "PowerEdge 2650" then is a different URL. The thing is, that is
only picking up the default. How should I specify the value with the
space in the
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
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
2010 Jul 07
7
inventory of managed resources
Hi,
are there any good ways of scripting an inventory of managed resources on
all nodes? I''ve found the inventory script by R.I.Pienaar (
http://www.devco.net/archives/2010/02/26/what_does_puppet_manage_on_a_node-2.php)
which does what I want but only locally on each client. Is there any native
way of syncing the client_yaml data centrally or any other way of doing
this?
I need a
2007 Feb 28
5
Platforms supported by Puppets?
Hello,
I would like to know on what platforms Puppet runs. I cannot seem to
find the information on Puppet''s web site. Bcfg2 has it on it''s front
page :-)
I know there are .debs and .rpms, but are, for instance, Solaris,
FreeBSD and AIX supported?
Thanks.
--
Guillaume Pratte
Recherche et développement
Révolution Linux
Toutes les opinions et les prises de position
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"
2007 Dec 19
7
Kerberos for authentication?
Greetings!
Are there any plans of using Kerberos for authentication in addition to (or
in place of) SSL certificates in Puppet?
Kerberos provides mutual, cryptographically strong authentication. A number
of different services are Kerberos-enabled (SSH, NFSv4 and HTTP are common
examples), and thus use the same authentication mechanism system-wide. At our
site, almost all services and users are
2011 Dec 16
9
Puppet capacity with apache+passenger, server saturated
Hi everyone,
I have a problem with my Puppet server, the server is overloaded and
processes need to add half of my farm nodes yet!
The server is hosted on a blade with the following characteristics:
Processors: 8 cores
Memory Ram: 12 Gb
Operating System: Debian Squeeze
Version of parcel:
2.7.1-1 ~ bpo60 puppet 1
puppet-common 2.7.1-1 ~ bpo60 1
2.7.1-1 ~ bpo60 1 puppetmaster
puppetmaster 2.7.1-1 ~
2010 Nov 11
12
When do modules get auto-imported
My understanding was that at the beginning of each run the
puppetmaster imports all modules so that any includes at the top level
are applied directly. However, I am not so sure anymore.
I''ve been tracing how this works and it seems like modules are
included more lazily. In other words, when able_to_import is called
seems like when the magic happens, rather than up front when the run
2013 Mar 05
9
Mcollective/Puppet Connector
When attempting to execute the mcollective puppet plugin:
# mco puppet runonce -v
aixl : execution expired
aixj : execution expired
I get an error, ''execution expired'' on some hosts. However, these hosts
respond via mco ping and, I have verified the date/time on the servers.
The puppet agent is also
2008 Jan 23
7
generate with spaces?
Hi,
I''ve been using puppet for about a week and a half now, and it''s definitely
making my life a lot easier. I''m using 0.24.1 and I''ve run into a small
snag.
I''m trying to write some code to make sure user home directories exist for
users in LDAP. I''m trying to get their uid, gid and home directory from
getent with something like:
$uid =
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,