You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# grep -E '(nfs-kernel-server|reload_nfs_srv)' report.txt
==> vagrant: Debug: /Package[nfs-kernel-server]: Provider apt does not support features virtual_packages; not managing attribute allow_virtual
==> vagrant: Debug: /Stage[main]/Nfs::Server::Debian/Exec[reload_nfs_srv]/require: requires Package[nfs-kernel-server]
==> vagrant: Debug: /Stage[main]/Nfs::Server::Debian/Concat[/etc/exports]/notify: subscribes to Exec[reload_nfs_srv]
==> vagrant: Debug: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n' nfs-kernel-server'
==> vagrant: Debug: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install nfs-kernel-server'
==> vagrant: Notice: /Stage[main]/Nfs::Server::Debian/Package[nfs-kernel-server]/ensure: ensure changed 'purged' to 'present'
==> vagrant: Debug: /Package[nfs-kernel-server]: The container Class[Nfs::Server::Debian] will propagate my refresh event
==> vagrant: Debug: Executing '/etc/init.d/nfs-kernel-server status'
==> vagrant: Debug: Executing '/etc/init.d/nfs-kernel-server start'
==> vagrant: Notice: /Stage[main]/Nfs::Server::Debian/Service[nfs-kernel-server]/ensure: ensure changed 'stopped' to 'running'
==> vagrant: Debug: /Stage[main]/Nfs::Server::Debian/Service[nfs-kernel-server]: The container Class[Nfs::Server::Debian] will propagate my refresh event
==> vagrant: Info: /Stage[main]/Nfs::Server::Debian/Service[nfs-kernel-server]: Unscheduling refresh on Service[nfs-kernel-server]
==> vagrant: Info: Concat[/etc/exports]: Scheduling refresh of Exec[reload_nfs_srv]
==> vagrant: Debug: Exec[reload_nfs_srv](provider=posix): Executing check '/etc/init.d/nfs-kernel-server status'
==> vagrant: Debug: Executing '/etc/init.d/nfs-kernel-server status'
==> vagrant: Debug: /Stage[main]/Nfs::Server::Debian/Exec[reload_nfs_srv]/onlyif: nfsd not running
==> vagrant: Notice: /Stage[main]/Nfs::Server::Debian/Exec[reload_nfs_srv]: Triggered 'refresh' from 1 events
==> vagrant: Debug: /Stage[main]/Nfs::Server::Debian/Exec[reload_nfs_srv]: The container Class[Nfs::Server::Debian] will propagate my refresh event
With words, the Package is installed, the service tried to start without success, then the Service tried to start again, then we pushed a Config file and we tried to Reload a service not started. Finally, the service is never started with the right config file.
Hi,
We are using your module under debian 7.
When you installed the package nfs-kernel-server, a empty file /etc/exports is created (not really empty but there is only comments).
Just after the installation, Debian tried to start the service but it failed :
If the file /etc/exports is empty it can't start the process.
Now with puppet.
This is a part of the code we are using :
and you can read below a part of the report
With words, the Package is installed, the service tried to start without success, then the Service tried to start again, then we pushed a Config file and we tried to Reload a service not started. Finally, the service is never started with the right config file.
This patch solve my problem :
Before creating a pull request, i would like to check with you if I didn't forget anything.
Thomas
The text was updated successfully, but these errors were encountered: