New answers tagged


I like the solution with a custom resource however it's not idempotent. My take on the exists? function: Puppet::Type.type(:yumgroup).provide(:default) do desc 'Support for managing the yum groups' commands :yum => '/usr/bin/yum' # TODO # find out how yum parses groups and reimplement that in ruby def self.instances groups = [] # ...


This works for Ubuntu gnome: pico /usr/local/bin/ rm -rf /home/user/Downloads/* do the same if you want to remove Documents exit chmod 511 /usr/local/bin/ pico /etc/gdm/PostSession/Default !/bin/bash /usr/local/bin/ exit 0

Top 50 recent answers are included