I think you would want to create a fact that publish that state to the master.
On Wed, Nov 28, 2012 at 3:26 PM, Romain Gales <romain.ga...@gmail.com>wrote: > Hi pupper community, > > I am working with puppet on Windows and have an issue. > I want to check what version of a package is installed. > My idea was to add a file in the package package28112012.txt and while > running the manifest check if that package28112012.txt exists on the agent? > Can I define a variable reading this filename on the master? > > Regards and thanks in advance, > > Romain > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/tuum3dQXrYoJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.