Displaying 20 results from an estimated 200 matches similar to: "Any magic to the name ''memory'' in templates?"
2008 Jan 02
4
Puppetmaster doesn''t know itself
I restarted puppetmasterd and it announced that the Cert does not match
existing key !
[root@puppet ~]# puppetmasterd --verbose --no-daemonize
info: Starting server for Puppet version 0.24.1
info: mount[files]: allowing 10.100.0.0/16 access
info: mount[files]: allowing *.gridapp.com access
info: mount[files]: allowing *.dev.gridapp.com access
info: Retrieving existing certificate for
2008 Jan 11
3
Reports emailed to me
Sorry if this is obvious, but how can I have reports emailed to me- I
want to know what each puppetd update is changing
Thanks
--e
Eugene Ventimiglia
Director of Systems
GridApp Systems
e: eventi@gridapp.com
o: 646 452 4081
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2007 Dec 26
7
Thank you puppet!!
I''ve been hacking at puppet for the past week or two, and came up with
some great stuff, but I''m wondering if there''s a way to tie it all
together
To create a virtual machine for our company''s QA environment, I''m
currently doing 3 things:
#create a vm
node vmsvr2 inherits default {
include vmserver
vmserver::vm {
2008 Jan 14
3
Spot the cyclical relationship
I got the following error, but there''s no "cycle" I commented out
File["/dev/sdb3"] and it works, but of course would choke if I ran it
and the requirement were not met
err: Could not apply complete catalog: Found cycles in the following
relationships: File[/dev/sdb1] => Exec[echo -e "0,290\n,290\n," | sfdisk
/dev/sdb]
Here''s the node:
node
2007 Dec 24
2
Build a cmdline for exec from optional parameters
How can I do this?:
foo { name:
$bar => "frob"
}
define foo( $bar = false, $baz = false ) {
if #$bar and $baz both defined
$cmd = "frobnicate --bar=$bar --baz=$baz ${name}"
else if #$bar defined
$cmd = "frobnicate --bar=$bar ${name}"
else if #$baz defined
$cmd = "frobnicate --baz=$baz ${name}"
else
2008 Nov 10
12
CA_Server woes
I''m having difficulty getting my head around some CA issues
My client has:
[puppetd]
ca_server=puppetca.mydomain.com
and puppet resolves to a different machine.
when puppet connects, it requests a signature from
puppetca.mydomain.combut then on the next pass fails with the
following:
err: Could not retrieve catalog: Certificates were not trusted: SSL_connect
returned=1 errno=0
2008 Jan 08
1
Simple Search and replace on puppetmaster?
Is there any way to do a simple search and replace on the puppetmaster
server?
I''m passing one IP address for one interface on a box, and attempting to
set the second according to a convention we use, so I need something
like
$eth1_ip = `echo "10.100.6.99" | sed -r -e
''s/\.[0-9]+\.([0-9]+)$/.94.\1/''`
# eth1_ip = 10.100.94.99
interface {
2007 Dec 17
2
More 0.24.0 problems
this time when I try to connect the first node:
[root@qaagt20 ~]# /etc/init.d/puppet start
Starting puppet: /usr/lib/ruby/1.8/net/http.rb:560:in `initialize'': No
route to host - connect(2) (Errno::EHOSTUNREACH)
from /usr/lib/ruby/1.8/net/http.rb:560:in `open''
from /usr/lib/ruby/1.8/net/http.rb:560:in `connect''
from
2008 Jan 17
0
CSR and SSL Key being regenerated on a puppet node
This is causing me to --clean the first key, and --sign again after the
second run of puppetd --test
First Run:
[root@asmc1n2 ~]# puppetd --test
warning: peer certificate won''t be verified in this SSL session.
info: Creating a new certificate request for asmc1n2.dev.gridapp.com
info: Creating a new SSL key at
/var/lib/puppet/ssl/private_keys/asmc1n2.dev.gridapp.com.pem
...
Second
2007 Dec 17
21
New error in Centos 5.1
Just started a "pilot" puppet server for real after messing around in
VMs for the past week or so... I used the 0.24.0 since it was available,
and on the test run, got this:
err: Could not prefetch package provider ''yum'': Execution of
''/usr/bin/python
/usr/lib/ruby/site_ruby/1.8/puppet/provider/package/yumhelper.py''
returned 512: /usr/bin/python:
2007 Dec 20
11
No networking
I''m trying to run puppet on a node I''m cloning from CD. No IP, no DNS,
puppet with a standalone manifest and --use-nodes.
I get dnsdomainname errors and a "Network is unreachable" error. I''m
using 0.20, but I checked for new options in 0.23 and didn''t see one
to turn off networking.
Is this an option?
Thanks.
2011 Nov 29
2
template does not print variables
Hello list,
I am having a problem with template file. Why are variables not interpolated?
[root@puppet manifests]# cat /etc/motd
memory free = <%= memoryfree %>
domain = <%= domain %>
operating system = <%= operatingsystem %>
This is the template file
[root@puppet manifests]# cat ../templates/motd.erb
memory free = <%= memoryfree %>
domain = <% domain %>
2007 Jan 04
3
grid control example doesn''t work on osx.4
Hi,
I am trying to use wxruby2-preview (0.0.38) on my intel macbook
running os10.4.8. I am having a beast of a time running the examples
in the tutorials. The super basic frame example worked but the
simple grid tutorial bombs with the following message:
------
[WhiteGhost:~/tmp/wxStff] hjw$ ruby ./grid.rb
/usr/local/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.38-i686-
2009 Jun 30
6
Variable named "memory" in templates
I tried to use a Puppet variable named "$memory" and access it from
a template, like this:
$memory = 4711
file {
"/tmp/test.txt":
content => inline_template("memory = <%= memory %>\n");
}
One would think that my file would contain "memory = 4711" after that,
but instead the memory variable seems to hold a
2009 Dec 12
4
grid et boxsizer
Bonjour.
Une fois mon application ouverte, je voudrais savoir, si cela est
possible, comment dimensionner automatiquement la totalité des colonnes
du grid à la taille de mon boxsizer, quand je change la taille de mon
application? (puique mon grid est inséré dans mon boxsizer).
merci
2009 Dec 09
3
facter 1.5.7 all lsb* items missing
I have 2 RHEL 5.4 systems where all facter lsb* items are missing. Any
ideas?
Sanitized facter output:
architecture => i386
domain => missyou.edu
facterversion => 1.5.7
fqdn => broken.missyou.edu
hardwareisa => i686
hardwaremodel => i686
hostname => broken
id => root
interfaces => eth0,sit0
ipaddress => 1.2.1.5
ipaddress_eth0 => 1.2.1.5
is_virtual => true
2007 Mar 20
0
[903] branches/wxruby2/wxwidgets_282/samples: Added #!/usr/bin/env ruby to the grid sample.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Dec 28
2
puppet hangs on Puppet::Type::Package::ProviderYum
This is particularly nasty, since it''s on the puppetmaster itself:
[root@puppet tmp]# rpm -q yum puppet puppet-server
yum-3.0.5-1.el5.centos.5
puppet-0.24.0-2.el5
puppet-server-0.24.0-2.el5
[root@puppet tmp]# cat /etc/issue
CentOS release 5 (Final)
Here''s the output of puppetd --debug:
notice: Starting catalog run
debug: Loaded state in 0.01 seconds
debug: Prefetching rpm
2012 Jul 05
1
hash to_yaml in erb template not giving valid yaml
Hi,
I want to use a file resource to write a facts.yaml file for
Mcollective. For some reason it won''t provide a valid yaml format if I
dump my scope to hash and convert to_yaml.
file {
"/etc/mcollective/facts.yaml" :
owner => root,
group => root,
mode => 400,
loglevel => debug,
#content => inline_template("<%= scope.to_hash.reject {
2007 Feb 14
0
[875] trunk/wxruby2/samples: Add expanded grid sample
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: