Re: [Puppet Users] Custom Fact used in exec command

2014-04-23 Thread Aaron Shegrud
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" > > wrote: > > > >I created a fact, loaded it in

[Puppet Users] Custom Fact used in exec command

2014-04-23 Thread Aaron Shegrud
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': com

Re: [Puppet Users] elseIf statement confusion

2014-04-23 Thread Aaron Shegrud
I'm serious I think I read that a million times and my dyslexia kicked in until you pointed it out. thanks. On Wednesday, April 23, 2014 2:07:36 PM UTC-7, Robin Bowes wrote: > > Read here: > > > http://docs.puppetlabs.com/puppet/latest/reference/lang_conditional.html#if-statements > > > In par

Re: [Puppet Users] elseIf statement confusion

2014-04-23 Thread Aaron Shegrud
ahh damn it. haha thanks. On Wednesday, April 23, 2014 2:07:36 PM UTC-7, Robin Bowes wrote: > > Read here: > > > http://docs.puppetlabs.com/puppet/latest/reference/lang_conditional.html#if-statements > > > In particular, note the spelling of elsif. :) > > R. > > -- You received this me

[Puppet Users] elseIf statement confusion

2014-04-23 Thread Aaron Shegrud
I have a class class whs::auth { if ($macosx_productversion_major == '10.9'){ file { 'authorization109': path=> '/System/Library/Security/authorization.plist', ensure => file, owner => 'root', group => 'wheel',