It is described in the metaparameters section http://docs.puppetlabs.com/references/latest/metaparameter.html
Regards, El 25/04/2014 20:31, "Dan Pasacrita" <whitewind...@gmail.com> escribió: > Thanks dude, noop was exactly what I was looking for. I'm wondering why > the Documentation doesn't point out this feature more, because I don't > recall ever seeing it. > > > On Fri, Apr 25, 2014 at 10:54 AM, José Luis Ledesma < > joseluis.lede...@gmail.com> wrote: > >> You can use the noop parameter to avoid modifications, and the tagmail >> feature to receive an email notification just for this resource. >> >> Regards, >> El 25/04/2014 16:22, "Dan Pasacrita" <whitewind...@gmail.com> escribió: >> >>> Hey everyone, first I want to say that I joined this community a few >>> days ago and already you guys have been amazingly helpful. >>> >>> One thing that's been puzzling me lately is how I can have puppet >>> examine a directory, compare its contents against a source, but only notify >>> you if anything is missing. I know I can have it automatically sync the >>> contents with the following: >>> >>> file { '/path/to/file': >>> ensure => "directory", >>> recurse => "remote", >>> mode => 755, >>> source => "/path/to/source", >>> } >>> >>> But is there any way for it to *just* check the directory, and not move >>> anything over? Maybe it can run an exec command if it doesn't find every >>> file that it needs to? One thing I was looking at was the creates >>> parameter, like this: >>> >>> exec { "/bin/echo absent >> /home/dpasacrita/absent.txt ": >>> creates => "/home/user_name/test_dir", >>> } >>> >>> which will create a text file if the directory "test_dir" is absent. >>> This works, but it can't check the contents, since there's no source to >>> compare them to. So I don't think that's the right way to go about it. >>> >>> Any ideas? >>> >>> -- >>> 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 view this discussion on the web visit >>> https://groups.google.com/d/msgid/puppet-users/7d2d3710-f2b6-41b2-88c5-dbeb53fff820%40googlegroups.com<https://groups.google.com/d/msgid/puppet-users/7d2d3710-f2b6-41b2-88c5-dbeb53fff820%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Puppet Users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/puppet-users/DRdAGS4Xir8/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> puppet-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/CAF_B3de4r29wWXs423Lx7EyMY%3DKrh4tERPTO7VwPSpJiDsuswg%40mail.gmail.com<https://groups.google.com/d/msgid/puppet-users/CAF_B3de4r29wWXs423Lx7EyMY%3DKrh4tERPTO7VwPSpJiDsuswg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CACLa9dWi%3D-3-NXOU8SVcefX0pEWwHRpg5CCK%2B5-d0eiBOso_xQ%40mail.gmail.com<https://groups.google.com/d/msgid/puppet-users/CACLa9dWi%3D-3-NXOU8SVcefX0pEWwHRpg5CCK%2B5-d0eiBOso_xQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAF_B3dfMbjPJzfMPjf8%3DTmmLZH9koPEO_m_eoh_5W0X%2BBdhWVw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.