I would like to create one file with array, i.e.:

$pkg_versions = {
  soft1  => { prod => "0.0.6", test => "0.0.7" },
  soft2 => { prod => "1.1.4", test => "1.1.5" };
}

And "require" this file in several environments.

I tried to use "require /var/lib/puppet/somedir/etc/file.inc", but puppet 
can not find it.

What solution should I use? Or maybe is it possible to put this array in 
puppet class, include it in parent classe and get its values?

Thanks for help!

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to