I would actually try it again with an even shorter path. Here's something that
works for me.
fileserver.conf:
[private]
path /etc/puppet/private/%d/%h
allow *
The file is at
/etc/puppet/private///openvpn/server.conf
Manifest reads:
file { "/etc/openvpn/server.conf":
Thanks for the reply, I did try various different path locations before I
posted. I'm guessing that the problem is either in the way that puppet
looks up hostnames or a problem elsewhere in the actual config.
err: /Stage[main]/Sshd/File[/tmp/that.txt]: Could not evaluate:
getaddrinfo: Name
Try using a path of "puppet://server/sshd/files/that.txt" (I removed the word
"modules").
On Jul 22, 2010, at 6:03 AM, denmat wrote:
> Hi all,
>
> Haven't set puppet up for awhile and have an issue with getting files
> served.
>
> I'm running 2.6 gem on fedora12.
>
> class sshd {
>
> file
Hi all,
Haven't set puppet up for awhile and have an issue with getting files
served.
I'm running 2.6 gem on fedora12.
class sshd {
file { "/tmp/that.txt":
source => "puppet://server/modules/sshd/files/that.txt",
ensure => present,
mode => 600,
owner => root,
group =>