вызываю на хосте
т.е. групповая политика передается.
Пробую найти /srv/salt/standalone/roots/states/policies/host-policies/rbta_ldap_custom_gp_host_packages/init.sls
но его нет
делал
salt-call state.apply gpupdate.gp -c /srv/salt/standalone/config/ pillar='{"force": True, "verbose": true}'
salt-call state.apply policies.host-policies -c /srv/salt/standalone/config
salt-call -c /srv/salt/standalone/config saltutil.clear_cache
salt-call -c /srv/salt/standalone/config schedule.run_job sync_all
salt-call -c /srv/salt/standalone/config gp_sum.build_and_run_gp force=true
salt-call -c /srv/salt/standalone/config schedule.run_job build_and_run_gp
Код:
salt-call pillar.items -c /srv/salt/standalone/config/ pillar='{"force": True, "verbose": true}' | grep -a2 -b50 rbta_ldap_custom_gp_host_packages
4561: rbta_ldap_custom_gp_host_packages:
4608- |_
4627- ----------
4656- pkg_name:
4684- virtualbox-7.0
4721- pkg_state:
4750- installed
Пробую найти /srv/salt/standalone/roots/states/policies/host-policies/rbta_ldap_custom_gp_host_packages/init.sls
но его нет
делал
salt-call state.apply gpupdate.gp -c /srv/salt/standalone/config/ pillar='{"force": True, "verbose": true}'
salt-call state.apply policies.host-policies -c /srv/salt/standalone/config
salt-call -c /srv/salt/standalone/config saltutil.clear_cache
salt-call -c /srv/salt/standalone/config schedule.run_job sync_all
salt-call -c /srv/salt/standalone/config gp_sum.build_and_run_gp force=true
salt-call -c /srv/salt/standalone/config schedule.run_job build_and_run_gp