I want call diffrent manifest files for diffrent rules and systems. I think that write all rules in one file is not good idea :-)
четверг, 14 февраля 2013 г., 18:41:33 UTC+4 пользователь jcbollinger написал: > > > > On Thursday, February 14, 2013 5:55:35 AM UTC-6, blalor wrote: >> >> Import is like a #include in C: it's essentially a preprocessor directive >> and is evaluated before the if/ else. >> >> http://docs.puppetlabs.com/puppet/2.7/reference/lang_import.html >> >> > > But also, as I just remarked in another thread, 'import' causes the > specified manifest to be parsed as a standalone manifest file. That's > decidedly *un*like cpp's '#include'. As a result, it is misleading to > put an 'import' anywhere other than at top scope. If you are going to > insist on using 'import', then at least do yourself the favor of putting > all your 'import' lines at the very beginning of the manifest. > > > John > > -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
