1 2 3 4 5 6 7 8 9
# This class is the base for any other services handled by this module. class git { if !defined(Package['git-core']) { package { 'git-core': ensure => installed, } } }