You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by GitBox <gi...@apache.org> on 2021/12/06 11:17:14 UTC

[GitHub] [bigtop] iwasakims commented on pull request #838: BIGTOP-3306 - Update ca-certificates for CentOS 7

iwasakims commented on pull request #838:
URL: https://github.com/apache/bigtop/pull/838#issuecomment-986680038


   `ensure => latest` instead of `ensure => installed` should upgrade already installed packages. How about adding following?
   
   ```
     if $operatingsystem == 'CentOS' {
       ...(snip)
   
       if $operatingsystemmajrelease == 7 {
         package { ca-certificates:
           ensure => latest
         }
       }
   ```
   
   While adding global constraints like `Package<||> -> Exec<||>` is handy, it causes following error.
   
   ```
   Error: Could not apply complete catalog: Found 1 dependency cycle:
   (Exec[Setuptools Installation] => Class[Bigtop_toolchain::Packages] => Class[Bigtop_toolchain::Renv] => Package[R] => Exec[Setuptools Installation])
   Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz
   ```
   
   It would be nice if we can get rid of `require => Package[ca-certificates]` on every wget resources...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org