All, Is there a way to tell puppet to run, but to skip/ignore resources with a certain tag? The use case is tagging certain resources as, say, ''software deployment'', and then having the resources tagged as that always ignored unless specifically told to do so? We''d like to put software deployment stuff into puppet, but only have it actually run when we tell it to. 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.
Use puppet apply file.pp Or don''t deploy webapps with Puppet. That''s probably a better idea. On Tue, Jul 19, 2011 at 10:32 PM, Douglas Garstang <doug.garstang@gmail.com>wrote:> All, > > Is there a way to tell puppet to run, but to skip/ignore resources with a > certain tag? The use case is tagging certain resources as, say, ''software > deployment'', and then having the resources tagged as that always ignored > unless specifically told to do so? We''d like to put software deployment > stuff into puppet, but only have it actually run when we tell it to. > > 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.
Doug, We''ve been successful with software deployments and Puppet has done a great job. We deploy to Tomcat, JBoss, Coldfusion and Apache web sited. In some cases we''ve needed to tie in a shell script which were nearly impossible to get right in Puppet. One of the keys to your question was that we created a "releases" directory and touch a file with the software release number embedded in the name. The release number is defined in a puppet config and the process runs OnlyIf the file doesn''t exist. John -- 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.