cookbook 'osx-users', '~> 0.2.1'
osx-users (3) Versions 0.2.1 Follow0
Installs/Configures osx-users
cookbook 'osx-users', '~> 0.2.1', :supermarket
knife supermarket install osx-users
knife supermarket download osx-users
OSX Users Cookbook
This cookbook will add or remove users on Mac OSX.
Platform
- Mac OS X
Usage
osx_user_manage "username" do
realname "User A. Name"
password "userpass"
shell "/bin/bash"
admin 'false' # || 'true'
action :create # || :remove
end
To-Do
- Add converge_if_changed
- Use Ruby-native methods
License and Authors
- Author: Erin L. Kolp (ekolp@kickbackpoints.com)
- Copyright: 2017 Erin L. Kolp.
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.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.2.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
0.2.1 failed this metric
FC070: Ensure supports metadata defines valid platforms: osx-users/metadata.rb:1
FC115: Custom resource contains a name_property that is required: osx-users/resources/user_manage.rb:3
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.1 passed this metric
0.2.1 failed this metric
0.2.1 failed this metric
FC070: Ensure supports metadata defines valid platforms: osx-users/metadata.rb:1
FC115: Custom resource contains a name_property that is required: osx-users/resources/user_manage.rb:3
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.1 passed this metric
0.2.1 passed this metric