purge_hosts

Boolean to optionally purge unmanaged entries from hosts



      * Default: false
Check this parameter.  When set to true, yuo will have the behaviour you 
describe.
more info : 
https://docs.puppetlabs.com/references/latest/type.html#resources
On Fri, 2015-06-26 at 16:45 -0700, Aaron Lager wrote:
> I'm evaluating PE and after the super simple success of the ntp
> example, I thought I'd try out the /etc/hosts modules.
> I'm trying to add additional host entries, but all that happens is my
> existing additional entries (including one for puppet) get removed
> from the nodes host file.
> 
> Here is my value for host_entries:
> {"10.150.28.8":"puppet.mybluebolt.com"}
> 
> There are no errors reported, that I'm aware of.  The documentation
> simply says it's a Hash of host entries.
> I don't understand what I am doing wrong.
> 
> Thanks for any help you can give.
> 
> Aaron
> -- 
> 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/9dc28aec-ed57-4929-825d
> -5342ab3239c1%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
-- 
Johan De Wit

Open Source Consultant

Red Hat Certified Engineer              (805008667232363)
Puppet Certified Professional 2013/2014/2015 (PCP0000006)
Puppet Certified Instructor
blog : http://johan.koewacht.net/
_________________________________________________________
  
Next Trainings:
Bacula Administrator I | 
http://www.open-future.be/bacula-administrator-i-training-23rd-till-25th-june
Zabbix Certified Specialist | 
http://www.open-future.be/zabbix-certified-specialist-training-7th-till-9thth-september
Zabbix Certified Professional | 
http://www.open-future.be/zabbix-certified-professional-training-10th-till-11th-september
Puppet Fundamentals | 
http://www.open-future.be/puppet-fundamentals-training-14th-till-16th-september
Puppet Architect | 
http://www.open-future.be/puppet-architect-training-17th-till-18th-september
Bacula Administrator I | 
http://www.open-future.be/bacula-administrator-i-training-22nd-till-24th-september
Linux Training | http://www.open-future.be/linux-training-28th-till-2nd-october
Subscribe to our newsletter | http://eepurl.com/BUG8H

-- 
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/1435404742.3429.2.camel%40open-future.be.
For more options, visit https://groups.google.com/d/optout.

Reply via email to