Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name "foo"
- description "Sets up foo nodes"
- default_attributes(
- "openssh" => {
- "server" => {
- "allow_groups" => "foo",
- "match" => {
- "Address 192.168.1.0/24" => {
- "password_authentication" => "yes"
- },
- "Group foo" => {
- "max_sessions" => "20",
- "permit_tunnel" => "yes"
- }
- }
- }
- }
- )
- run_list "recipe[chef-client]","recipe[fail2ban]","recipe[foo]"
Advertisement
Add Comment
Please, Sign In to add comment