diff --git a/goss/s-fog.yaml b/goss/s-fog.yaml index 84bd9e7..5cd2f73 100644 --- a/goss/s-fog.yaml +++ b/goss/s-fog.yaml @@ -1,68 +1,77 @@ file: - /tftpboot/default.ipxe: - exists: true - mode: "0644" - owner: root - group: root - filetype: file - contains: [] + /tftpboot/default.ipxe: + exists: true + mode: "0644" + owner: root + group: root + filetype: file + contains: [] + contents: null package: - apache2: - installed: true - versions: - - 2.4.57-2 - isc-dhcp-server: - installed: true - versions: - - 4.4.3-P1-2 - mariadb-server: - installed: true - versions: - - 1:10.11.4-1~deb12u1 - tftpd-hpa: - installed: true - versions: - - 5.2+20150808-1.4 + apache2: + installed: true + versions: + - 2.4.56-1~deb11u2 + isc-dhcp-server: + installed: true + versions: + - 4.4.1-2.3+deb11u2 + mariadb-server: + installed: true + versions: + - 1:10.5.21-0+deb11u1 + tftpd-hpa: + installed: true + versions: + - 5.2+20150808-1.2 port: - tcp:80: - listening: true - ip: - - 0.0.0.0 - tcp:443: - listening: true - ip: - - 0.0.0.0 + tcp:80: + listening: true + ip: + - 0.0.0.0 + tcp:443: + listening: true + ip: + - 0.0.0.0 + udp:67: + listening: true + ip: + - 0.0.0.0 + udp:69: + listening: true + ip: + - 0.0.0.0 service: - apache2: - enabled: true - running: true - isc-dhcp-server: - enabled: true - running: true - nfs-server: - enabled: true - running: true - tftpd-hpa: - enabled: true - running: true + apache2: + enabled: true + running: true + isc-dhcp-server: + enabled: true + running: true + nfs-server: + enabled: true + running: true + tftpd-hpa: + enabled: true + running: true command: - ping -c 4 192.168.99.99: - exit-status: 0 - stdout: - - 0% packet loss - stderr: [] - timeout: 10000 - ping -c 4 google.fr: - exit-status: 0 - stdout: - - 0% packet loss - stderr: [] - timeout: 10000 + ping -c 4 192.168.99.99: + exit-status: 0 + stdout: + - 0% packet loss + stderr: [] + timeout: 10000 + ping -c 4 google.fr: + exit-status: 0 + stdout: + - 0% packet loss + stderr: [] + timeout: 10000 process: - apache2: - running: true + apache2: + running: true interface: - enp0s9: - exists: true - addrs: - - 172.16.64.16/24 + enp0s9: + exists: true + addrs: + - 172.16.64.16/24 diff --git a/roles/fog/files/fogsettings b/roles/fog/files/fogsettings index 29271b7..781f290 100644 --- a/roles/fog/files/fogsettings +++ b/roles/fog/files/fogsettings @@ -4,7 +4,7 @@ ## https://wiki.fogproject.org/wiki/index.php?title=.fogsettings ## Version: 1.5.10 ## Install time: Mon Jan 15 23:16:31 2024 -ipaddress='172.16.0.8' +ipaddress='172.16.0.16' copybackold='0' interface='enp0s9' submask='255.255.255.0' @@ -34,11 +34,12 @@ caCreated='yes' httpproto='https' startrange='172.16.64.120' endrange='172.16.64.140' +bootfilename='undionly.kpxe' packages='apache2 bc build-essential cpp curl g++ gawk gcc genisoimage gettext git gzip htmldoc isc-dhcp-server isolinux lftp libapache2-mod-php libc6 libcurl4 liblzma-dev m4 mariadb-client mariadb-server net-tools nfs-kernel-server openssh-server php php-bcmath php-cli php-curl php-fpm php-gd php-intl php-json php-ldap php-mbstring php-mysql tar tftp-hpa tftpd-hpa unzip vsftpd wget zlib1g' noTftpBuild='' tftpAdvOpts='' sslpath='/opt/fog/snapins/ssl/' -backupPath='/home/' +#backupPath='/home/' armsupport='0' php_ver='7.4' sslprivkey='/opt/fog/snapins/ssl//.srvprivate.key'