Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

wrong way of calling puppet functions from ruby.

  • Loading branch information...
commit e63ab204a4c1a892ec4815df1fa69d00ba0d7191 1 parent 8db17fd
@specialunderwear authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/puppet/parser/functions/server_with_role.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.