Is there any reason you're not using the built-in 'host' type? For example, 
this adds an entry to /etc/hosts:

  host {'north.xyz.com':
    ip => '192.168.100.2',
    host_aliases => [
      'north', 'main-switch'
    ],
  }


On Thursday, 30 March 2017 09:55:33 UTC+2, Shrawan Bhagwat wrote:
>
>
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/8732bc95-9364-4062-b4b1-c0ac92d021a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to