could we avoid this with:

```ruby
execute "add #{name} to /etc/cron.allow" do
  command "echo #{name} >> /etc/cron.allow"
  not_if do
    File.file?('/etc/cron.allow') &&
    IO.read('/etc/cron.allow').include? "\n#{name}\n"
  end
end
```