[ 
https://issues.apache.org/jira/browse/BIGTOP-1693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14338905#comment-14338905
 ] 

Evans Ye commented on BIGTOP-1693:
----------------------------------

Tried the patch and it failed because of puppet package set {{ensure => '3.x'}}:
{code}
Error: Could not update: Failed to update to version 3.*, got version 
3.5.1-1.el6 instead
Wrapped exception:
Failed to update to version 3.*, got version 3.5.1-1.el6 instead
Error: /Stage[main]/Bigtop_toolchain::Puppet-modules/Package[puppet]/ensure: 
change from 3.6.0-1.el6 to 3.* failed: Could not update: Failed to update to 
version 3.*, got version 3.5.1-1.el6 instead
Notice: 
/Stage[main]/Bigtop_toolchain::Puppet-modules/Exec[install-puppet-stdlib]: 
Dependency Package[puppet] has failures: true
Warning: 
/Stage[main]/Bigtop_toolchain::Puppet-modules/Exec[install-puppet-stdlib]: 
Skipping because of failed dependencies
{code}
This will keep downgrading puppet's version if executed repeatedly and the 
dependency failure is preventing stdlib to be actually installed.
It looks like that official puppet does not support something like version >= 
3.0 (https://tickets.puppetlabs.com/browse/PUP-1519) since it does not make 
sense in real world operations.

Probably we should check puppet version by ourselves using something like this:
{code}
[ `facter puppetversion |cut -d'.' -f 1` -ge 3 ]
{code}

> Puppet stdlib should be automatically installed by toolchain
> ------------------------------------------------------------
>
>                 Key: BIGTOP-1693
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1693
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: deployment
>    Affects Versions: 0.8.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>             Fix For: 0.9.0
>
>         Attachments: BIGTOP-1693.patch, BIGTOP-1693.patch, BIGTOP-1693.patch, 
> BIGTOP-1693.patch, BIGTOP-1693.patch
>
>
> Right now we have an explicit instruction for a user to install puppet stdlib 
> before doing the deployment. This is a bad UX. 
> I think the installation should be done in the 
> {{bigtop_toolchain::deployment_tools}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to