After adding metaprofile you would expect to be able to remove it.
Salter is missing lots of remove metaprofiles in /salter/file_roots/remove/ directory
Steps to reproduce the bug
[vagrant@centos7 ~]$ sudo /usr/local/bin/salter add kubernetes -u vagrant
==> This script will add: kubernetes
press return to continue or control-c to abort
cloning kubernetes-formula from saltstack-formulas ...
local:
----------
base:
- kubernetes
run salt: this takes a while, please be patient ...
------------
Succeeded: 8 (changed=8)
Failed: 0
------------
See full log in [ /tmp/saltstack-formulas-salter/log.202001251529 ]
/////////////////////////////////////////////////////////////////
kubernetes for salter has completed
////////////////////////////////////////////////////////////////
[vagrant@centos7 ~]$ sudo /usr/local/bin/salter remove kubernetes
No profile named [kubernetes] found
Expected behaviour
[vagrant@centos7 ~]$ sudo /usr/local/bin/salter add kubernetes -u vagrant # WORKS
[vagrant@centos7 ~]$ sudo /usr/local/bin/salter remove kubernetes . # WORKS
Bug details
Describe the bug
After adding metaprofile you would expect to be able to remove it. Salter is missing lots of remove metaprofiles in /salter/file_roots/remove/ directory
Steps to reproduce the bug
Expected behaviour
[vagrant@centos7 ~]$ sudo /usr/local/bin/salter add kubernetes -u vagrant # WORKS [vagrant@centos7 ~]$ sudo /usr/local/bin/salter remove kubernetes . # WORKS
Attempts to fix the bug
Additional context