Read more

Puppet: Could not evaluate: Field 'device' is required

Kim Klotz
December 29, 2016Software engineer at makandra GmbH

If you get an error like this for a puppet mount:

$ > puppet agent --test 
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for example.makandra.de
Info: Applying configuration version '1483001792'
Info: Computing checksum on file /etc/fstab
Info: FileBucket got a duplicate file {md5}34b9adc036cf1dbd2392df84f921547d
Notice: /Stage[main]/Foobar/Swap_file::Files[default]/Mount[/var/swapfile]/ensure: defined 'ensure' as 'defined'
Error: /Stage[main]/Foobar/Swap_file::Files[default]/Mount[/var/swapfile]: Could not evaluate: Field 'device' is required
Notice: Finished catalog run in 12.39 seconds
Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

it's possible there is a "problem" in your /etc/fstab. I could fix it with rewriting the /etc/fstab.

Posted by Kim Klotz to makandra dev (2016-12-29 12:45)