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
Remove domain auth
master
1 parent
48ca852
commit
b0146a3e847678b3ccb78469cf3dd7817be5f512
Mark George
authored
on 19 Feb 2021
Patch
Showing
2 changed files
environments/production/modules/bootstrap/manifests/init.pp
environments/production/modules/bootstrap/manifests/puppet_agent.pp
Ignore Space
Show notes
View
environments/production/modules/bootstrap/manifests/init.pp
### Get the machine into a state where puppet can reliably take over the remainder of the installation ### ### This includes: ### * Configuring SSSD and realmd in preparation for joining the student domain (lots of stuff breaks if SSSD is only partially configured, so get this out of the way early) ### * Configuring the puppet agent class bootstrap { # include bootstrap::domain_configuration include bootstrap::puppet_agent }
### Get the machine into a state where puppet can reliably take over the remainder of the installation ### ### This includes: ### * Configuring SSSD and realmd in preparation for joining the student domain (lots of stuff breaks if SSSD is only partially configured, so get this out of the way early) ### * Configuring the puppet agent class bootstrap { include bootstrap::domain_configuration include bootstrap::puppet_agent }
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 => 'running' } }
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' } }
Show line notes below