dhoer / chef-macosx_autologin Goto Github PK
View Code? Open in Web Editor NEWChef cookbook to configure autologin using Gavin Brock's kcpassword
License: MIT License
Chef cookbook to configure autologin using Gavin Brock's kcpassword
License: MIT License
Deprecated features used!
Property `sensitive` of resource `macosx_autologin` overwrites an existing method. Please use a different property name. This will raise an exception in Chef 13. at 1 location:
- /tmp/kitchen/cache/cookbooks/macosx_autologin/resources/default.rb:8:in `class_from_file'
See https://docs.chef.io/deprecations_property_name_collision.html for further details.
Deprecation warnings that must be addressed before upgrading to Chef Infra 18:
The resource in the macosx_autologin cookbook should declare `unified_mode true` at 1 location:
- /Users/phirk/.chef/cache/cookbooks/macosx_autologin/resources/default.rb
See https://docs.chef.io/deprecations_unified_mode/ for further details.
A light weight resource provider implies one or more autologins can exist. That is not the case. Refactor from LWRP to Recipe. Recipe windows_autologin::default would enable autologin and recipe windows_autologin::remove would disable autologin.
When homebrew is installed via cookbook and the system is rebooted at least once (at most twice), the login keychain breaks on every subsequent boot if the password is exactly 11 characters long. I have no idea why this is doing this, but picking a different password length seems to do the trick. Order doesn't matter between setting the autologin and installing homebrew. My target node is running macOS 10.12. This should be a reproducable example:
include_recipe 'homebrew'
macosx_autologin 'someuser' do
password 'S0m3passwrd'
action :enable
end
WARN: /var/chef/cache/cookbooks/macosx_autologin/providers/default.rb:20:in `block (2 levels) in class_from_file': property password is declared in both execute[enable automatic login] and #<#<Class:0x007fe0ef176f10>:0x007fe0f11119d8>. Use new_resource.password instead. At /var/chef/cache/cookbooks/macosx_autologin/providers/default.rb:20:in `block (2 levels) in class_from_file'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.