All, Is there a way to run puppet and specify to apply resources NOT containing a tag? ie, negating something like this? puppetd --tags solaris The use case for this is to put a tag in our application code so that when running puppet we know changes made there will NOT be enacted. The only way I can see to do it is to do the opposite.... put a tag indicating it isn''t our code everywher else and run puppetd WITH the tag, which isn''t as maintainable. Doug -- 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.
Anyone? Anyone? Sent from my iPhone On Aug 7, 2012, at 4:47 PM, Douglas Garstang <doug.garstang@gmail.com> wrote:> All, > > Is there a way to run puppet and specify to apply resources NOT > containing a tag? > > ie, negating something like this? > > puppetd --tags solaris > > The use case for this is to put a tag in our application code so that > when running puppet we know changes made there will NOT be enacted. > The only way I can see to do it is to do the opposite.... put a tag > indicating it isn''t our code everywher else and run puppetd WITH the > tag, which isn''t as maintainable. > > Doug-- 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.
I don''t think the tag system was designed to be used like that. Have you checked all the docs? On 9 August 2012 01:19, Douglas Garstang <doug.garstang@gmail.com> wrote:> Anyone? Anyone? > > Sent from my iPhone > > On Aug 7, 2012, at 4:47 PM, Douglas Garstang <doug.garstang@gmail.com> wrote: > >> All, >> >> Is there a way to run puppet and specify to apply resources NOT >> containing a tag? >> >> ie, negating something like this? >> >> puppetd --tags solaris >> >> The use case for this is to put a tag in our application code so that >> when running puppet we know changes made there will NOT be enacted. >> The only way I can see to do it is to do the opposite.... put a tag >> indicating it isn''t our code everywher else and run puppetd WITH the >> tag, which isn''t as maintainable. >> >> Doug > > -- > 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. >-- 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.
Well that sucks, On Wed, Aug 8, 2012 at 4:53 PM, Peter Brown <rendhalver@gmail.com> wrote:> I don''t think the tag system was designed to be used like that. > Have you checked all the docs? > > On 9 August 2012 01:19, Douglas Garstang <doug.garstang@gmail.com> wrote: >> Anyone? Anyone? >> >> Sent from my iPhone >> >> On Aug 7, 2012, at 4:47 PM, Douglas Garstang <doug.garstang@gmail.com> wrote: >> >>> All, >>> >>> Is there a way to run puppet and specify to apply resources NOT >>> containing a tag? >>> >>> ie, negating something like this? >>> >>> puppetd --tags solaris >>> >>> The use case for this is to put a tag in our application code so that >>> when running puppet we know changes made there will NOT be enacted. >>> The only way I can see to do it is to do the opposite.... put a tag >>> indicating it isn''t our code everywher else and run puppetd WITH the >>> tag, which isn''t as maintainable. >>> >>> Doug >> >> -- >> 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. >> > > -- > 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. >-- Regards, Douglas Garstang http://www.linkedin.com/in/garstang Email: doug.garstang@gmail.com Cell: +1-805-340-5627 -- 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.