salt: augeas error with apache config files - unable to save to file

The following state fails with “Error: unable to save to file!”:

/etc/apache2/sites-available/default-ssl.conf:
  augeas.change:
    - lens: httpd.lns
    - context: /files/etc/apache2/sites-available/default-ssl.conf/IfModule/VirtualHost
    - changes:
      - set directive[. = "SSLCertificateFile"]/arg /etc/ssl/certs/cert1.pem

If I take out - lens: httpd.lns, it works.

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

I cannot confirm any change to this issue. I haven’t had a chance to test out the most recent version of salt, but I’d like to keep this issue open if possible until it can be confirmed that the issue has been fixed/resolved.