Skip to content

Commit 00ac589

Browse files
committed
add headers and fix stop bug
1 parent dba183f commit 00ac589

File tree

3 files changed

+50
-2
lines changed

3 files changed

+50
-2
lines changed

cookbooks/fb_sssd/attributes/default.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Copyright (c) 2019-present, Vicarious, Inc.
3+
# All rights reserved.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
118
default['fb_sssd'] = {
219
'enable' => false,
320
'manage_packages' => true,

cookbooks/fb_sssd/metadata.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Copyright (c) 2019-present, Vicarious, Inc.
3+
# All rights reserved.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
118
name 'fb_sssd'
219
maintainer 'Facebook'
320
maintainer_email '[email protected]'

cookbooks/fb_sssd/recipes/default.rb

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,21 @@
22
# Cookbook:: fb_sssd
33
# Recipe:: default
44
#
5-
# Copyright:: 2019, The Authors, All Rights Reserved.
5+
# Copyright (c) 2019-present, Vicarious, Inc.
6+
# All rights reserved.
7+
#
8+
# Licensed under the Apache License, Version 2.0 (the "License");
9+
# you may not use this file except in compliance with the License.
10+
# You may obtain a copy of the License at
11+
#
12+
# http://www.apache.org/licenses/LICENSE-2.0
13+
#
14+
# Unless required by applicable law or agreed to in writing, software
15+
# distributed under the License is distributed on an "AS IS" BASIS,
16+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
# See the License for the specific language governing permissions and
18+
# limitations under the License.
19+
#
620

721
packages = %w{
822
sssd
@@ -66,5 +80,5 @@
6680
# once the package is removed, this fails, sadly
6781
only_if { File.exist?('/lib/systemd/system/sssd.service') }
6882
service_name 'sssd'
69-
action [:enable, :start]
83+
action [:stop, :disable]
7084
end

0 commit comments

Comments
 (0)