(CommandList children: [ (If arms: [ (if_arm cond: [ (Sentence child: (Pipeline children: [ (SimpleCommand words: [{(dpkg)} {(-s)} {(opscode-keyring)}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[35])] ) (C {(grep)} {(-q)} {(Status.) (Lit_Other "*") (installed)}) ] negated: False ) terminator: <Op_Semi ";"> ) ] action: [(C {(echo)} {(opscode-keyring)} {(is)} {(installed)})] spids: [-1 49] ) ] else_action: [ (C {(apt-get)} {(update)}) (C {(apt-get)} {(--allow-unauthenticated)} {(-y)} {(install)} {(opscode-keyring)}) (C {(apt-get)} {(update)}) ] spids: [60 84] ) (If arms: [ (if_arm cond: [ (Sentence child: (Pipeline children: [ (SimpleCommand words: [{(dpkg)} {(-s)} {(chef)}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[95])] ) (C {(grep)} {(-q)} {(Status.) (Lit_Other "*") (installed)}) ] negated: False ) terminator: <Op_Semi ";"> ) ] action: [(C {(echo)} {(chef)} {(is)} {(installed)})] spids: [-1 109] ) ] else_action: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other "[")} {(-f)} {(chef-client.deb)} {(Lit_Other "]")}) terminator: <Op_Semi ";"> ) ] action: [(C {(dpkg)} {(-i)} {(chef-client.deb)})] spids: [-1 134] ) ] else_action: [ (C {(echo)} {(DQ ("Warning: chef-client.deb not found"))}) (C {(echo)} {(DQ ("chef bootstrap will attempt chef-client install"))}) ] spids: [152 169] ) ] spids: [120 171] ) ] )