openshift / puppet-openshift_origin

Puppet module to create OpenShift Brokers and Nodes. Can be used to create a full OpenShift Origin deployment.
http://forge.puppetlabs.com/openshift/openshift_origin
Other
45 stars 128 forks source link

We now require puppet 3.3.0 or later #325

Closed sdodson closed 10 years ago

sdodson commented 10 years ago

openshift_origin::register_dns fails to expand the template on puppet versions prior to 3.3.0. This didn't happen previously and as far as I can tell I've reset all module versions to those of a successful previous run so perhaps something else changed in the environment in which we test pull requests.

Here's the template failure

Debug: /Stage[main]/Openshift_origin::Nameserver/Exec[named restorecon]: The container Class[Openshift_origin::Nameserver] will propagate my refresh event
Debug: Executing '/sbin/service named status'
Debug: Executing '/sbin/chkconfig named'
Debug: Class[Openshift_origin::Nameserver]: The container Stage[main] will propagate my refresh event
Debug: Exec[Register openshift.example.com](provider=shell): Executing '/bin/sh-cRegister openshift.example.com'
Debug: Executing '/bin/sh -c Register openshift.example.com'
Error: /bin/sh: Register: command not found

Error: /Stage[main]/Openshift_origin::Role::Nameserver/Openshift_origin::Register_dns[register nameserver dns]/Exec[Register openshift.example.com]/returns: change from notrun to 0 failed: /bin/sh: Register: command not found

And the exact versions of puppet modules installed

├── arioch-keepalived (v1.0.0)
├── blentz-selinux_types (v0.1.0)
├── duritong-sysctl (v0.0.5)
├── openshift-openshift_origin (v4.0.10)
├── puppetlabs-concat (v1.1.2)
├── puppetlabs-haproxy (v1.0.0)
├── puppetlabs-ntp (v3.2.1)
├── puppetlabs-stdlib (v4.3.2)
└── rharrison-lokkit (v0.5.0)
detiber commented 10 years ago

Resolved with https://github.com/openshift/puppet-openshift_origin/issues/326