Displaying 20 results from an estimated 100 matches similar to: "class dependency?"
2009 Jan 02
2
problem with custom funcion
Hello!
I''ve written custom function split - it''s located in modules/common/
plugins/puppet/parser/functions/split.rb and contains:
module Puppet::Parser::Functions
newfunction(:split, :type => :rvalue) do |args|
str=args[0]
regex=args[1]
idx=args[2]
out=str.split(/#{regex}/)
if out.is_a? Array
out[idx]
else
""
end
2008 Oct 16
1
puppet not creating users?
Hello!
My problem is - puppet is not creating users...
I''ve got class:
class admins {
@user { "graf0":
ensure => present,
uid => 1500,
comment => "Full name",
home => "/home/graf0",
managehome=> true,
shell => "/bin/bash",
password => ''SOMEVALIDSHADOWPW'',
tag => admin
}
}
Then, in have
2010 Apr 27
3
strange pson error...
Hello!
What does this error means?
err: Could not retrieve catalog from remote server: Could not intern
from pson: Could not convert from pson: Could not find relationship
target "Nagios_hostgroup[]"
I cannot find it anywhere in my config... I have only 2
nagios_hostgroups, exported to server, then collected in nagios
module. Any ideas?
Cheers
---
Grzegorz MarszaĆek
2008 Oct 16
5
virutal resources and ssh_authorized_key
Hello!
I''ve got question - how to use ssh_autorized_key as a virtual resource?
I''ve got bunch of users and ssh_authorized_key virtual resources, but
only users gets to the target system - ssh keys not...
I write something like:
class admins {
@user { "username":
...
}
@ssh_authorized_key { "username":
ensure => present,
key => "...",
2007 Dec 13
4
access to databases in puppet - best practice?
Hello!
In my puppet configuration I need to get some data from database.
Ie.: I''ve got information about my all hosts in db - thier name, mac
addresses, ip addresses, what to backup from this host etc. For now
it''s just .xml file, but it could be sql db, or ldap directory. Then,
using this small "database", I want to generate configuration using
puppet - ie.:
2007 Dec 27
1
"fakeing" exported resources - is that possible
Hello!
I''m trying to solve small problem - linux server AND windows clients
AND managing this using puppet :)
As far as I know puppet don''t work under windws, but I''m still using
it on linux side. And I need some information from windows machines -
ie.: info about what should I backup from each one.
Of course one solution is to port puppet to windows - but for
2007 Dec 06
1
order, managing one file and refreshonly
Hello!
I''m quite newbie to puppet. I''ve got 3 questions:
1.
I''ve noticed, that puppet apply defined classes/modules in specyfic
order. I''ve got something like this im my configs:
/etc/puppet/cf/manifests/site.pp:
import "networks/*/site.pp"
node generic_node {
include "puppet"
include "apt"
include "debian"
}
---
2003 Aug 31
2
kernel: wi0: timeout in wi_seek
Hi there .
Some one know how fix this???
I tried a lot of diffierent thinks, but nothing. and my Freebsd Access
point keep crashing some time when I use cards prism 2.5 , but dosen't
crash with prism 2 . The problem is I must to use prims 2.5 because it's
a high power card, and work really well until crash.
thanks!!
--
Marcos Biscaysaqu
Systems Administrator
ThePacific.Net Ltd.
2008 May 12
8
Complex data structures in templates
Hi.
I wonder if it is possible to use more complex data structures in
templates than simple variables and arrays? I have been trying nested
arrays, as well as nested arrays and hashes, but nothing seems to work
(more specifically, nested arrays seem to be flattened into a single
array). Having only simple variables and arrays is a little limiting.
Something like the Perl-based Template Toolkit
2007 Dec 28
5
Still need help with ticket triage
As everyone probably realizes, I''m getting swamped with incoming
problems and tickets and I still need help triaging the tickets.
James Turnbull has volunteered to help some, but I think we need more
than one person. We''ve had a few people step in once or twice, but
I''d like to be able to depend on Unreviewed tickets getting handled
by someone else, rather
2007 May 04
2
v3.0.25-final?
How close are we to seeing the final release of samba 3.0.25?
Guillermo Gutierrez
Network Administrator
Market Scan Information Systems, Inc.
(818) 575-2017
ggutierrez@marketscan.com
2010 Feb 22
0
gdm_slave_xioerror_handler: Fatal X error - Restarting :0
Hi,guys:
I've been having gnome restart when I've been using firefox. Looking around
in diffierent logs i found..
Feb 22 22:02:19 localhost last message repeated 9 times
Feb 22 22:02:19 localhost scim-bridge: The lockfile is destroied
Feb 22 22:02:19 localhost scim-bridge: Cleanup, done. Exitting...
Feb 22 22:02:19 localhost gdm[5192]: gdm_slave_xioerror_handler: Fatal X
error -
2007 Feb 20
0
Fwd: Fwd: HOW to enable traceroute with IPTABLES(SLOVED)
Hi all,
That issue is over now. I found why my ESTABLISHED,RELATED rule at the top
of INPUT chain did not work for udp and icmp.
The reason was I have included the protocol as tcp as below
iptables -A INPUT -i eth0 -p tcp -m state --state ESTABLISHED,RELATED -j
ACCEPT
I removed -p tcp from above rule. Now it works for all protocols.
Thanks for your support.
---------- Forwarded message
2008 Oct 26
0
Weekly VMX status report. Xen: #18711 & Xen0: #711
Hi all,
This is our weekly test report for Xen-unstable tree. 3 new issues were found, bug #1368 got fixed; P1 bug #1339 still blocks our save/restore related cases.
New Bugs:
=====================================================================
1. [stubdom]The xm save command hangs while saving <Domain-dm>.
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1377
2. [stubdom] cannot
2010 May 31
11
Same certificate on multiple identical machines ?
Hi list,
In our platform we have a lot of machines in which the system is a
single disk image loaded on RAM from PXE.
The problem is quite simple : if I install puppetd on the image, I
will end up using the same certificate for 100 different servers with
different names (the hostname is setup at boot time from dhcp) and I
guess the puppetmaster won''t allow that.
In other words : what
2007 Dec 13
10
multiple files with same attributes
I''m almost afraid to ask because this probably sticks out
like a sore thumb on the wiki somewhere, and I''m just not
seeing it.
But I have a bunch of files with the same owner/mode. Is
there a way to somehow collapse these, so that all I repeat
is the file name?
Example:
file {
"/opt/test/1":
owner => "jtan",
group =>
2010 Nov 16
4
Very low FPS in Wine/Ubuntu vs WindowsXP
New on Linux and Wine. I like most of what I see. Here is one problem I don't understand. I run dualboot Windows XP / Ubuntu 10.04 LTS Lucid Lynx with Wine 1.3.6. Graphics - GeForce 9500 GT with Linux driver 195.36.24
Tested World of Warcraft and compared framerates in XP vs Ubuntu/Wine. With all parameters the same (same Config.wtf file with OpenGL set), same in-game options, same character,
1997 Feb 05
0
bliss version 0.4.0
[mod: Forwarded by Jeff Uphoff. I tried to mangle the headers that
it appears as the original post: with an invalid return address. -- REW]
A few months back, a very alpha version of bliss got posted. That shouldn''t
have happened, but, it was pretty much ignored so I didn''t worry about it.
But now it seems there''s a bit of a fuss about this. I''ll post the
2013 Jul 15
6
[PATCH 0 of 6 RESEND v2] blktap3/sring: shared ring between tapdisk and the front-end
This patch series introduces the shared ring used by the front-end to pass
request descriptors to tapdisk, as well as responses from tapdisk to the
front-end. Requests from this ring end up in tapdisk''s standard request queue.
When the tapback daemon detects that the front-end tries to connect to the
back-end, it spawns a tapdisk and tells it to connect to the shared ring. The
shared
2003 Aug 06
10
AgentCallbackLogin
I am having trouble with the AgenCallBackLogin app. I can't seem to
define a context for the queue.
Here is the relevant configs:
queues.conf:
[general]
[default]
[q_lo_1]
music = default
strategy = ringall
context = c_in_1
timeout = 15
retry = 2
maxlen = 0
member => Agent/@3
agents.conf:
[agents]
autologoff=10
wrapuptime=15000
group=1
agent => 1001,1234,Agent1
agent =>