Skip to content

Commit

Permalink
Merge pull request #92 from theosotr/fix-credentials
Browse files Browse the repository at this point in the history
Adds notifier from credentials and acls files to services
  • Loading branch information
deric authored Mar 18, 2019
2 parents 1d8cb88 + 350c6ec commit dc8d49b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/master.pp
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,14 @@
ensure => $acls_ensure,
content => $acls_content,
mode => '0444',
notify => Service['mesos-master'],
}

file { $credentials_file:
ensure => $credentials_ensure,
content => $credentials_content,
mode => '0400',
notify => Service['mesos-master'],
}

# work_dir can't be specified via options,
Expand Down
1 change: 1 addition & 0 deletions manifests/slave.pp
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
ensure => $credentials_ensure,
content => $credentials_content,
mode => '0400',
notify => Service['mesos-slave'],
}

create_resources(mesos::property,
Expand Down

0 comments on commit dc8d49b

Please sign in to comment.