Created
October 3, 2014 02:27
-
-
Save klynton/191246cb1938d7af32fd to your computer and use it in GitHub Desktop.
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 characters
[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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment