On Wed, Aug 1, 2012 at 3:56 PM, Mike Reed <mjohn.r...@gmail.com> wrote:

>
>         # This will run the make which will line up everything to install
> the drivers from source.
>         exec { "/usr/src/ChelsioUwire-1.0.2.26 make
> KDIR=/usr/src/linux-headers-2.6.32-41" :
>                 path => "/usr/src/ChelsioUwire-1.0.2.26" ,
>         }
> }
>
> T
>

Is that a space between the directory path and the "make?"  That line is
confusing me.  Perhaps you wanted it to say
exec { thing:
            cwd => "/usr/src/ChelsioUwire-1.0.2.26",
             path=> "{path with system specific directories in it}",
             command => "make KDIR=/usr/src/linux-headers-2.6.32-41" :
}

It occurs to me that just having the path set to where you are doing your
build is going to leave out the places where things like gcc, ld and
friends live.  You path should be colon delimited with all the directory
paths that contain commands your build is dependant on.

The other thought I had (and maybe I'm missing something here) is I usually
put things like file and exec in this sort of format:

file { 'some-sort-of-tag':
                path => ...,
                souirce => ... (or content => ...)
}

and
exec { some-other-tag: ... etc }


-- 

Peter L. Berghold                       salty.cowd...@gmail.com

http://blog.berghold.net
“"Don't wait until everything is just right. It will never be perfect.
There will always be challenges, obstacles and less than perfect
conditions. So what. Get started now. With each step you take, you will
grow stronger and stronger, more and more skilled, more and more
self-confident and more and more successful." - Mark Victor
Hansen<http://www.quotesdaddy.com/quote/1041647/mark-victor-hansen/dont-wait-until-everything-is-just-right-it-will-never>
”  Get this email app!
<http://www.wisestamp.com/apps/quotes?utm_source=extension&utm_medium=email&utm_term=quotes&utm_campaign=apps>

 Want a signature like mine?
<http://r1.wisestamp.com/r/landing?promo=16&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_16>
Click
here.<http://r1.wisestamp.com/r/landing?promo=16&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_16>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to