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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to