Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. name "foo"
  2. description "Sets up foo nodes"
  3. default_attributes(
  4. "openssh" => {
  5. "server" => {
  6. "allow_groups" => "foo",
  7. "match" => {
  8. "Address 192.168.1.0/24" => {
  9. "password_authentication" => "yes"
  10. },
  11. "Group foo" => {
  12. "max_sessions" => "20",
  13. "permit_tunnel" => "yes"
  14. }
  15. }
  16. }
  17. }
  18. )
  19.  
  20. run_list "recipe[chef-client]","recipe[fail2ban]","recipe[foo]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement