Displaying 8 results from an estimated 8 matches for "grendelman".
2010 Sep 07
5
Module availability, loading order
Hi,
I have create the following module:
modules/foo
`-- manifests
|-- definitions
| `-- line.pp
`-- init.pp
$ cat modules/foo/manifests/init.pp
import "definitions/*.pp"
$ cat modules/foo/manifests/definitions/line.pp
define myline($file, $line, $ensure = ''present'') {
....
}
I try to use the definition in a class:
class testfile {
file {
2012 Mar 28
4
Hash iteration order in a template not consistent
...ost:
http://serverfault.com/questions/368784/puppet-and-templates-how-to-loop-sequently-and-not-randomly
which suggests to do something like
<% aliases.sort_by {|key, value| key}.each_pair do |key, val| -%>
<% end -%>
Will it work? Is that a proper solution?
Thanks!
Martijn Grendelman
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this gr...
2010 Aug 31
23
Puppet + APT, I am lost...
Hi,
For the past week, I have been trying to figure out the best way to do
package management with Puppet on an Ubuntu system. I have studied many
solutons I found on the web, but none of them seem to do exactly what I want.
Among other things, I have tried everything that is discussed here:
http://groups.google.com/group/puppet-users/browse_thread/thread/af7349171a5821a4/db96b809c97f6006
but
2011 Jun 30
4
using memorysize fact in manifests
Hi,
I want some config depending on memorysize.
What I tried was
if ($memorysize >= 256 * 1024*1024) {
...
}
But this fails because $memorysize is a string (and contains a "G") and can''t be
compared to an int.
Are all facts strings? How do I work with numbers?
regards, Andreas
--
Andreas Kuntzagk
SystemAdministrator
MDC Berlin / BIMSB
Tel.: +49 30 9406 2997
--
2011 Mar 11
9
Why is it so hard to make a sane nagios server config?
I''ve tried to achieve my overall goals with several different features
of Puppet, but I''ve hit a bit of a wall here. I think it''s time for me
to explain what I''m trying to accomplish:
I want the enabling of a service in my manifests to configure
the monitoring of that service by a nagios server, without
needless repetition.
Let me explain how my
2013 Nov 11
2
qemu-kvm-rhev
I recently ran into some problems using certain oVirt (3.3) features
on CentOS 6.4 hosts.
The solution was to use the qemu-kvm-rhev version from the EL6 RHEV repository:
http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu-kvm-rhev-0.12.1.2-2.355.el6_4.9.src.rpm
It seems that this tree is not carried/built by CentOS.
Are there any plans on the CentOS for carrying these
2011 Jan 27
9
CIDR-matching in puppet manifests?
I have a few settings that change based on the network that a system is
in, and I have a heterogeneous collection of networks (a few /24s, some
/25s, a /29 and a couple /27s, and hey look a /16 in rfc1918 space
and...). So I can''t do simple regex matches on dotted-quad IP notation
and expect to get a complete story.
What I''d like is something like, I dunno...
$nameserver =
2010 Sep 07
1
Could not evaluate: No ability to determine if ... exists
Hi,
What does this error mean?
Sep 7 17:15:54 racey puppet-agent[3291]:
(/Stage[main]/Sysctl/Sysctl[kernel.shmmax]) Could not evaluate: No ability
to determine if sysctl exists
I don''t know where to start looking. If I should post my configuration,
please let me know.
Best regards,
Martijn.