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 <[email protected] > 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 <[email protected]>[email protected] >
