Hi,

Let's say I have a module to manage something on a server so

  modules/things/manifests/init.pp
  ......................../addthing.pp

the addthing.pp whould be a define.

And I use this « addthing » inside other module, how can I get the list of
all thing I add. For example

  class my_service {

    include ::things

    things::addthing { 'first' }
    things::addthing { 'second' }
    things::addthing { 'third' }

    # and now I want inside $my_things a string like 'first, second, third'

    }


Regards.


--
Albert SHIH
Heure local/Local time:
jeu 11 jui 2015 22:14:50 CEST

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/20150611202146.GB67815%40pcjas.obspm.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to