usage of ensure insteed of dsc_resource