Skip to content

Commit

Permalink
Enable service startup on AIX
Browse files Browse the repository at this point in the history
  • Loading branch information
Braxton Schafer committed Apr 2, 2020
1 parent c676373 commit b524b58
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifests/startup.pp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@
mode => '0755',
content => template('zabbix/zabbix-agent-aix.init.erb'),
}
file { "/etc/rc.d/rc2.d/S999${service_name}":
ensure => 'link',
target => "/etc/rc.d/init.d/${service_name}",
} else {
fail('We currently only support Debian, RedHat, and AIX osfamily as non-systemd')
}
Expand Down

0 comments on commit b524b58

Please sign in to comment.