Created
October 3, 2014 02:27
Revisions
-
Klynton Jessup created this gist
Oct 3, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ [root@training /usr/src/puppetlabs-training-bootstrap/modules/training:maintenance/module-version-updates±]# /usr/src/puppet/bin/puppet resource host host { 'localhost': ensure => 'present', host_aliases => ['localhost.localdomain', 'localhost4', 'localhost4.localdomain4', 'training.puppetlabs.vm', 'training'], ip => '127.0.0.1', target => '/etc/hosts', } host { 'training.puppetlabs.vm': ensure => 'present', host_aliases => ['training', 'localhost', 'localhost.localdomain'], ip => '127.0.0.1', target => '/etc/hosts', } [root@training /usr/src/puppetlabs-training-bootstrap/modules/training:maintenance/module-version-updates±]# cat /etc/hosts # HEADER: This file was autogenerated at Thu Oct 02 14:27:11 +0000 2014 # HEADER: by puppet. While it can still be managed manually, it # HEADER: is definitely not recommended. 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 training.puppetlabs.vm training ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 127.0.0.1 training.puppetlabs.vm training localhost localhost.localdomain