Disable salt master and minions globally
Change-Id: I9ec8a411c8862f1033dbeae21a78d05b0b4fa986
This commit is contained in:
parent
772af71625
commit
ec900482c3
@ -38,8 +38,8 @@ class salt (
|
|||||||
}
|
}
|
||||||
|
|
||||||
service { 'salt-minion':
|
service { 'salt-minion':
|
||||||
ensure => running,
|
ensure => stopped,
|
||||||
enable => true,
|
enable => false,
|
||||||
require => File['/etc/salt/minion'],
|
require => File['/etc/salt/minion'],
|
||||||
subscribe => [
|
subscribe => [
|
||||||
Package['salt-minion'],
|
Package['salt-minion'],
|
||||||
|
@ -85,8 +85,8 @@ class salt::master {
|
|||||||
}
|
}
|
||||||
|
|
||||||
service { 'salt-master':
|
service { 'salt-master':
|
||||||
ensure => running,
|
ensure => stopped,
|
||||||
enable => true,
|
enable => false,
|
||||||
require => [
|
require => [
|
||||||
User['salt'],
|
User['salt'],
|
||||||
File['/etc/salt/master'],
|
File['/etc/salt/master'],
|
||||||
|
Loading…
Reference in New Issue
Block a user