It sounds like you want to use facts to make decisions about what configurations to apply:
http://docs.puppetlabs.com/puppet/latest/reference/lang_facts_and_builtin_vars.html http://docs.puppetlabs.com/guides/custom_facts.html The usual caveat here tends to be that you should be telling the host what to configure, not configuring based on what the machine thinks. To store configuration details in a straightforward fashion, you should probably be looking into hiera: http://docs.puppetlabs.com/hiera/1/ On Sun, Jun 15, 2014 at 10:40:43PM -0700, Malintha Adikari wrote: > Hi, > I am new to puppet. In my puppet master side I want to create some > configurations dynamically. For that I have to send those configuration > details along with the puppet agent request to the master. I have plenty > of configurations details to be sent with a request. Does Puppet support > this kind of operation. How can I achieve this ? > Regards, > Malintha Adiakri > > -- > 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 [1][email protected]. > To view this discussion on the web visit > > [2]https://groups.google.com/d/msgid/puppet-users/be2e1f24-1515-4f5e-8c4a-7d488b473d8e%40googlegroups.com. > For more options, visit [3]https://groups.google.com/d/optout. > > References > > Visible links > 1. mailto:[email protected] > 2. > https://groups.google.com/d/msgid/puppet-users/be2e1f24-1515-4f5e-8c4a-7d488b473d8e%40googlegroups.com?utm_medium=email&utm_source=footer > 3. https://groups.google.com/d/optout -- 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/20140616133324.GA2413%40iniquitous.heresiarch.ca. For more options, visit https://groups.google.com/d/optout.
