Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS 7 state doesn't apply #1

Open
BrianSidebotham opened this issue Jul 20, 2018 · 0 comments
Open

CentOS 7 state doesn't apply #1

BrianSidebotham opened this issue Jul 20, 2018 · 0 comments

Comments

@BrianSidebotham
Copy link
Contributor

BrianSidebotham commented Jul 20, 2018

For RHEL7 and CentOS7 the configuration data is in the same location (/etc/dhcp) as it is for Debian, but the defaults are not filled in.

Therefore the state.apply fails with the example pillar in the docs on RHEL and CentOS 7 as there are no configuration file locations defined.

You can fix this in the pillar:

isc_dhcp:
  server:
    enabled: true
    config_dir: /etc/dhcp
    dhcpd_config: /etc/dhcp/dhcpd.conf
    hosts_config: /etc/dhcp/dhcpd.hosts
    subnets_config: /etc/dhcp/dhcpd.subnets

But it's better to fix it in the defaults.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant