projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70ba408
)
Use _ instead of -
author
Peter Palfrader
<peter@palfrader.org>
Sun, 21 Feb 2010 14:01:15 +0000
(15:01 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 21 Feb 2010 14:01:15 +0000
(15:01 +0100)
facts/portforwarder.rb
patch
|
blob
|
history
diff --git
a/facts/portforwarder.rb
b/facts/portforwarder.rb
index
0534f1a
..
fe3cebd
100644
(file)
--- a/
facts/portforwarder.rb
+++ b/
facts/portforwarder.rb
@@
-1,7
+1,7
@@
begin
require 'etc'
- Facter.add("portforwarder
-
key") do
+ Facter.add("portforwarder
_
key") do
setcode do
key = nil
keyfile = '/home/portforwarder/.ssh/id_rsa.pub'
@@
-12,7
+12,7
@@
begin
end
end
- Facter.add("portforwarder
-user-
exists") do
+ Facter.add("portforwarder
_user_
exists") do
setcode do
result = false
begin