class bootstrap::puppet_agent { file { '/etc/puppet/puppet.conf' : ensure => present, source => 'puppet:///modules/bootstrap/puppet_agent/etc/puppet/puppet.conf' } file { '/etc/systemd/system/puppet.service.d' : ensure => 'directory' } file { '/etc/systemd/system/puppet.service.d/wait_for_network.conf' : ensure => 'present', source => 'puppet:///modules/bootstrap/puppet_agent/etc/systemd/system/puppet.service.d/wait_for_network.conf', require => File['/etc/systemd/system/puppet.service.d'] } service { 'puppet': enable => 'true', ensure => 'running' } }