Hi,
I am new to puppet as well, but I could tell you how to do a similar
install.
exec { "getthesource":
command => "wget http://thesourceurl",
cwd => "/the/directory/to/issue/this/command/from"
}
exec { "untarthesource":
command => "the_untar_command",
cwd => "the/directory/to/issue/this/command/from",
require => Exec["getthesource"]
}
exec { "./configure":
command => "the/directory/to/issue/this/command/from/configure",
cwd => "as above",
require => Exec["untarthesource"]
}
And the other steps follow in a similar manner.. You should probably check
the exec resource type in the type reference.
.............
But, I think this is not the most elegant way of doing it... There is the
package resource type in puppet which can be used to install packages from
binaries, but yes, I haven't found another way to install from source.
2009/6/25 Neil K <[email protected]>
>
> Thank you for your replies. As I said I am pretty new to this puppet
> language. Could any one please point how to do a sample package
> install which includes a ./configure, make, make install inside a
> package directory?
>
> Thanks again for our helps.
>
> Regards,
> Neil
> >
>
--
Regards,
Swati
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---