[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Error executing puppet script



[Sorry, sending to the user list]

On 8 Jul 2013, at 15:24, Jose G N Alban <jgalbandebritto1 sheffield ac uk> wrote:

> You were right, I updated to Puppet 3.2.2 and the problem is gone, Thanks!
> However, I've come across another problem while trying to:
> 
>>> puppet apply --verbose configure_origin.pp
> 
> the output is:
> 
> Info: Loading facts in /usr/share/puppet/modules/openshift_origin/plugins/facter/firewalld.rb
> Info: Loading facts in /usr/share/puppet/modules/openshift_origin/plugins/facter/openshift_mount.rb
> Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
> Warning: Scope(Class[Openshift_origin]): The default console_session_secret is being used
> Warning: Scope(Class[Openshift_origin]): The default broker_session_secret is being used
> Warning: Scope(Class[Openshift_origin]): The default broker_auth_salt is being used
> Warning: Scope(Class[Openshift_origin]): The default mongo_auth_password is being used
> Warning: Scope(Class[Openshift_origin]): The default mq_server_password is being used
> Error: Unknown function ensure_resource at /usr/share/puppet/modules/openshift_origin/manifests/ntpd.pp:35 on node xxx.xxx.xxx
> Error: Unknown function ensure_resource at /usr/share/puppet/modules/openshift_origin/manifests/ntpd.pp:35 on node xxx.xxx.xxx 
> 
> All the files are the original files from OpenShift puppet module. Do you have any idea of why would that be happening?
> 
> On 8 Jul 2013, at 14:43, Brett Lentz <blentz redhat com> wrote:
> 
>> On 08/07/13 12:39 +0100, Jose G N Alban wrote:
>>> Hi all,
>>> I've trying to install OpenShift Origin in a Scientific Linux release 6.4
>>> with Puppet v2.6.18, however when trying to do:
>>>>> puppet-module install openshift/openshift_origin
>>> [�]
>>>>> puppet apply --verbose configure_origin.pp
>>> I get the error:
>>>>> Syntax error at ')' at
>>> /usr/share/puppet/modules/openshift_origin/manifests/init.pp:188
>>> Here's the link for the file init.pp:
>>>>> 
>>> [1]https://github.com/openshift/puppet-openshift_origin/blob/master/manifests/init.pp
>>> Could someone please tell me what can be wrong? Is it something to do with
>>> this manifest file, or with my puppet/OS version?
>>> Regards,
>>> Jose
>>> 
>> 
>> It's the last parameter line containing a comma that Puppet 2.6 is rejecting.
>> 
>> This is a syntax that Puppet 2.7+ is okay with, but 2.6 will error on. In
>> supportability terms, Puppet 2.6 should be considered "unsupported", as that's
>> how upstream (Puppet Labs) views it. Even Puppet 2.7 is getting a bit long in
>> the tooth.
>> 
>> -- 
>> 
>> ---Brett.
>> 
>> blentz redhat com | (978) 392-3998 | (253) 778-6669
>> OpenShift Online Operations | http://openshift.com
>> 
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]