Sign in
apache
/
puppet-backuppc
/
65cfb8ca574bb37e11bdd971b28ee6e00048f879
/
.
/
lib
/
facter
/
backuppc_pubkey_rsa.rb
blob: e64f13d3445c3c566bdb90fbbb9b80f799997655 [
file
] [
log
] [
blame
]
Facter
.
add
(
'backuppc_pubkey_rsa'
)
do
setcode
do
if
File
.
exists
?(
'/var/lib/backuppc/.ssh/id_rsa.pub'
)
File
.
open
(
'/var/lib/backuppc/.ssh/id_rsa.pub'
).
read
.
split
(
' '
)[
1
]
end
end
end