- @pg.execute(:command => "CREATE TABLESPACE #{new_resource.tablespace} LOCATION '#{new_resource.location}'")
- new_resource.updated_by_last_action(true)
+ converge_by "create tablespace #{new_resource.tablespace}" do
+ @pg.execute(:command => "CREATE TABLESPACE #{new_resource.tablespace} LOCATION '#{new_resource.location}'")
+ end