I am hoping that someone could post a working example of how they use a ''define'' has in a parameter string because I have been working on this for days to no avail (and googling & checking documentation on puppet & foreman sites. What I am trying to accomplish is to define things within foreman ENC and duplicate the functionality I can get from just using node definitions from a flat file - for example... If in some node, I put... memcached::configure { ''memcached'': total_memory => ''128'', addresses => "127.0.0.1 10.1.1.24", } and I have memcached/manifests/configure.pp define memcached::configure( $addresses="127.0.0.1", $port="11211", $total_memory=''64'' ) { include memcached file {"/etc/memcached.conf": content => template(''memcached/memcached.conf.erb''), owner => root, group => root, mode => 644, require => Class["memcached::install"], notify => Class["memcached::service"], } } This works. But in foreman, I can only have a string, not a true hash. So I obviously need to coerce the string to a hash or more likely yaml which I can do within irb but I can''t seem to make it happen so that it calls the ''define'' like the example above and if I attempt to use ''to_yaml'' within a class it''s always a syntax error. So if someone actually has a working method that would allow me to do this, would they be willing to share an example? -- Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig.white@ttiltd.com 1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired success? Let us help! -- 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.