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}*


I might just be going blind today missing simple things all day...



-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/51476c27-4bcc-4985-9d2e-d7e1c9d74143%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to