Found out this can be done via Facter['my_fact'].value
On Friday, April 26, 2013 8:06:54 AM UTC+3, Andriy Yurchuk wrote:
>
> I'm writing a custom Puppet service provider and I need to access one of
> my facts value inside provider to then be able to use the value inside
> startcmd/stopcmd. There
On Friday, April 26, 2013 12:06:54 AM UTC-5, Andriy Yurchuk wrote:
>
> I'm writing a custom Puppet service provider and I need to access one of
> my facts value inside provider to then be able to use the value inside
> startcmd/stopcmd. There is a confine which can test whether a fact exists,