class newmodule::men { file {'/tmp/bootstrap.properties': mode => '644', owner => 'root', group => 'root', content => template('newmodule/bootstrap.erb') } }
On Wed, Jul 18, 2012 at 12:11 PM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > > > On 07/18/2012 11:03 AM, Yaniv Fine wrote: > > Frank . > > let me put it all together :) > > > > i have a module name "sharevar" > > i have another module "newmodule" > > inside "sharevar"/manifest/genreic.pp > > class sharevar::generec { > > $vartest = 'infooramtion' > > } > > > > i have newmodule/manifest/men.pp > > that include the content => template path erb file > > and i have the newmodule/templates/new.erb file > > that i want to use value from ("sharevar"/manifest/genreic.pp) > > the $vartest value > > > > hope this helps > > Not really, sorry. > > Please share the content of newmodule/manifest/men.pp > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.