Open tekkifygamer opened 1 year ago
You need to post your freeipa.client pilar data - and should probably run it through a YAML linter first. Tabs vs. spaces is a big issue in YAML.
Here's the pillar file I currently have made
freeipa:
client:
enabled: true
server: freeipa.xnet.local
domain: {{ salt['grains.get']('domain', '') }}
realm: {{ salt['grains.get']('domain', '').upper() }}
hostname: {{ salt['grains.get']('fqdn', '') }}
install_principal:
source: salt://freeipa/files/principal.keytab
mode: "0600"
principal_user: "xavier"
file_user: "root"
file_group: "root"
when I run the pillar.items command it appears that the minions are able to access the pillar data correctly.
test.xnet.local:
----------
freeipa:
----------
client:
----------
domain:
xnet.local
enabled:
True
hostname:
test.xnet.local
install_principal:
----------
file_group:
root
file_user:
root
mode:
0600
principal_user:
xavier
source:
salt://freeipa/files/principal.keytab
realm:
XNET.LOCAL
server:
freeipa.xnet.local
Thank you for taking time to look into my issue, I greatly appreciate it.
Hi there,
I've followed the saltstack formula documentation to the T but have had no success in using this formula. Each time I try to apply the state to minions I am receiving this error:
The error itself seems misleading as the top.sls file is fine. Currently the pillar top.sls file looks like this:
The state top.sls file looks like this:
The current file structure is the basic saltstack defaults, this was done to rule out any gitfs issues:
Pillars are stored in /srv/pillar, with the client pillar in /srv/pillar/freeipa/client.sls
The formula is stored in /srv/salt under /srv/salt/freeipa/ . This is essentially a copy of the freeipa folder within the master repo.
Please let me know if more information required and I'd be more than happy to provide it. Thank you for looking into my issue.