I use it to include files which, for whatever reason, won't be auto-imported. Specifically, I use it to includes my nodes.pp and defines.pp files, since neither of them define any classes, and I want my defines all in one place, usable anywhere.
On Apr 14, 2011, at 11:05 AM, Randall Hansen wrote: > Good people ~ > > I'm running through the Puppet DSL trying to understand it. Some > parts seem a little funky, like "import." Before I start forming any > silly opinions, tell me: what do you use "import" for? Does it serve > that purpose well, or do you grimace a little every time you type it? > > Thanks! > > r > > -- > Randall Hansen • Director of User Experience • [email protected] > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
