mmmmmmpc/liberate-formula

High state fails on CentOS7 when centos-logos is not installed

Opened this issue · 1 comments

It should check for the presence of the rpm, and only remove it if installed.

Here is the output from applying the formula via highstate:


      ID: remove_logos_package
Function: cmd.run
    Name: rpm -e --nodeps centos-logos
  Result: false
 Comment: Command "rpm -e --nodeps centos-logos" run
 Started: 01:47:39.863055
Duration: 44.166
     SLS: liberate
 Changed: pid: 3025.0
          retcode: 1.0
          stdout: ''
          stderr: 'error: package centos-logos is not installed'

@dvosburg can you update the formula to the latest version? In the new version this remove package is not presented anymore since it looks like we don't need to remove it anymore.