search for: name_rsa

Displaying 2 results from an estimated 2 matches for "name_rsa".

Did you mean: name_ret
2007 Feb 09
2
Use of variables in defines...
...me/newusername" } 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...
2006 Oct 26
3
Resources...
...owner => $name, group => $name, mode => 770 } file { "/home/$name/.ssh": ensure => directory, owner => $name, group => $name, mode => 770 } configfile { "/home/$name/.ssh/authorized_keys": source => "sshkeys/$name_rsa.pub", mode => 600 } } } <snap> I hoped this could be used to realize the admin users I needed, but apparently I''ve got it wrong. -- Med venlig hilsen Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: 70 202 407 / Fax: 33 313 640 www.fab-i...