Hello, Is there a list of variables somewhere that are available to puppet? I know a few are: $environment $name $modulepath $server Thanks, -Roy Nielsen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Roy Nielsen wrote:> Hello, > > Is there a list of variables somewhere that are available to puppet? I > know a few are: > > $environment > $name > $modulepath > $servermost available variables are defined by facter, which you can run on the commandline to see which vars have what values. Regards, DavidS --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Jul 9, 2009, at 9:20 PM, David Schmitt wrote:> > Roy Nielsen wrote: >> Hello, >> >> Is there a list of variables somewhere that are available to >> puppet? I >> know a few are: >> >> $environment >> $name >> $modulepath >> $server > > most available variables are defined by facter, which you can run on > the > commandline to see which vars have what values. > >And do now forget that facter is the part of puppet that is easiest to extend. It only takes twenty minutes to know enough ruby to add facts. This will give you variables for anything you decide. Regards --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Am 09.07.2009 um 21:20 schrieb David Schmitt:> most available variables are defined by facter, which you can run on > the > commandline to see which vars have what values.Not completely, as IIRc puppet brings a few facts of its own that facter won''t show when run on its own on the CLI. Regards, Felix --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hello, So - it looks like the variables in /etc/puppet/puppet.conf are also available? Adding facts isn''t too bad :) Regards, -Roy Bjørn Dyresen wrote:> > On Jul 9, 2009, at 9:20 PM, David Schmitt wrote: > >> >> Roy Nielsen wrote: >>> Hello, >>> >>> Is there a list of variables somewhere that are available to puppet? I >>> know a few are: >>> >>> $environment >>> $name >>> $modulepath >>> $server >> >> most available variables are defined by facter, which you can run on the >> commandline to see which vars have what values. >> >> > > And do now forget that facter is the part of puppet that is easiest to > extend. It only takes twenty minutes to know enough ruby to add facts. > This will give you variables for anything you decide. > > Regards > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
What variables are available in a module. Say for example $name is the name of the module, right? What is this kind of variable called - a metadata variable? Is there a list of such variables? Are facts allowed in the puppet.conf file? Are there preset variables for the puppet .conf file? Are they documented? --- Thanks, Allan Marcus 505-667-5666 On Jul 9, 2009, at 10:41 AM, Roy Nielsen wrote:> > Hello, > > Is there a list of variables somewhere that are available to > puppet? I > know a few are: > > $environment > $name > $modulepath > $server > > Thanks, > -Roy Nielsen > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Allan Marcus wrote:> What variables are available in a module.What variables are available in a Puppet manifest.> Are facts allowed in the puppet.conf file?Have you tried? -scott --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thank you for your suggestion. No, I haven''t tried. I also haven''t trying banging on my keyboard until I produce Shakespeare. I was hoping to get an informed answer from the knowledgeable people on this list before I wasted my time. Also, trial and error will not let me know if there are any restrictions on what facts can be used or where. I was unable to find any information on using facts in the documentation, or which variables are preset for the conf file or in a manifest. I know facts are available as variables in a manifest, but I also know there are some default variables like $title that are not facts. --- Thanks, Allan Marcus 505-667-5666 On Jul 9, 2009, at 7:57 PM, Scott Smith wrote:> > Allan Marcus wrote: >> What variables are available in a module. > > What variables are available in a Puppet manifest. > >> Are facts allowed in the puppet.conf file? > > Have you tried? > > -scott > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---