Found this old post when looking for a way to do this. I wrote the
following short script for this purpose.
It will give you a diff of each copy of a file you search for compared to
the next older version in the file bucket starting with the current file.
Hope it helps someone else as the file b
I'm not sure exactly what your trying to achieve by getting the provider
but I give it a shot at it anyway.
In order to get debugging info from puppet you would use a
notice. http://www.puppetcookbook.com/posts/simple-debug-messages.html
So if you wanted to have your EL systems tell you they i
I came a across this post and like what I see but would off the following
addition to Ian's suggestion so that the expire cache is not executed on
every puppet run.
exec { 'yum-clean-expire-cache':
command => '/usr/bin/yum clean expire-cache',
refreshonly => true,
}
package
You can use concat fragments to specify the order of stanzas or lines.
Forgive the pseudo code below but you should be able to get the idea
concat::fragment { original_file:
order => 10,
}
concat::fragment { other_stuff:
order => 50,
}
concat::fragment { last_line: