On 4/23/14, 8:10 PM, "Aaron Shegrud" <
sheg...@gmail.com> wrote:
>I created a fact, loaded it into the my modules/[module]/lib/facter/
>directory
>it synchronized across all my users.
>I can see the fact in puppet-dashboard for all of my
>users:mac_airport_iden1
>but I cannot seem to use it in a command.
>
>I'm trying to run this command:
>
>exec {'killwifi':
> command => '/usr/sbin/networksetup -setairportpower
>${mac_airport_id} off',
> }
>
>but am getting an error on each run:
>Could not match ${mac_airport_id}
>
>
>