Skip to content

Commit 26c1255

Browse files
Jan Bundesmannekohl
authored andcommitted
ensure preparations are done before configuration
1 parent 623a107 commit 26c1255

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

manifests/plugin/salt.pp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,7 @@
5252
enabled => $enabled,
5353
listen_on => $listen_on,
5454
}
55-
56-
file { "${foreman_proxy::etc}/salt/master.d":
57-
ensure => directory,
58-
mode => '0755',
59-
}
60-
file { "${foreman_proxy::etc}/salt/master.d/foreman.conf":
55+
~> file { "${foreman_proxy::etc}/salt/master.d/foreman.conf":
6156
ensure => file,
6257
content => template('foreman_proxy/plugin/salt_master.conf.erb'),
6358
owner => 'root',

0 commit comments

Comments
 (0)