diff options
author | asq <asq@asq.art.pl> | 2014-04-03 19:02:02 +0200 |
---|---|---|
committer | Anna Janackova <anna.janackova@gmail.com> | 2014-06-24 08:11:45 +0200 |
commit | 9f21b44da1ec9b24820ac08e2e4d1e171fabbf7e (patch) | |
tree | 125268cae73eb23fc109b8e11a143dc6cae7d7ed /lib/trocla/formats.rb | |
parent | b70fcc845696f58b2a5d36039df5f2c8c1dd2e04 (diff) |
puppet will convert all values to string, so we need to convert it back to integer for ranges
ie. for this to work:
$short_and_safe = {
'shellsafe' => 'true',
'length' => 6, # THIS WILL BE STRING!
}
$x = trocla('foo', 'plain', $short_and_safe)
notify { "test: $x": }
Diffstat (limited to 'lib/trocla/formats.rb')
0 files changed, 0 insertions, 0 deletions