Displaying 2 results from an estimated 2 matches for "_rsa".
Did you mean:
_dsa
2007 Feb 09
2
Use of variables in defines...
...ewusername"
}
remotefile is a previously defined resource. So I''m using a defined
resource inside a new defined resource. It works fine, creates the
user, group, homedir, ssh dir, and authorized_keys file. But it seems
that I can''t say:
source => "sshkeys/$name_rsa.pub"
in the remotefile statement - puppet can''t find the file then. It''s
not a big deal, but it''s annoying and prone to errors that is hard to
track down.
How can variables be used in ways like this? Are there any restrictions?
--
Med venlig hilsen
Juri Risch...
2012 Aug 29
4
troubleshooting resource collection
Hi,
I''m new to Puppet. And I''m trying out an ssh module:
https://github.com/saz/puppet-ssh.
It collects ssh keys like this:
class ssh::knownhosts {
Sshkey <<| |>> {
ensure => present,
}
notify{"knownhosts class: $fqdn $hostname $ipaddress ":}
}
I can see it echoes the host key of the host the puppet agent runs on. But
the