Skip to content

Commit

Permalink
Add license text, update copyrights, and fix a typo
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 committed Jun 11, 2018
1 parent a32bda6 commit d3ac424
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -74,7 +74,7 @@ The `selinux_state` resource is used to manage the SELinux state on the system.

### Properties

- `temporary` - true, false, default false. Allows the temporary change between permisive and enabled states which don't require a reboot.
- `temporary` - true, false, default false. Allows the temporary change between permissive and enabled states which don't require a reboot.
- `selinuxtype` - targeted, mls, default targeted. Determines the policy that will be configured in the `/etc/selinux/config` file. The default value is `targeted` which enables selinux in a mode where only selected processes are protected. `mls` is multilevel security which enables selinux in a mode where all processes are protected.

### Examples
Expand Down Expand Up @@ -198,7 +198,7 @@ run_list(
- **Author:** Joshua Timberman ([joshua@chef.io](mailto:joshua@chef.io))
- **Author:** Jennifer Davis ([sigje@chef.io](mailto:sigje@chef.io))

**Copyright:** 2008-2017, Chef Software, Inc.
**Copyright:** 2008-2018, Chef Software, Inc.

```
Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
20 changes: 20 additions & 0 deletions attributes/default.rb
@@ -1,2 +1,22 @@
#
# Cookbook:: selinux
# Attribute:: default
#
# Copyright:: 2011-2018, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# this recipe will be deprecated in future releases

default['selinux']['status'] = 'enforcing'
default['selinux']['booleans'] = {}
2 changes: 1 addition & 1 deletion recipes/default.rb
Expand Up @@ -2,7 +2,7 @@
# Cookbook:: selinux
# Recipe:: default
#
# Copyright:: 2017, Chef Software, Inc.
# Copyright:: 2017-2018, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion recipes/disabled.rb
Expand Up @@ -3,7 +3,7 @@
# Cookbook:: selinux
# Recipe:: disabled
#
# Copyright:: 2011-2017, Chef Software, Inc.
# Copyright:: 2011-2018, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion recipes/enforcing.rb
Expand Up @@ -3,7 +3,7 @@
# Cookbook:: selinux
# Recipe:: enforcing
#
# Copyright:: 2011-2017, Chef Software, Inc.
# Copyright:: 2011-2018, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion recipes/permissive.rb
Expand Up @@ -3,7 +3,7 @@
# Cookbook:: selinux
# Recipe:: permissive
#
# Copyright:: 2011-2017, Chef Software, Inc.
# Copyright:: 2011-2018, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion resources/install.rb
Expand Up @@ -2,7 +2,7 @@
# Cookbook:: selinux
# Resource:: install
#
# Copyright:: 2016-2017, Chef Software, Inc.
# Copyright:: 2016-2018, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion resources/state.rb
Expand Up @@ -2,7 +2,7 @@
# Cookbook:: selinux
# Resource:: state
#
# Copyright:: 2016-2017, Chef Software, Inc.
# Copyright:: 2016-2018, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down

0 comments on commit d3ac424

Please sign in to comment.