Hi Sajith,

Yes, this is indeed the cause. For the issue with the two agents, I think
we can maintain a variable, $agent in the service module, and manually
change it in the puppet master to use the two agents interchangeably. There
is the possibility to have two class definitions for each module for the
two agents, however IMO that level of flexibility is not needed.

@Anuruddha,

Could you check with the above change applied?




Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Fri, Mar 6, 2015 at 2:30 PM, Sajith Kariyawasam <saj...@wso2.com> wrote:

> @Chamila, could you please verify, with python agent in place, we now
> maintain two separate puppet modules, "agent" for Java agent, and
> "python_agent" for python agent..?
>
> On Fri, Mar 6, 2015 at 2:28 PM, Sajith Kariyawasam <saj...@wso2.com>
> wrote:
>
>> template files should be in modules/python_agent/templates location.
>>
>> Seems in init.pp, when invoking push_template template_dir was set as
>> "agent", but I think it should be corrected as "python_agent"
>>
>> On Fri, Mar 6, 2015 at 2:15 PM, Anuruddha Liyanarachchi <
>> anurudd...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I am trying to setup python cartridge agent on puppet master 3.7. I have
>>> copied all the modules and manifests files to puppet master.
>>>
>>> When I run the puppet agent from I am getting following error.
>>>
>>> Info: Retrieving pluginfacts
>>>> Info: Retrieving plugin
>>>> Info: Loading facts
>>>> Error: Could not retrieve catalog from remote server: Error 400 on
>>>> SERVER: Could not find template
>>>> 'agent/extensions/domain-mapping-added.sh.erb' at
>>>> /etc/puppet/modules/python_agent/manifests/push_templates.pp:26 on node
>>>> 1.manager.esb
>>>> Warning: Not using cache on failed catalog
>>>> Error: Could not retrieve catalog; skipping run
>>>
>>>
>>> Is template(domain-mapping-added.sh.erb) loading from
>>> modules/python_agent/files or modules/agent/templates?
>>>
>>> --
>>> *Thanks and Regards,*
>>> Anuruddha Lanka Liyanarachchi
>>> Software Engineer - WSO2
>>> Mobile : +94 (0) 712762611
>>> Tel      : +94 112 145 345
>>> a <thili...@wso2.com>nurudd...@wso2.com
>>>
>>
>>
>

Reply via email to