Displaying 20 results from an estimated 9000 matches similar to: "can''t get defined function to work"
2007 Mar 28
4
How is defined() used?
Hello
What am I doing wrong here?
$test = defined(User[''foo''])
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2007 Dec 03
3
certificate issue with Branch Testing
Hello All,
I''m using the "Branch Testing" approach documented at
https://reductivelabs.com/trac/puppet/wiki/BranchTesting and am seeing
an issue with certificates.
On all clients, I can run puppetd --masterport=8141 successfully but see
the following error when I run against the default (8140) port:
err: Could not retrieve configuration: Certificates were not trusted:
2007 Dec 19
2
Is this a bug with namespacing?
Yesterday, I switched our node structure from using node basenode,
node nodetype inherits basenode, to using node classes per the changes
discussed recently on this list and as defined in the
wiki:GlossaryOfTerms.
In the manifest, we have a syslog module which sets up all the
components of syslog-ng we''re using. The ''syslog'' class is used by
default on clients and then
2006 May 03
5
Xen 3.0.2 on Dell 2850
Is anyone running Xen on this hardware? Is it stable?
--
# CONFIG_TCG_TPM is not set
Adam Kosmin
GNU/Linux SA
Visual Trading Systems, LLC
Empire State Building
350 Fifth Avenue, Suite 6420
New York, NY 10118, USA
Email akosmin@vtsystems.com
Phone 1 (212) 871-1747 ext. 340
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
2007 Nov 26
6
Help with tags
Hello...
I need some help with tags. as an example:
# pseudo code
class ssh {
file { "/etc/ssh/ssh_config":
# normal stuff
tag("dangerous") }
file { "/etc/ssh/sshd_config":
# normal stuff
tag("dangerous") }
file { "/etc/ssh/ssh_known_hosts":
# normal stuff
tag("safe") }
}
on client: puppetd --tags
2007 May 08
13
Override to unspecify
In the normal override method, you can change the value of a parameter, but
can you unset a parameter?
file { "/etc/somefile":
mode => 644,
owner => "dude"
}
File ["/etc/somefile"] { mode => unset } ??
2007 Mar 28
3
New Introduction
Hi all,
I''ve just rewritten the Puppet introduction from scratch:
https://reductivelabs.com/trac/puppet/wiki/PuppetIntroduction
I think it''s better, but I''m not convinced it''s a whole heckuva lot
better.
Comments are very much appreciated, especially if you can recommend a
better approach to the document. I tried to organize it how I have
been giving
2002 Nov 08
1
question: syncing AD and NDS w/ samba?
Hello all,
I'm wondering if samba(TNG?) can offer a solution for keeping NDS in sync with Active Directory? Perhaps, samba would be only be part of a larger solution involving openldap and or other components. Although I've used samba in the past on stand-alone servers, I have am not up to speed on it's ability to plug into an AD environment (act as a DC) so please excuse me if my
2007 Apr 04
5
sshkey
Hello all,
How are you using the sshkey type? Are you using it to list hosts and keys in a class that nodes include in order to manage /etc/ssh/ssh_known_hosts or something else? How does any of this relate to the sshrsakey and sshdsakey facts on the host? I read some stuff about this on the Virtual Resources page but it''s too vague for my simple mind and I''d be reluctant to use
2007 Jan 10
2
puppet on RHEL4
Hello,
I''m seeing the following when I run puppetd --version
/usr/sbin/puppetd:157:in `require'': no such file to load -- puppet
(LoadError)
from /usr/sbin/puppetd:157
I thought upgrading ruby to 1.8.5 would solve the issue but it has not.
In any case, here are the relevant rpm versions...
ruby-1.8.5-1.el4.centos
ruby-rdoc-1.8.5-1.el4.centos
2011 Jun 14
4
Question about custom function.
Hello group,
I''m trying to generate configuration for tomcat server. I want it to
depend on my mod_jk properties file. I wrote some simple script which
you can see here: http://pastebin.com/CffBr0Nc it works just fine.
So I tried to move it to puppet as my custom function. It''s available
for review here: http://pastebin.com/AeQgTTT6
Now, when I''m running first in irb,
2012 Feb 22
4
Custom function issue
Hi,
I needed a function to check if a file is existing on the Debian box I
am configuring. So I used this one
module Puppet::Parser::Functions
newfunction(:file_exists, :type => :rvalue) do |args|
if File.exists?(args[0])
return 1
else
return 0
end
end
end
It work greats for some service where apache2 doesn''t work for me.
I am using it this way
2007 Dec 18
4
Pulling Strings with Puppet: Automated System Administration Done Right (Paperback)
http://www.amazon.com/gp/product/1590599780/
This looks awesome! Any ETA?
Best,
Adam
2007 Dec 10
1
problem with puppetmasterd log
Hello,
puppetmasterd is running as shown here:
puppet 10209 1.1 1.5 138124 62532 ? Ssl 13:37 0:06
/usr/bin/ruby /usr/sbin/puppetmasterd
--manifest=/etc/puppet.production/manifests/site.pp
--logdest=/var/log/puppet.production/puppetmasterd.log
however, the log file is not being updated with information when a
client runs puppetd --test
Am I missing something obvious?
Best,
2011 Mar 09
3
Asked to transmit frame type slin, while native formats is 0x8 (alaw) read/write = 0x4 (ulaw)/0x8 (alaw)
Hello!
Client is using ulaw, however server sometimes fills the log with following:
[2011-03-09 21:23:07] WARNING[27204] chan_sip.c: Asked to transmit
frame type slin, while native formats is 0x8 (alaw) read/write = 0x4
(ulaw)/0x8 (alaw)
[2011-03-09 21:23:07] WARNING[27204] chan_sip.c: Asked to transmit
frame type slin, while native formats is 0x8 (alaw) read/write = 0x4
(ulaw)/0x8 (alaw)
2007 Nov 13
7
Exported resources & exec ?
Hi,
I''m sorry if that''s a FAQ, I also know exported resources are a still
experimental. So my problem might well be a design limitation of how
exported resources are working.
My issue: I''m trying to export a file resource that is created by an
exec block. The file is exported fine and collected fine but it is
always empty on the other host.
The puppet snippet:
class
2007 Nov 13
15
require metaparameter and gems
I tried to install the ''mongrel'' gem tonight via puppet in an attempt to
migrate from webrick to mongrel as described on the puppet site[1]. I
added the following to my manifest:
package {
"rubygems":
ensure => installed;
"mongrel":
ensure => installed,
provider => gem,
require => Package["rubygems"];
}
2013 Jan 11
2
[LLVMdev] Make a comparation with IR builder
Hi All,
I'm writing a code generation with my compiler. I read sever example and
documentation but I did understand what I make wrong.
What I try to do is a compare a local variable with a constant.
But when I create a ICMP instruction I get that instruction are not of
same type.
I'm using llvm by svn repository updated at two week ago.
The code that I try to generation is something
2020 Sep 11
2
[Debuginfo] Changing llvm.dbg.value and DBG_VALUE to support multiple location operands
> Can you elaborate what "direct" means? I'm having trouble understanding what the opposite (a non-exact value) would be.
Apologies, "exact" was a misleading/incorrect term. By direct, I mean that the expression computes the value of the variable, as opposed to its memory address, or the value that it points to. Within LLVM, where we don't have DW_OP_reg/DW_OP_breg
2020 Sep 04
2
[Debuginfo] Changing llvm.dbg.value and DBG_VALUE to support multiple location operands
> Yeah, because that decision can only be made much later in LLVM in AsmPrinter/DwarfExpression.cpp.
> In DWARF, DW_OP_reg(x) is a register l-value, all others can either be l-values or r-values depending on whether there is a DW_OP_stack_value/DW_OP_implicit* at the end.
Yes, it might not be clear but that's what I'm trying to say. Out of the non-empty DWARF locations, register and