On Mon, Feb 27, 2012 at 4:17 PM, Mohamed Lrhazi <[email protected]> wrote:
> From my ENC, I return something like, for a given node:
>
> nfs_mounts:
> - [/data, fas3319-518.example.com:/vol/crddb_data/test]
>
> and in my manifests I added:
>
> define mount_nfs_shares() {
> $mount_point = $name[0]
> $mount_device = $name[1]
>
> notice("mount_point: ",$mount_point)
> notice("mount_device: ",$mount_device)
>
> file{ $mout_point: ensure => directory }
> mount { $mount_point:
> device => $mount_device,
> name => $mount_point,
> require => File[$mount_point],
> }
> }
> mount_nfs_shares { $nfs_mounts: }
>
> This results in error:
>
>
> Feb 27 16:10:07 pirates puppet-master[16073]: [daemon.err] Could not
> find node 'nodename.example.com'; cannot compile
>
The first thing we need to do is resolve this error. What do you get when
you pass 'nodename.example.com' to your external node script? What exit
code do you get?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.