* added profiles::default class in defaults.pp file * imported into all roles * cleaned up some duplicated code
31 lines
477 B
Puppet
31 lines
477 B
Puppet
# settings that apply to all nodes
|
|
# use this as a place to set resource defaults
|
|
class profiles::defaults {
|
|
|
|
# set the global exec path
|
|
Exec {
|
|
path => ['/bin/', '/sbin/' , '/usr/bin/', '/usr/sbin/'],
|
|
}
|
|
|
|
Package {
|
|
ensure => present,
|
|
}
|
|
|
|
File {
|
|
ensure => present,
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => '0644',
|
|
}
|
|
|
|
Service {
|
|
ensure => running,
|
|
enable => true,
|
|
}
|
|
|
|
User {
|
|
ensure => present,
|
|
shell => '/bin/bash',
|
|
}
|
|
}
|