Displaying 20 results from an estimated 7000 matches similar to: "Multiple template fallbacks"
2011 Nov 30
2
Can I serve a template depending on if it exists like I can a source?
Hi all,
I''m trying to figure out if I can serve a certain template that matches
a hostname or serve the default like I could if this was just a file.
Works:
file { ''/etc/yum.conf'':
ensure => file,
source => ["puppet://puppet/yum/yum.conf.$hostname",
"puppet://puppet/yum/yum.conf"],
}
Trying to figure out:
2011 Jul 25
6
puppetmaster SSL_Read
Seeing ''SSL_read'' errors being logged by puppetmaster. Anyone know
what causes these or how to correct? They''re sporadic, not happening
all the time or on all puppet runs.
/var/log/puppet/masterhttp.log
[2011-07-25 10:00:10] ERROR OpenSSL::SSL::SSLError: SSL_read::
internal error
/var/log/messages
Jul 25 10:00:10 cmd-box puppet-master[22572]: SSL_read:: internal
error
2011 Sep 22
1
CloudPack problems with CentOS AMIs
I noticed the following problems when working with CloudPack and the
image ami-08728661 (and it probably apples to other CentOS images as
well)
1) the ssh user in this AMI is ec2-user, but sudo to root is not
possible in the ssh command unless pseudo-tty allocation forced with
ssh -t option.
so I changed cloudpack.rb, line 573 from:
ssh_remote_execute(server, options[:login], install_command,
2011 Sep 11
15
How To Expand an .erb Template Without Doing a Full Puppet Run?
We use puppet to distribute named zone files, like many
of you do. We use git to maintain these files, which are
then pulled by the puppet master machine. These zone files are
actually puppet template .erb files.
The other day, I made a mistake which resulted in some zone
files with syntax errors in them. Puppet faithfully distributed
the erroneous zone files to the name servers, which killed
2011 Jul 13
4
puppet manifest execution orders
I created manifest for our webserver. manifest included git clone,
database creation and restore database etc.... How to order the
installation and exec exactly
Roni
--
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
2011 Jul 06
7
Issue with puppet file serving api not parsing yaml content correctly
I am working on building a facter tag based node classifier similar to
https://github.com/jordansissel/puppet-examples/tree/master/nodeless-puppet/.
However, I have run into an issue where I cannot use puppet''s require
file ability to push the yaml file containing the facts file to the
client because it would require two runs of puppet to pickup changes.
Consequently, I have written into
2007 May 08
1
rsync fails to sync files
Hi,
I'm seeing a weird problem with rsync 2.6.9 protocol version 29 on
Debian Sarge. When copying a file from one location to another between
two Debian boxes, if destination includes a file with same size and
name, rsync fails to see that they are not exactly the same file.
The situation originates from copying a file to a place which is
periodically rsynced onwards, and the rsync
2006 Jan 09
1
Question about image storage and relative paths
I''m writing a website with a feature that hosts images that people upload.
Right now, relative paths works within on my Windows box. So
specifically, I''m able to call File.open on
"public/images/somefile.jpg" and Rails/WEBrick understands that the
path is relative to the home directory of the project. This means that
"public/images/somefile.jpg" ends up
2009 Feb 25
3
make check reg-tests-1.R error on solaris
R 2.5.1 compiled, passed the make check and has been successfully
running for a couple years on a Sun Fire V490 running Solaris 9. I
need a newer version of R, but can't get a newer version of R to pass
the make check. I've tried 2.8.1, 2.7.2, 2.6.2 and 2.6.0. (2.5.1 still
passes on this server) At this point I thought I'd try to compile it
on another Sun server (Solaris 10),
2009 Feb 25
3
make check reg-tests-1.R error on solaris
R 2.5.1 compiled, passed the make check and has been successfully
running for a couple years on a Sun Fire V490 running Solaris 9. I
need a newer version of R, but can't get a newer version of R to pass
the make check. I've tried 2.8.1, 2.7.2, 2.6.2 and 2.6.0. (2.5.1 still
passes on this server) At this point I thought I'd try to compile it
on another Sun server (Solaris 10),
2012 Oct 23
2
mount -o loop question.
Hi,
I know I can create a file and mount it like this:
dd if=/dev/zero of=/tmp/somefile bs=1024 count=100000
mke2fs /tmp/somefile
mount /tmp/somefile /mnt -o loop
but that has a problem it cannot grow.
Is there a way to do the same (above) but have it not restricted to a size?
Or can I append blocks to the end of the file without distroying it?
Jobst
--
Sendmail administration
2012 Dec 18
2
Bug or strange behaviour or --output-prefix
Hi all,
I was busy programming a tool to automatically run some tests to update
the FLAC comparison page (http://xiph.org/flac/comparison.html) when I
stumbled across some weird behaviour of the flac program. So I compiled
from git and it seems that this bug still is there. As I don't have any
experience on coding C and don't know which bug-report facility to use,
this seemed the
2004 Sep 10
1
[Flac-users] Re: my flac -t issue: next approach
Kerry's post looks very promising:
| It can but is probably not as nice as you would like.
It's a huge improvement over what I can do now. Thank you!
| flac -t *.flac
Now, that doesn't work for me. I know that command.com doesn't glob wildcards
but rather expects the application to do it, and apparently flac.exe doesn't.
Under a real shell that wouldn't be a problem,
2012 Dec 18
2
Odd problem with puppet 3 and module files permissions
We have an odd situation with a puppet 3 installation. It isnt serving out
the module local files.
We understand (Somewhat) about the new auth.conf requirements, and have
filled those out.
So, access to things such as
puppet:///files/etc/somefile.conf
are working fine.
However, attempts to access
puppet:///modulename/somefile.conf
fail, with
(in the case of modulename==java)
Error:
2009 Feb 01
2
Using arrays to generate parameters
My external node classifier returns some arrays in the list of
parameters. Example output (names have been changed to protect the
innocent):
$ ./node_classifier a.b.com
--- %YAML:1.0
"classes": ["class1", "class2", "class3"]
"parameters":
"hostname": "a"
"name": "a"
"domain":
2005 Mar 22
2
mkstemp fails but data still transferred
Hi all,
I'm running rsync version 2.6.3 protocol version 28 on Solaris 8 and am
having a problem.
We have some scripts that wrap around rsync and generate a list of files
to transfer from the sending system (regardless of whether that directory
exists on the receiver). I was expecting rsync to fail when transferring
files with a path that doesn't exist on the receiver (in fact
2003 Feb 05
1
Speed/lockup problems with wireless client
Hi,
I have samba running on a home LAN using a Linksys mixed wired (100 Mbit
ethernet) & wireless access point, which also does NAT to a DSL modem. The
server is connected to this access point via an ethernet cable. Clients can
connect via wireless or wired network connection.
I am using encrypted passwords, and have in smb.conf:
socket options = TCP_NODELAY SO_RCVBUF=4096
2011 Oct 19
5
How to know the generated certname used by a puppet client, for reuse within erb (because of cloud provisioner) ?
Hi,
I am using the cloud provisioner to bootstrap some ec2 nodes, and these
clients are signed using a randomly generated certname, which is put in
/etc/puppet.conf at the bootstrap time (eg certname =
d7bcd693-73fd-495f-0876-ff91ea11111e).
But my puppet code repo also manages the puppet.conf file, so the file will
be overwritten on the client at the first puppet run. Nevertheless, i should
not
2009 May 30
2
How convert Linux path to Windows path like "cygpath" does?
I'm forced to use Windows at work, so I make very heavy use of Cygwin (http://cygwin.com/), a very wonderful thing. One way I use it is with this handy little shell script:
Code:
#!/bin/sh
MSO="/cygdrive/c/Program Files/Microsoft Office/OFFICE11"
if [ -n "$1" ]; then
"$MSO"/WORDVIEW.EXE "$(cygpath -w "$@")" &
else
2004 Jan 20
1
programming cycle: file managment
Hi,
the programming cycle in R is
(1) create somefile.R in some ascii editor
(2) use "source(somefile.R)" to read it.
(3) change the file and repeat step (2).
Or there's a better way ?
Which section of which manual explains that ?
Pedro Cruz