Permalink
Browse files

wrong way of calling puppet functions from ruby.

  • Loading branch information...
1 parent 8db17fd commit e63ab204a4c1a892ec4815df1fa69d00ba0d7191 @specialunderwear committed Dec 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/puppet/parser/functions/server_with_role.rb
@@ -16,7 +16,7 @@ module Puppet::Parser::Functions
fallback = args.pop
end
- servers = servers_with_role(args)
+ servers = function_servers_with_role(args)
servers.count ? servers[0] : fallback
end
end

0 comments on commit e63ab20

Please sign in to comment.