Larry Fast
2013-Apr-29 23:34 UTC
[Puppet Users] What''s my syntax problem: "Could not match ''c:/tmp'' " ?
I assume I have a syntax problem of some kind. I created a class file and puppet complains on line 4. If I remove that block of code it complains about the next block. What silly little mistake have I made? The error reported for the code example below is: Could not match ‘george’, at /etc/puppet/environments/dev22/modules/custom_facts/manifests/virtuals.pp:4 class custom_facts::virtuals() { $tmp1 = $operatingsystem ? { /hello/ => ‘george’, /windows/ => ''C:/tmp'', default => ‘/tmp’, } @file { ''tmp'': ensure => directory, path => "$tmp1", } -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.