----- Original Message -----
> From: "mohammed mathin" <[email protected]>
> To: "puppet-users" <[email protected]>
> Sent: Wednesday, 9 November, 2016 23:08:44
> Subject: [Puppet Users] if else statment is now working in puppet
> Hi,
>
> My questing will be silly but sorry for that
>
> I facing problem on setting up the hostname based manifest
>
> My requirement is if the hostname match statment1 file need to be print.
>
> But in all the nodes statmen1 file is printing not sure where i have done
> mistake. hear the below my manifest file
>
>
> class pkg::statment {
> if ["$hostname" == "172.20.14.173"] {
your hostname will not be an ip address, it will be like web1
add notify{"hostname is ${hostname}": } and see what it says
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/1172061445.710504.1478731462817.JavaMail.zimbra%40devco.net.
For more options, visit https://groups.google.com/d/optout.