I think that "include" for classes, and "import" for pp-files. I learn puppet second day :-)
четверг, 14 февраля 2013 г., 14:27:46 UTC+4 пользователь bernard...@morpho.com написал: > > Ah ok, you use an import and not an include. > > > > As I understood, this is not exactly the same things. > > > > Cordialement, > > > > Bernard Granier > > CE Plateforme Système > > bernard...@morpho.com <javascript:> > > 01 58 11 32 51 > > > > *From:* puppet...@googlegroups.com <javascript:> [mailto: > puppet...@googlegroups.com <javascript:>] *On Behalf Of *??????? ????????? > *Sent:* Thursday, February 14, 2013 11:23 AM > *To:* puppet...@googlegroups.com <javascript:> > *Subject:* Re: [Puppet Users] Re: How to call one manifset from another > > > > /etc/puppet/manifests/site.pp > > /etc/puppet/manifests/os/win.pp > > /etc/puppet/manifests/os/lin.pp > > > > site.pp: > > > > import 'os/win.pp' > > import 'os/lin.pp' > > четверг, 14 февраля 2013 г., 14:17:47 UTC+4 пользователь > bernard...@morpho.com написал: > > Subdirs ? which one ? > > > > Cordialement, > > > > Bernard Granier > > CE Plateforme Système > > bernard...@morpho.com > > 01 58 11 32 51 > > > > *From:* puppet...@googlegroups.com [mailto:puppet...@googlegroups.com] *On > Behalf Of *??????? ????????? > *Sent:* Thursday, February 14, 2013 9:44 AM > *To:* puppet...@googlegroups.com > *Subject:* Re: [Puppet Users] Re: How to call one manifset from another > > > > You can put it into subdirs. > > четверг, 14 февраля 2013 г., 12:22:39 UTC+4 пользователь > bernard...@morpho.com написал: > > Yes but is it ok to have in directory …/puppet/manifest let’s say three > files : > > file1.pp defining some nodes > > file2.pp defining some nodes > > > > and site.pp with : > > include file1 > > include file2 > > > > ? > > > > Sincerly, > > > > Bernard Granier > > CE Plateforme Système > > bernard...@morpho.com > > 01 58 11 32 51 > > > > *From:* puppet...@googlegroups.com [mailto:puppet...@googlegroups.com] *On > Behalf Of *??????? ????????? > *Sent:* Thursday, February 14, 2013 6:57 AM > *To:* puppet...@googlegroups.com > *Subject:* [Puppet Users] Re: How to call one manifset from another > > > > import 'some.pp' > > среда, 13 февраля 2013 г., 13:03:15 UTC+4 пользователь yarlagadda ramya > написал: > > Hi all, > > I have 3 different manifests. How can i call one manifest from another > manifest? > > Please do help me with this. > > -- > 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 puppet-users...@googlegroups.com. > To post to this group, send email to puppet...@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > > # > " This e-mail and any attached documents may contain confidential or > proprietary information. If you are not the intended recipient, you are > notified that any dissemination, copying of this e-mail and any attachments > thereto or use of their contents by any means whatsoever is strictly > prohibited. If you have received this e-mail in error, please advise the > sender immediately and delete this e-mail and all attached documents from > your computer system." > # > > -- > 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 puppet-users...@googlegroups.com. > To post to this group, send email to puppet...@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > > # > " This e-mail and any attached documents may contain confidential or > proprietary information. If you are not the intended recipient, you are > notified that any dissemination, copying of this e-mail and any attachments > thereto or use of their contents by any means whatsoever is strictly > prohibited. If you have received this e-mail in error, please advise the > sender immediately and delete this e-mail and all attached documents from > your computer system." > # > > -- > 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 puppet-users...@googlegroups.com <javascript:>. > To post to this group, send email to puppet...@googlegroups.com<javascript:> > . > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > > # > " This e-mail and any attached documents may contain confidential or > proprietary information. If you are not the intended recipient, you are > notified that any dissemination, copying of this e-mail and any attachments > thereto or use of their contents by any means whatsoever is strictly > prohibited. If you have received this e-mail in error, please advise the > sender immediately and delete this e-mail and all attached documents from > your computer system." > # > -- 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 puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.