Skip to content

require file? #1

@TJM

Description

@TJM

On an AIX 7.1 TL4 system, with the puppet code:

include fsutil

... and hieradata:

fsutil::nfs_mounts:
  /mnt/pkg_repo: server.sub.tld:/tmp/pkg

... we got the following error:

Info: Applying configuration version '4269206d076f1713192ecacfc60bcbb5b02184ee'
Notice: /Stage[main]/Fsutil/Fsutil::Mount_nfs_hash[fsutil_nfs_mounts]/Fsutil::Mount_nfs[/mnt/pkg_repo]/Mount[/mnt/pkg_repo]/ensure: defined 'ensure' as 'mounted'
Info: Computing checksum on file /etc/filesystems
Error: /Stage[main]/Fsutil/Fsutil::Mount_nfs_hash[fsutil_nfs_mounts]/Fsutil::Mount_nfs[/mnt/pkg_repo]/Mount[/mnt/pkg_repo]: Could not evaluate: Execution of '/usr/sbin/mount /mnt/pkg_repo' returned 1: nfsmnthelp: invalid option defaults ignored
mount: giving up on:
        server.sub.tld:/tmp/pkg
vmount: No such file or directory
Notice: /Stage[main]/Fsutil/Fsutil::Mount_nfs_hash[fsutil_nfs_mounts]/Fsutil::Mount_nfs[/mnt/pkg_repo]/Fsutil::Mkmount[/mnt/pkg_repo]/File[/mnt/pkg_repo]/ensure: created
Info: Fsutil::Mount_nfs[/mnt/pkg_repo]: Unscheduling all events on Fsutil::Mount_nfs[/mnt/pkg_repo]
Notice: Applied catalog in 3.50 seconds

Notice how the Mount[/mnt/pkg_repo] came before the Fsutil::Mkmount[/mnt/pkg_repo]/File[/mnt/pkg_repo] ... that seems like not such a good idea.

In addition to that, it also complained about: nfsmnthelp: invalid option defaults ignored.

~tommy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions