feat: initial commit
This commit is contained in:
commit
38f495e3f4
457 changed files with 40577 additions and 0 deletions
9
environments/production/modules/hosts/manifests/init.pp
Normal file
9
environments/production/modules/hosts/manifests/init.pp
Normal file
|
@ -0,0 +1,9 @@
|
|||
class hosts {
|
||||
file { '/etc/hosts':
|
||||
ensure => file,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0644',
|
||||
content => template('hosts/hosts.erb'),
|
||||
}
|
||||
}
|
12
environments/production/modules/hosts/templates/hosts.erb
Normal file
12
environments/production/modules/hosts/templates/hosts.erb
Normal file
|
@ -0,0 +1,12 @@
|
|||
# !! Managed by Puppet !!
|
||||
|
||||
127.0.0.1 localhost
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
||||
|
||||
# --- BEGIN PVE ---
|
||||
|
||||
127.0.1.1 <%= @networking['hostname'] %>.cluster <%= @networking['hostname'] %>
|
||||
192.168.1.200 internal-s3.amy.mov
|
||||
# --- END PVE ---
|
Loading…
Add table
Add a link
Reference in a new issue