Hello,
2011/1/9 Daniel Pittman :
>
> Hey, thanks for joining us. We love to have new folks come in and
> start using puppet. :)
That's nice to hear. Thank you :-)
> Ben gave the syntax needed to use this in a template, but you should
> be able to use either of the 'hostname' or 'fqdn' facts
On Sat, Jan 8, 2011 at 14:12, Andr? Lu?s Lopes wrote:
> First of all, this is my very first message to this list, so please bear
> with me while I'm getting used to it.
> Sorry for any non-standard way to ask a question here which I can be using
> without prior knowledgment.
Hey, thanks for join
I believe you're looking for templates.
http://docs.puppetlabs.com/guides/templating.html
As an example:
file { "/etc/hosts":
content => template("hosts.erb")
}
And the template would contain this:
127.0.0.1 localhost
192.168.99.99 <%= hostname %> <%= fqdn %>
-Ben
--
You received this
Hi,
First of all, this is my very first message to this list, so please bear
with me while I'm getting used to it.
Sorry for any non-standard way to ask a question here which I can be using
without prior knowledgment.
I would like to be able to set up some config parameters on a given node
whi