Displaying 1 result from an estimated 1 matches for "get_client_info_unique".
2007 Sep 03
2
Templates
...vailable the first time the template is run.
However, it is soon available, but the template does not always
rerun to get the new info. All the functions do is search files
on the local filesystem.
Thanks for help, Alex
<%
load "/var/lib/puppet/templates/funcs.rb"
puppetmasterip = get_client_info_unique("puppet", "ipaddress")
httppassword = get_client_info_unique("puppet", "yumhttpdpassword")
%>https://deploy:<%= httppassword %>@<%= puppetmasterip %>/yum-repo/pidocs/