damn! I knew it was going to be easy.
thanks
and thanks again community! today was not my day...


On Wednesday, April 23, 2014 5:48:34 PM UTC-7, jmslagle wrote:
>
>
> On 4/23/14, 8:10 PM, "Aaron Shegrud" <sheg...@gmail.com <javascript:>> 
> 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} 
> > 
> > 
> > 
>
> You need double quotes ­ single quotes don¹t interpret variables. 
>
> See http://docs.puppetlabs.com/learning/manifests.html 
>
> Jason 
>
>
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/09265e91-1403-45c1-902d-da0299dab534%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to