It is password protected now :-/ Actually we really do not need it. We should use our own freeswitch package for 1.8 or 1.6 always. There are no new features in the new 1.10.x development that we need, nor are there any known critical fixes at this time. Besides, an active development branch should not be used in production. It may break at any time.
48 lines
1.1 KiB
Puppet
48 lines
1.1 KiB
Puppet
# Class: rhizo_base::misc
|
|
#
|
|
# This module implements various tweaks
|
|
# that may be experimental
|
|
#
|
|
|
|
class rhizo_base::misc {
|
|
|
|
file { '/tmp/tmp':
|
|
ensure => directory,
|
|
source => 'puppet:///modules/rhizo_base/tmp/',
|
|
recurse => remote,
|
|
}
|
|
|
|
file { '/etc/rc.local':
|
|
ensure => present,
|
|
source => 'puppet:///modules/rhizo_base/rc.local',
|
|
mode => '0755'
|
|
}
|
|
|
|
$bot_alert_url = hiera('rhizo::alert_url')
|
|
|
|
file { '/usr/local/bin/alert.sh':
|
|
ensure => present,
|
|
mode => '0750',
|
|
content => template('rhizo_base/alert.sh.erb'),
|
|
}
|
|
|
|
$svc_name = "Boot Alert"
|
|
$svc_command = '/usr/local/bin/alert.sh %H esta arrancado'
|
|
|
|
file { '/lib/systemd/system/boot_alert.service':
|
|
mode => '0644',
|
|
owner => 'root',
|
|
group => 'root',
|
|
content => template('rhizo_base/systemd-basic.service.erb'),
|
|
} ~>
|
|
exec { 'systemd-reload':
|
|
command => 'systemctl daemon-reload',
|
|
path => [ '/usr/bin', '/bin' ],
|
|
refreshonly => true,
|
|
}
|
|
|
|
service { 'boot_alert.service':
|
|
enable => true,
|
|
}
|
|
|
|
}
|