Update git submodules
* Update puppet-horizon from branch 'master' to dfb5c37f91ec5dcc891f5e5e5ebaa754763d0325 - Merge "Validate boolean values used in if-statement" - Validate boolean values used in if-statement This change ensures the parameters used in if-statement take boolean values, because usage of a different type(eg. String) can cause unexpected evaluation result. [vagrant@localhost ~]$ cat foo.pp $foo = false $bar = 'False' $baz = 'false' if $foo { warning('foo') } if $bar { warning('bar') } if $baz { warning('baz') } [vagrant@localhost ~]$ puppet apply foo.pp Warning: Scope(Class[main]): bar Warning: Scope(Class[main]): baz Notice: Compiled catalog for localhost.localdomain in environment production in 0.02 seconds Notice: Applied catalog in 0.01 seconds [vagrant@localhost ~]$ Change-Id: I5c327c37e700829ffb80b9f58d15607aa883bdc1
This commit is contained in:
parent
df6877e5c3
commit
4cd8a7fcc8
|
@ -1 +1 @@
|
|||
Subproject commit a90402f3372506c3f478db6d85d86a7d80a2b267
|
||||
Subproject commit dfb5c37f91ec5dcc891f5e5e5ebaa754763d0325
|
Loading…
Reference in New Issue