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
Add initial puppet run to generate CSR
master
1 parent
d01ddf7
commit
1a06d8ccc722eb4c00a748de99727449365afd20
Mark George
authored
on 18 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