Google Groups

How to ensure directory contents?

Tom Vaughan Apr 5, 2012 1:06 PM
Posted in group: Salt-users
First, thanks for salt. This:

used to be a rather hairy set of shell scripts. I tried to convert this to puppet. Tried, that is. But the conversion to salt was simple and enjoyable.

As I just started this yesterday, I'm sure there is a lot I did "wrong". I'd appreciate any feedback on this, especially in regards to how this "should" be done in an idiomatic way.

One question, I add apt sources to /etc/apt/sources.list.d. Is there a way I can say "ensure that this directory only contains a certain set of files"?