Closed detiber closed 10 years ago
[test]
Origin Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests/3057/)
The test failure is a bit perplexing, wondering if it is because of the version of puppet used by the vagrant plugin (2.7 from epel)
Installing -- do not interrupt ...
/etc/puppet/modules
└─┬ openshift-openshift_origin ([0;36mv4.0.11[0m)
├─┬ arioch-keepalived ([0;36mv1.0.1[0m)
│ └── puppetlabs-concat ([0;36mv1.1.2[0m)
├── blentz-selinux_types ([0;36mv0.1.0[0m)
├── duritong-sysctl ([0;36mv0.0.5[0m)
├── puppetlabs-haproxy ([0;36mv1.0.0[0m)
├── puppetlabs-ntp ([0;36mv3.2.1[0m)
├── puppetlabs-stdlib ([0;36mv4.3.2[0m)
└── rharrison-lokkit ([0;36mv0.5.0[0m)
Applying openshift puppet recipe
[0;32minfo: Loading facts in /etc/puppet/modules/concat/lib/facter/concat_basedir.rb[0m
[0;32minfo: Loading facts in /etc/puppet/modules/stdlib/lib/facter/pe_version.rb[0m
[0;32minfo: Loading facts in /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb[0m
[0;32minfo: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb[0m
[0;32minfo: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb[0m
Syntax error at '{'; expected '}' at /etc/puppet/modules/openshift_origin/manifests/broker.pp:237 on node openshift.ec2.internal
@detiber Looks like 'unless' was added in Puppet 3.0.
https://docs.puppetlabs.com/puppet/3/reference/release_notes.html#unless-statement
The docs for our module mention that we require Puppet 3.0 or later so I'm going to work on testing that other issue I'm seeing after upgrading to 3.0. If that resolves that I'll look at updating our vagrant toolchain to ensure puppet 3.0 or later is used.
@ekohl still need to run this through testing, but went through and refactored the httpd certificate generation into it's own class.
Untested, but :+1: on the general solution.
Evaluated for origin up to 3f3e6bef4a823d2060fea249466d3ed3159582ee
Generate self-signed certificates if needed for broker and node.