Furthermore the puppetlabs documentation mentions that an agent's node name is "almost always read from its cert name setting"[1]. The cert name is set to fully qualified domain name of the agent at the install time.
We define nodes as "php", "mysql" etc. Where does the conversion from the domain name "*872389473.deployment1.php.someorg.org <http://872389473.deployment1.php.someorg.org>" *to node name "php" occur? If it is on the puppet master is stratos dependant on the way puppet operates? [1] - https://docs.puppetlabs.com/learning/agent_master_basic.html Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Thu, Aug 14, 2014 at 8:32 PM, Chamila De Alwis <chami...@wso2.com> wrote: > > On Thu, Aug 14, 2014 at 6:41 PM, Dinesh Bandara <dine...@wso2.com> wrote: > >> This will use to request the node catalog from puppet maste > > > An example hostname of a spawned instance would be > *872389473.deployment1.php.someorg.org > <http://872389473.deployment1.php.someorg.org>* where "php" is the node > name. How does puppet master extract the node name from this? I'm not clear > on the details of the node name extraction from the hostname itself. > > > Regards, > Chamila de Alwis > Software Engineer | WSO2 | +94772207163 > Blog: code.chamiladealwis.com > > >