MathOverflow will be down for maintenance for approximately 3 hours, starting Monday evening (06/24/2013) at approximately 9:00 PM Eastern time (UTC-4).
show/hide this revision's text 2 added 72 characters in body

I think a sufficient condition is:

the $A$-module $Der_k(A)$ of $k$-derivations of $A$ is projective.

A hint for the proof you may find in an old paper of G.S. Rinehart: Differential Forms on General Commutative Algebras (just have to notice that $(A,Der_k(A))$ is an example of a $(k,A)$-Lie algebra - today known as Lie-Rinehart algebra, or Lie algebroid). Especially: you might want to have a look at Theorem 3.1 and its proof.

show/hide this revision's text 1

I think a sufficient condition is:

the $A$-module $Der_k(A)$ of $k$-derivations of $A$ is projective.

A hint for the proof you may find in an old paper of G.S. Rinehart: Differential Forms on General Commutative Algebras (just have to notice that $(A,Der_k(A))$ is an example of a $(k,A)$-Lie algebra - today known as Lie-Rinehart algebra, or Lie algebroid).