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

Firstrun errors on Fedora 17 #26

Closed
nicwaller opened this issue Oct 6, 2013 · 2 comments
Closed

Firstrun errors on Fedora 17 #26

nicwaller opened this issue Oct 6, 2013 · 2 comments
Labels

Comments

@nicwaller
Copy link
Owner

Firstrun error on Fedora 17. Testing revision 64ae9bb.

Error: Could not set 'file' on ensure: No such file or directory - /etc/postfix/main.cf.puppettmp_4771 at 116:/etc/puppet/modules/postfix/manifests/server.pp
Error: Could not set 'file' on ensure: No such file or directory - /etc/postfix/main.cf.puppettmp_4771 at 116:/etc/puppet/modules/postfix/manifests/server.pp
Wrapped exception:
No such file or directory - /etc/postfix/main.cf.puppettmp_4771
Error: /File[/etc/postfix/main.cf]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory - /etc/postfix/main.cf.puppettmp_4771 at 116:/etc/puppet/modules/postfix/manifests/server.pp

@nicwaller
Copy link
Owner Author

The thias/postfix module is trying to create main.cf before the postfix package is installed, so the parent directory /etc/postfix doesn't exist yet. This can be fixed by modelling dependencies correctly.

file { '/etc/postfix/master.cf':
  require => Package['postfix'],
}
file { '/etc/postfix/main.cf':
  require => Package['postfix'],
}

@nicwaller
Copy link
Owner Author

Reported upstream: thias/puppet-postfix#12

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

No branches or pull requests

1 participant