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

configure.sh no fqdn on step 0 #65

Closed
dsavineau opened this issue Mar 17, 2015 · 1 comment
Closed

configure.sh no fqdn on step 0 #65

dsavineau opened this issue Mar 17, 2015 · 1 comment
Labels

Comments

@dsavineau
Copy link

In I.1.3.0 release all the httpd vhosts present in the image (kibana, pxemgr) are deleted during the step 0 on install-server node.

+ puppet apply /etc/puppet/modules/cloud/scripts/bootstrap.pp
(...)
Notice: /Stage[main]/Apache/File[/etc/httpd/conf.d/userdir.conf]/ensure: removed
Notice: /Stage[main]/Apache/File[/etc/httpd/conf.d/puppetmaster.conf.disabled]/ensure: removed
Notice: /Stage[main]/Apache/File[/etc/httpd/conf.d/puppetboard]/ensure: removed
Notice: /Stage[main]/Apache/File[/etc/httpd/conf.d/pxemngr.conf]/ensure: removed
Notice: /Stage[main]/Apache/File[/etc/httpd/conf.d/welcome.conf]/ensure: removed
Notice: /Stage[main]/Apache/File[/etc/httpd/conf.d/25-kibana.conf]/ensure: removed
Notice: /Stage[main]/Apache/File[/etc/httpd/conf.d/edeploy.conf]/ensure: removed
Notice: /Stage[main]/Apache/File[/etc/httpd/conf.d/README]/ensure: removed

The solution is to use apache::purge_configs: false in the env file (in install-server config) but the fqdn template is not generate during the step 0

hosts:
  install-server:
    profile: install-server
    config:
      apache::purge_configs: false

https://github.com/enovance/config-tools/blob/I.1.3.0/configure.sh#L172-L180

Maybe we can backport some code from J.1.0.0 because fqdn are generated during step 0

https://github.com/enovance/config-tools/blob/J.1.0.0/configure.sh#L223

@dsavineau
Copy link
Author

No need to generate fqdn in step 0. I made a PR directly in puppet-openstack-cloud to fix this issue

https://github.com/enovance/puppet-openstack-cloud/pull/758

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