Hello Group, My code was working in 2.7.X puppetserver version but it is not running on puppetmaster 3.8.7.
Facter version : facter -v 1.7.5 my code is : require 'facter' Facter.add(:xyz_version) do confine :kernel => "Linux" setcode do Facter::Core::Execution.execute('/bin/cat /var/xyz/installation.log | /bin/grep "CCHIDS VERSION" | /bin/grep -o "[0-9].[0-9]"') end end please guide. If these types of command can not be executed in this version of puppet, what is the other solutions/Alternatives. Can it be done via ruby, please guide with some examples. Regards, Abhishek Singh -- 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/6ae673c6-258f-4c38-8389-b880c7cbf37e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.