GitBucket
4.21.2
Toggle navigation
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
linux_lab
/
bootstrap
Browse code
Don't run puppet until after reboot.
master
1 parent
e0e609a
commit
d862fbd3a7baf457810f5263083d98c5c7734525
Mark George
authored
on 24 Feb 2021
Patch
Showing
1 changed file
environments/production/modules/bootstrap/manifests/puppet_agent.pp
Ignore Space
Show notes
View
environments/production/modules/bootstrap/manifests/puppet_agent.pp
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 => 'stopped' } }
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' } }
Show line notes below