Foreman and Salt

Hi guys.

I installed salt 2014.7.5 (Helium) pluging on foreman I did everything like
in this tutorial: https://github.com/theforeman/foreman_salt/wiki. It seems
to be working fine. But I don't have any of States in foreman UI. But in
/srv/salt/ I created some files and downloaded some salt-formula but they
don't show up in Foreman UI. Maybe I did something wrong?

Need any help or suggestions.

Thanks Osvaldas

> Hi guys.
>
> I installed salt 2014.7.5 (Helium) pluging on foreman I did everything like
> in this tutorial: Home · theforeman/foreman_salt Wiki · GitHub. It seems
> to be working fine. But I don't have any of States in foreman UI. But in
> /srv/salt/ I created some files and downloaded some salt-formula but they
> don't show up in Foreman UI. Maybe I did something wrong?
>
> Need any help or suggestions.

You'll have to create them in the Foreman UI to match up with your Salt
master by hand (Configure / Salt States). Once I have some free time, I
can finish the open pull request[1] to let you import them
automatically.

[1] fixes #8473 - import states and environments from master by stbenjam · Pull Request #35 · theforeman/foreman_salt · GitHub

··· On Tue, Apr 28, 2015 at 01:46:46AM -0700, Osvaldas Šlapikas wrote:

Thanks Osvaldas


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Hi,
Thanks for short feed back.
So I created by hand same named environments and states. So then I create
new VM this one environment and add states from that environment. When VM
is installed no addition packages from states is installed. But the i run:
salt 'VM name' state.highstate saltenv=production. everything is instaled.
So for now this is the best case after installation run state.highstate.

Thanks Osvaldas