I've seen cases where there were white spaces at the end of the fact name,
double check your facts yaml file on the master
(~puppet/yaml/facts/hostname)
Ohad
On Tue, Apr 20, 2010 at 2:39 PM, Rene wrote:
> Hi
>
> I have the following module for installing HP software on HP Servers:
> class hpasm
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> But this should not be. Has Puppet problems, when I have serveral
> words in afact, since it works perfectly for Xen Systems.
as far as I can see not:
$ cat foo.pp
$manufacturer1 = 'Xen'
if ($manufacturer1 == 'Xen') or ($manufacturer1 == 'Sun Micro
Hi
I have the following module for installing HP software on HP Servers:
class hpasm {
tag('hpasm')
$packagelist = [ "hpasm", "hpacucli" ]
if ($manufacturer == 'Xen') or ($manufacturer == 'Sun
Microsystems'){
}
else {
file { "/opt/compaq":
owner => root,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> distid = Facter.value('lsbdistid')
> if distid.match(/RedHatEnterprise|CentOS|Fedora/)
sidenote: you can use confine for such things.
[...]
> I can see the fact on the client node (but only if I add "--puppet"):
> # facter --puppet|
Scott Beardsley writes:
> I was slightly surprised to see that there is no "gateway" fact.
Er, this fact is mostly unhelpful: there is no "gateway" — there are
zero-or-more gateways, depending on the route on the server, which may or may
not get used to communicate to any given destination.
A n
I just upgraded my puppetmaster from 0.25.1 to 0.25.4 using the EPEL
packages. Now, I can't see any of the logging when hosts connect to
my puppetmaster except for in the passenger/apache logs. The only
exception to this rule is when the puppetmaster connects to itself,
then I can see the normal
I was slightly surprised to see that there is no "gateway" fact. I
poked around and it seems easy enough to add but I'm running into a
problem... My gateway.rb looks like:
# gateway.rb
Facter.add("gateway") do
setcode do
begin
Facter.lsbdistid
rescue
Fa
>> Are there any Puppet modules available for Func and MCollective
>> agents?
Ah, Puppet modules. I read that backwards, sorry :)
>
> Func: http://puppet-modules.git.puzzle.ch/?p=module-func.git
Nice! Yeah, just basic service-package-file. Looks good!
--Michael
--
You received this message
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 04/19/2010 07:26 PM, SyRenity wrote:
>> Just to clarify, Func does not use SSH.It uses XMLRPC over SSL, very
>> similar
>> to how Puppet works (no REST though), and has a daemon.
>
> I see, so Fabric is actually the only tool which allows agen
I've been using camptocamp's iptables module. It works pretty well, lets
me define rules in various modules, etc. Now I find myself needing to
generate a commented list of it's rules. I notice that the README has a
nice exec suggestion. But, when I try it, I can't get it to work.
In my iptables/ma
On Mon, Apr 19, 2010 at 2:51 PM, Sukh Khehra wrote:
> Thanks for your reply. On my tags question I used the class as an
> example because I read that puppet auto creates a tag using the class
> name. My question really is whether the resource referenced by the tag
> should already be assigned to t
Thanks for your reply. On my tags question I used the class as an
example because I read that puppet auto creates a tag using the class
name. My question really is whether the resource referenced by the tag
should already be assigned to the host via node classification for this
to work.
E.g. lets
On Mon, Apr 19, 2010 at 12:42 PM, Sukh Khehra wrote:
> I have a need to audit user accounts on all of my puppet clients.
> Essentially, I need to collect the password and shadow file from all of my
> clients to one central location and analyze them. How would someone do this
> using puppet. Is the
> I see, so Fabric is actually the only tool which allows agent-less
> operations.
aka Distributed SSH? There are others, not sure of any that make it
into more of a language.
>
> Are there any Puppet modules available for Func and MCollective
> agents?
Not for Func, but I'm sure they would lik
hey,
- "SyRenity" wrote:
> Hi.
>
> > What kind of tools do you mean? I deploy code with OS packages so
> that makes it easy
> > the package agent actually uses the Puppet provider code to do the
> install/update/etc
> > so it's cross platform.
>
> You mean you package your code as RPM/DEB,
> Just to clarify, Func does not use SSH. It uses XMLRPC over SSL, very
> similar
> to how Puppet works (no REST though), and has a daemon.
I see, so Fabric is actually the only tool which allows agent-less
operations.
Are there any Puppet modules available for Func and MCollective
agents?
T
Hi.
> What kind of tools do you mean? I deploy code with OS packages so that makes
> it easy
> the package agent actually uses the Puppet provider code to do the
> install/update/etc
> so it's cross platform.
You mean you package your code as RPM/DEB, and then install it via
package agent (whic
Puppet Labs, Inc. is proud to announce our first open-enrollment
Puppet training in the DC area.
Location: Training, etc. 7150 Riverwood Drive, Columbia, MD
Dates: May 18, 19, 20
Register & Get More Information:
http://www.puppetlabs.com/events/dc-area-training/
Becoming a Puppet Master
Pu
I have a need to audit user accounts on all of my puppet clients.
Essentially, I need to collect the password and shadow file from all of
my clients to one central location and analyze them. How would someone
do this using puppet. Is there any mechanism to ship files to the master
from the client?
Hi All,
I'm new to puppet, I just recently setup it on my servers, using puppet 0.25.4
with ldap external node and mongrel+nginx as frontend. Pretty much happy about
it, except by the fact that I can't get puppetrun to work as expected.
"puppetrun --host fqdn" works well, but that's all.
"pupp
> You probably mean that just for firing commands over group of
> machines, it's better to be done in "SSH loop" tools, like Func/Fabric/
> etc, as it doesn't require client installation?
Just to clarify, Func does not use SSH.It uses XMLRPC over SSL, very similar
to how Puppet works (no REST
Yes, when the .svn directory exists it throws the error:
Could not run: Could not create PID file: /var/run/puppet/
puppetmasterd.pid
On Apr 18, 3:34 pm, Tore wrote:
> Did you try to start puppetmaster prior you removed the .svn
> directory?
>
> On Apr 15, 11:18 pm, Mike wrote:
>
>
>
>
>
> > G
On 18 April 2010 04:24, Andrew Heagle wrote:
> Hi,
>
> Is it possible for puppet to do the equivalent to this in bash:
> and...@comet:~$ a=1
> and...@comet:~$ x="a"
> and...@comet:~$ eval echo \$$x
> 1
>
> Or this perl:
> #!/usr/bin/perl
> $a=1;
> $x="a";
> print $$x;
> (Output would be 1)
>
> Or
Hello,
We have a custom type that works well with puppet 0.24.8 but fails
with puppet 0.25.4
The failure message is : "Global resource access is deprecated"
In the type, we want to create a directory that may already have
been defined elsewhere so we're using code like this :
direc
On Thu, Apr 15, 2010 at 9:48 PM, Ken wrote:
> What do you want to do above and beyond say - installing a package?
> ie. in redhat I just did:
>
> package {"java-1.6.0-sun": ensure => installed }
>
> As redhat stuff java in their repos :-).
ISTR you have to enable the 'supplemental' channel subscr
Hi all,
Once again I need some help...
info: Connecting to mysql database: puppet
(eval):3: [BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [i386-solaris2.10]
Abort
26 matches
Mail list logo