Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleDefine role for bootstrap
root@bootstrap.infra.skyhigh.iik.ntnu.no:/etc/puppetlabs/puppet/data# cat nodes/bootstrap.infra.skyhigh.iik.ntnu.no.yaml 
---
classes:
 - 'role::bootstrap'

profile::interfaces:
 - 'eno1'

profile::puppet::altnames:
 - 'puppet.skyhigh.iik.ntnu.no'
 - 'puppetdb.skyhigh.iik.ntnu.no'

profile::interfaces::eno1::method: 'static'
profile::interfaces::eno1::address: '10.212.132.9'
profile::interfaces::eno1::netmask: '255.255.255.0'
profile::interfaces::eno1::gateway: '10.212.132.1'
profile::interfaces::eno1::tableid: 1

profile::interfaces::management: 'eno1'
profile::dhcp::pxe::server: "%{hiera('profile::interfaces::eno1::address')}"
profile::dashboard::database::host: "%{hiera('profile::interfaces::eno1::address')}"

profile::haproxy::web::profile: 'management'

root@bootstrap:/etc/puppetlabs/puppet/data# grep install: common.yaml 
profile::munin::install: false
profile::sensu::install: false

...