I have a file with this code in it:

notify {'a':
  message => "${title}"
}

The output after running 'puppet apply file.pp':

notice: main
notice: /Stage[main]//Notify[a]/message: defined 'message' as 'main'
notice: Finished catalog run in 0.57 seconds

I expected this output:

notice: a
notice: /Stage[main]//Notify[a]/message: defined 'message' as 'a'
notice: Finished catalog run in 0.57 seconds

Why is $title considered to have the value "main"?

-- 
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+unsubscr...@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.


Reply via email to