search for: lang_datatypes

Displaying 2 results from an estimated 2 matches for "lang_datatypes".

2013 Sep 12
2
testing for truth, are the docs correct?
According to the documentation at http://docs.puppetlabs.com/puppet/2.7/reference/lang_conditional.html#if-statements, you can test for truth with syntax like this: if $is_virtual == ''true'' { AFAICT that''s not the case. The quotes around ''true'' make the comparison always fail. Here''s my test case class users {
2013 Aug 01
3
escape sequence within generate function
I''m looking for some help in getting the proper escape sequence within the generate function. Ultimately what I''m trying to do is generate some random strings, store them as variables, and use those variables to populate configuration files stored as templates. I can get this to work when applying the template on the localhost, but it fails when applied via the puppet