Hi Aron,
You just need to add a new repo section to repoinfo.xml with,
[My-Ambari-Services] {= repo-id}
name=My Ambari Services {= repo-name}
-Sid
On Thu, Jul 11, 2013 at 4:59 PM, Aaron Cody <[email protected]> wrote:
> I have a service FOO that is packaged in foo-1.0.rpm
>
> I put my rpm up on my yum server and verified that 'yum install foo-1.0'
> works ok.
>
> I want to add it to the Ambari stack. I have been trying to follow the
> notes at :
>
> https://cwiki.apache.org/confluence/display/AMBARI/Adding+a+New+Service+as+part+of+the+Stack+Definition
>
> I added a reference to my repo to ambari.repo like so:
>
> [My-Ambari-Services]
> name=My Ambari Services
> baseurl=http://yum.mycompany.com/yum_repo/ambari
> gpgcheck=0
> enabled=1
>
> I added the new service alongside the existing ones in the source code:
> +repos
> +repoinfo.xml
> +services
> Š MAPREDUCE et alŠ
> + FOO
> +metainfo.xml
> +configuration
> +configuration.xml
>
>
> But I need some clarification on the tags in repoinfo.xml. So far I have:
>
> <baseurl>http://yum.mycompany.com/yum_repo/ambari</baseurl>
> <repoid>My-AmbariServices</repoid>
> <reponame>??????????</reponame> <---- what is this????
>
> I guess I'm not understanding where you tell ambari that service FOO
> lives in foo-1.0.rpm Š?
>
> TIA
>