anpassen von git ignore
This commit is contained in:
@@ -4,7 +4,7 @@ class all_system {
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0644',
|
||||
content => "<-----------------------Dieser Server wird zum Teil von Puppet verwaltet.----------------------->\n",
|
||||
content => "<-----------------------Dieser Server wird zum Teil von Puppet verwaltet. Finger WEG !!!----------------------->\n",
|
||||
}
|
||||
|
||||
|
||||
@@ -23,6 +23,11 @@ class all_system {
|
||||
}
|
||||
|
||||
|
||||
schedule { 'weekly':
|
||||
period => weekly,
|
||||
repeat => 1,
|
||||
}
|
||||
|
||||
case $facts['os']['name'] {
|
||||
'CentOS', 'RedHat': {
|
||||
# Configuration for RedHat-based systems
|
||||
@@ -35,13 +40,16 @@ class all_system {
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
}
|
||||
cron { 'apt_update_upgrade':
|
||||
command => '/usr/bin/apt-get update && /usr/bin/apt-get -y upgrade',
|
||||
user => 'root',
|
||||
weekday => 0, # 0 = Sonntag
|
||||
hour => '2',
|
||||
minute => '0',
|
||||
require => File['/usr/bin/apt-get'],
|
||||
exec { 'apt-update-upgrade':
|
||||
command => '/usr/bin/apt-get update && /usr/bin/apt-get -y upgrade',
|
||||
provider => 'shell',
|
||||
logoutput => 'on_failure',
|
||||
schedule => 'weekly',
|
||||
path => ['/usr/bin', '/bin'],
|
||||
user => 'root',
|
||||
group => 'root',
|
||||
timeout => 0,
|
||||
require => File['/usr/bin/apt-get'],
|
||||
}
|
||||
package { 'apache2':
|
||||
ensure => 'present',
|
||||
@@ -56,11 +64,6 @@ class all_system {
|
||||
ensure => 'present',
|
||||
provider => 'pacman',
|
||||
}
|
||||
# Configuration for Arch-based systems
|
||||
schedule { 'weekly':
|
||||
period => weekly,
|
||||
repeat => 1,
|
||||
}
|
||||
|
||||
# Führen Sie die Systemaktualisierung durch
|
||||
exec { 'pacman-update':
|
||||
|
||||
Reference in New Issue
Block a user