If you are inside a recipe, the Chef::Mixing::Shellout module is already included (IE, it is already mixed in). So from within a recipe you can simply call `shell_out(“tar xvfC”)` or `shell_out!(“tar xvfC”)`. If you would like to mixin the Shellout module to another class you add an `include Chef::Mixin::Shellout` to the class. This adds the methods defined in that module to the class. -T
|
Archive powered by MHonArc 2.6.16.