Mohamed Lrhazi
2011-Jan-07 04:33 UTC
[Puppet Users] ralsh does not support inline_template ?
When I run this from command line, I don''t get what I expect: $ sudo puppet resource file /tmp/foo ensure=file content=''inline_template("<%= scope.to_hash.reject { |k,v| !( k.is_a?(String) && v.is_a?(String) ) }.to_yaml %>")'' I expect to see all my facts and env vars, instead I get the literal string: $ cat /tmp/foo inline_template("<%= scope.to_hash.reject { |k,v| !( k.is_a?(String) && v.is_a?(String) ) }.to_yaml %>") Is that a limitation of ralsh, or am I doing it wrong? Thanks a lot, Mohamed. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.