Open samuraiii opened 7 years ago
portage package doesn't add packege into @world if package is already installed: Example: 1)
portage::package { 'kde-plasma/plasma-meta': ensure => 'present'}
puppet run
2)
portage::package { 'kde-plasma/plasma-meta': ensure => 'absent'; # dependecy of ↑, so already present 'x11-misc/sddm': ensure => 'present'; }
puppet run 3) emerge --depclean removes also x11-misc/sddm which should be "selected" 4) next puppet run emerges installs and selects x11-misc/sddm
Idea: Stick something like:
exec { "emerge noreplace ${atom}": command => "/usr/bin/emerge --noreplace ${atom}"; }
to portage/manifests/package.pp
portage package doesn't add packege into @world if package is already installed: Example: 1)
puppet run
2)
puppet run 3) emerge --depclean removes also x11-misc/sddm which should be "selected" 4) next puppet run emerges installs and selects x11-misc/sddm
Idea: Stick something like:
to portage/manifests/package.pp