Hey John,
Your comments make absolute sense and after making some changes, things are
working as expected. I've corrected my if statement to include the 'in'
operator along with changing the syntax for how I'm retrieving the
key/value pairs - ${model_hash[$::video_card_id]} - and that fixed th
Hello Thomas,
Thank you for your comments and thoughts. I'm still trying to understand
basic programming and I see now that I'm mixing things up.
I also wanted to thank you for taking the time to put the code up on gist,
in order to give me a clear example of what you are talking about. I v
On Thursday, January 21, 2016 at 4:20:38 PM UTC-6, Mike Reed wrote:
Hello all,
>
> I've got a module that I've been working on in an attempt to make things a
> little smarter and I figured using a hash would be an elegant solution to
> my problem. The short story is that I've got various video
Hi Mike
Am Donnerstag, 21. Januar 2016 23:20:38 UTC+1 schrieb Mike Reed:
>
> ... check the values by running a facter -p, which results in something
> like:
>
> nvidia_installed => false
> video_card_id => 17c2
> class => workstation
>
...
>
> if ($::is_virtual == true) and ($::class == 's