Skip to content

Commit 0bf160a

Browse files
committedSep 23, 2018
Amazon Linux 2 beta support
1 parent 69d7bd7 commit 0bf160a

17 files changed

+228
-1
lines changed
 

‎apache/config-Amazon-Linux-2-ALL

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
show_list=0
2+
httpd_dir=/etc/httpd
3+
httpd_path=/usr/sbin/httpd
4+
mime_types=/etc/mime.types
5+
start_cmd=systemctl start httpd.service
6+
apply_cmd=systemctl reload httpd.service
7+
stop_cmd=systemctl stop httpd.service
8+
show_order=0
9+
max_servers=100
10+
test_config=1
11+
test_manual=0
12+
apachectl_path=/usr/sbin/apachectl
13+
test_always=0
14+
test_apachectl=1
15+
auto_mods=1
16+
show_names=0
17+
allow_virtualmin=0
18+
pid_file=/run/httpd/httpd.pid

‎dhcpd/config-Amazon-Linux-2-ALL

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
start_cmd=systemctl start dhcpd
2+
stop_cmd=systemctl stop dhcpd
3+
restart_cmd=service dhcpd restart
4+
dhcpd_conf=/etc/dhcp/dhcpd.conf
5+
dhcpd_path=/usr/sbin/dhcpd
6+
lease_file=/var/lib/dhcpd/dhcpd.leases
7+
lease_sort=0
8+
dhcpd_nocols=5
9+
lease_tz=0
10+
interfaces_type=redhat
11+
show_ip=0
12+
show_mac=0
13+
group_name=0
14+
display_max=100
15+
desc_name=0
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
restart_command=service nfs restart
2+
exports_file=/etc/exports
3+
nfs_server=rpc.nfsd
4+
apply_cmd=exportfs -r

‎exports/config-Amazon-Linux-2-ALL

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
restart_command=service nfs restart
2+
exports_file=/etc/exports
3+
apply_cmd=exportfs -r

‎ipsec/config-Amazon-Linux-2-ALL

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
file=/etc/ipsec.conf
2+
secrets=/etc/ipsec.secrets
3+
ipsec=/usr/local/sbin/ipsec
4+
policies_dir=/etc/ipsec.d/policies
5+
start_cmd=systemctl start ipsec
6+
stop_cmd=systemctl stop ipsec
7+
restart_cmd=systemctl restart ipsec
8+
logfile=/var/log/messages

‎iscsi-tgtd/config-Amazon-Linux-2-ALL

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
config_file=/etc/tgt/tgtd.conf
2+
tgtd=tgtd
3+
tgtadm=tgtadm
4+
init_name=tgtd
5+
tgtadmin=tgt-admin
6+
start_cmd=systemctl start tgtd
7+
stop_cmd=systemctl stop tgtd
8+
restart_cmd=systemctl restart tgtd

‎ldap-server/config-Amazon-Linux-2-ALL

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
config_file=/etc/openldap/slapd.d
2+
schema_dir=/etc/openldap/schema
3+
slapd=slapd
4+
ldap_user=ldap
5+
browse_max=100
6+
start_cmd=systemctl start slapd
7+
stop_cmd=systemctl stop slapd
8+
apply_cmd=systemctl restart slapd
9+
init_name=ldap
10+
data_dir=/var/lib/ldap
11+
attr_count=6

‎lpadmin/config-Amazon-Linux-2-ALL

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
iface_perms=755
2+
gs_lib=
3+
iface_arg=
4+
gs_path=gs
5+
spool_dir=/var/spool/cups
6+
model_path=/usr/share/cups/model /etc/cups/ppd
7+
gs_fontpath=
8+
smbclient_path=smbclient
9+
print_style=cups
10+
show_status=0
11+
iface_owner=lp:lp
12+
sort_mode=0
13+
driver_style=cups
14+
stop_cmd=systemctl stop cups
15+
start_cmd=systemctl start cups
16+
display_mode=0
17+
show_jobs=0

‎mysql/config-Amazon-Linux-2-ALL

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
start_cmd=service mariadb start
2+
stop_cmd=service mariadb stop
3+
mysql=/usr/bin/mysql
4+
mysqldump=/usr/bin/mysqldump
5+
mysqlimport=/usr/bin/mysqlimport
6+
mysql_libs=
7+
mysqladmin=/usr/bin/mysqladmin
8+
mysqlshow=/usr/bin/mysqlshow
9+
perpage=25
10+
style=0
11+
add_mode=1
12+
nodbi=0
13+
access=*: *
14+
blob_mode=0
15+
date_subs=0
16+
passwd_mode=0
17+
mysql_data=/var/lib/mysql
18+
max_dbs=50
19+
my_cnf=/etc/my.cnf
20+
max_text=1000
21+
nopwd=0
22+
webmin_subs=0

‎os_list.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,12 @@ cAos Linux $1 redhat-linux sprintf("%.1f", 10.0+$1) `cat /etc/caos-release 2>/
7575
Wind River Linux 3.0 redhat-linux 18.0 `cat /etc/wrs-release 2>/dev/null` =~ /Wind\s+River\s+Linux\s+3\.0/
7676
Wind River Linux 2.0 redhat-linux 16.0 `cat /etc/wrs-release 2>/dev/null` =~ /Wind\s+River\s+Linux\s+2\.0/
7777

78-
# Amazon Linux
78+
# Amazon Linux (1.x)
7979
Amazon Linux $1 redhat-linux 20.0 `cat /etc/system-release 2>/dev/null` =~ /Amazon\s+Linux.*\s(201[1-9])/
8080

81+
# Amazon Linux (2, approximately based on CentOS 7)
82+
Amazon Linux $1 redhat-linux 15.0 `cat /etc/system-release 2>/dev/null` =~ /Amazon\s+Linux\s+2\n/
83+
8184
# Free Redhat Linux and Fedora
8285
Redhat Linux $1 redhat-linux $1 `cat /etc/redhat-release 2>/dev/null` =~ /red.*hat.*release\s+(\S+)/i && `cat /etc/redhat-release 2>/dev/null` !~ /[eE]nterprise|AS|ES|WS|[aA]dvanced/
8386
Fedora Linux $1 redhat-linux sprintf("%.1f", 9.0+$1) `cat /etc/redhat-release /etc/fedora-release 2>/dev/null` =~ /Fedora.*\s([0-9\.]+)\s/i || `cat /etc/redhat-release /etc/fedora-release 2>/dev/null` =~ /Fedora.*\sFC(\S+)\s/i

‎postgresql/config-Amazon-Linux-2-ALL

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
login=postgres
2+
psql=/usr/bin/psql
3+
basedb=template1
4+
start_cmd=systemctl start postgresql
5+
stop_cmd=systemctl stop postgresql
6+
pid_file=/var/run/postmaster*.pid
7+
perpage=25
8+
hba_conf=/var/lib/pgsql/data/pg_hba.conf
9+
nodbi=0
10+
user=postgres
11+
setup_cmd=postgresql-setup initdb
12+
dump_cmd=/usr/bin/pg_dump
13+
rstr_cmd=/usr/bin/pg_restore
14+
repository=/home/db_repository
15+
sameunix=1
16+
access=*: *
17+
blob_mode=0
18+
add_mode=1
19+
date_subs=0
20+
style=0
21+
max_dbs=50
22+
simple_sched=0
23+
access_own=0
24+
max_text=1000
25+
webmin_subs=0

‎proftpd/config-Amazon-Linux-2-ALL

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
proftpd_path=/usr/sbin/proftpd
2+
proftpd_conf=/etc/proftpd.conf
3+
ftpusers=/etc/ftpusers
4+
test_config=1
5+
test_always=0
6+
test_manual=0
7+
stop_cmd=systemctl stop proftpd
8+
start_cmd=systemctl start proftpd
9+
defines_file=/etc/sysconfig/proftpd
10+
defines_name=PROFTPD_OPTIONS

‎samba/config-Amazon-Linux-2-ALL

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
list_printers_command=lpc status | grep "[A-z0-9]:" | sed -e 's/://g'
2+
smb_passwd=/etc/samba/smbpasswd
3+
dont_convert=-499
4+
samba_password_program=/usr/bin/smbpasswd
5+
samba_status_program=/usr/bin/smbstatus
6+
samba_server=/usr/sbin/smbd
7+
name_server=/usr/sbin/nmbd
8+
smb_conf=/etc/samba/smb.conf
9+
text_lists=0
10+
run_from_inetd=0
11+
swat_path=/usr/sbin/swat
12+
sort_mode=0
13+
start_cmd=systemctl start smb
14+
stop_cmd=systemctl stop smb
15+
smbgroupedit=/usr/bin/smbgroupedit
16+
pdbedit=/usr/bin/pdbedit
17+
net=/usr/bin/net

‎sendmail/config-Amazon-Linux-2-ALL

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
sendmail_cf=/etc/mail/sendmail.cf
2+
sendmail_mc=/etc/mail/sendmail.mc
3+
sendmail_features=/usr/share/sendmail-cf
4+
sendmail_pid=/var/run/sendmail.pid /var/run/sm-client.pid /run/sendmail.pid
5+
makemap_path=makemap
6+
sendmail_command=service sendmail start
7+
sendmail_stop_command=service sendmail stop
8+
sendmail_path=/usr/sbin/sendmail
9+
mail_dir=/var/spool/mail
10+
perpage=20
11+
sort_mode=0
12+
wrap_width=80
13+
order_mail=0
14+
smrsh_dir=/etc/smrsh
15+
track_read=0
16+
show_to=0
17+
max_records=200
18+
top_buttons=1
19+
mail_file=mbox
20+
mail_style=0
21+
mailq_show=Date,From,To,Size,Status
22+
index_min=1000000
23+
fwd_mode=0
24+
mailq_sort=0
25+
mailq_count=0
26+
delete_warn=1
27+
mailq_sort=0
28+
columns=2
29+
show_cmts=0
30+
prefix_cmts=0
31+
32+
mail_type=0
33+
delete_confirm=1

‎squid/config-Amazon-Linux-2-ALL

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
log_dir=/var/log/squid
2+
squid_path=squid
3+
cache_dir=/var/spool/squid
4+
squid_conf=/etc/squid/squid.conf
5+
pid_file=/run/squid.pid
6+
cachemgr_path=/usr/*/squid/cachemgr.cgi
7+
squid_start=service squid start
8+
squid_stop=service squid stop
9+
calamaris=calamaris
10+
cal_max=50000
11+
cal_args=-aw
12+
crypt_conf=0
13+
sort_conf=0
14+
sync_create=0
15+
sync_delete=0
16+
sync_modify=1
17+
cal_fmt=w
18+
cal_all=1
19+
restart_pos=0
20+
squidclient=squidclient

‎syslog-ng/config-Amazon-Linux-2-ALL

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
lines=20
2+
compressed=1
3+
syslogng_conf=/etc/syslog-ng/syslog-ng.conf
4+
syslogng_cmd=syslog-ng
5+
pid_file=/run/syslog-ng.pid
6+
start_cmd=systemctl start syslog-ng
7+
stop_cmd=systemctl stop syslog-ng

‎xinetd/config-Amazon-Linux-2-ALL

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
xinetd_conf=/etc/xinetd.conf
2+
protocols_file=/etc/protocols
3+
pid_file=/run/xinetd.pid
4+
start_cmd=systemctl start xinetd
5+
add_dir=/etc/xinetd.d
6+
lookup_servs=1

0 commit comments

Comments
 (0)
Please sign in to comment.