diff options
author | James Shubin <james@shubin.ca> | 2014-10-21 14:07:32 -0400 |
---|---|---|
committer | James Shubin <james@shubin.ca> | 2014-10-21 14:07:32 -0400 |
commit | e99afc506680bdb9225fe0473cbf366aad451d23 (patch) | |
tree | 648d2051d8090b89cdc8fae7b6dc241311464737 /lib | |
parent | a4bf5cad81ca66212f4c8e52edb2e816b8895690 (diff) | |
download | puppet-gluster-e99afc506680bdb9225fe0473cbf366aad451d23.tar.gz puppet-gluster-e99afc506680bdb9225fe0473cbf366aad451d23.tar.xz puppet-gluster-e99afc506680bdb9225fe0473cbf366aad451d23.zip |
Fix typo.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/parser/functions/brick_layout_chained.rb | 2 | ||||
-rw-r--r-- | lib/puppet/parser/functions/brick_layout_simple.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/parser/functions/brick_layout_chained.rb b/lib/puppet/parser/functions/brick_layout_chained.rb index 0dff9aa..18d5ef3 100644 --- a/lib/puppet/parser/functions/brick_layout_chained.rb +++ b/lib/puppet/parser/functions/brick_layout_chained.rb @@ -38,7 +38,7 @@ module Puppet::Parser::Functions raise Puppet::ParseError, "brick_layout_chained(): expects the first argument to be an integer, got #{args[0].inspect} which is of type #{args[0].class}" end unless args[1].is_a?(Array) - raise Puppet::ParseError, "brick_layout_chained(): expects the first argument to be an array, got #{args[1].inspect} which is of type #{args[1].class}" + raise Puppet::ParseError, "brick_layout_chained(): expects the second argument to be an array, got #{args[1].inspect} which is of type #{args[1].class}" end replica = args[0].to_i # convert from string if needed diff --git a/lib/puppet/parser/functions/brick_layout_simple.rb b/lib/puppet/parser/functions/brick_layout_simple.rb index aefc1e2..d91a472 100644 --- a/lib/puppet/parser/functions/brick_layout_simple.rb +++ b/lib/puppet/parser/functions/brick_layout_simple.rb @@ -43,7 +43,7 @@ module Puppet::Parser::Functions raise Puppet::ParseError, "brick_layout_simple(): expects the first argument to be an integer, got #{args[0].inspect} which is of type #{args[0].class}" end unless args[1].is_a?(Array) - raise Puppet::ParseError, "brick_layout_simple(): expects the first argument to be an array, got #{args[1].inspect} which is of type #{args[1].class}" + raise Puppet::ParseError, "brick_layout_simple(): expects the second argument to be an array, got #{args[1].inspect} which is of type #{args[1].class}" end replica = args[0].to_i # convert from string if needed |